code
string
repo_name
string
path
string
language
string
license
string
size
int64
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/basename.c
C
asf20
1,831
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/dirname.c
C
asf20
1,830
/* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This software is provided ``as is'', and comes with no warranties * o...
zysc8313-
bionic/bionicmod/libc/bionic/drand48.c
C
asf20
582
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/pututline.c
C
asf20
2,120
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/semaphore.c
C
asf20
4,738
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/__errno.c
C
asf20
1,534
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/if_nametoindex.c
C
asf20
2,106
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/thread_atexit.c
C
asf20
1,738
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/malloc_leak.c
C
asf20
27,375
/* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This software is provided ``as is'', and comes with no warranties * o...
zysc8313-
bionic/bionicmod/libc/bionic/rand48.h
C
asf20
876
/* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This software is provided ``as is'', and comes with no warranties * o...
zysc8313-
bionic/bionicmod/libc/bionic/_rand48.c
C
asf20
1,377
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/libc_init_static.c
C
asf20
3,240
/* Debugging TIME_64_DEBUG Define if you want debugging messages */ /* #define TIME_64_DEBUG */ /* INT_64_T A 64 bit integer type to use to store time and others. Must be defined. */ #define INT_64_T long long /* USE_TM64 Should we use a 64 bit safe replacement for tm? This will le...
zysc8313-
bionic/bionicmod/libc/bionic/time64_config.h
C
asf20
1,758
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/dirname_r.c
C
asf20
2,622
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/pthread.c
C
asf20
46,763
/* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This software is provided ``as is'', and comes with no warranties * o...
zysc8313-
bionic/bionicmod/libc/bionic/erand48.c
C
asf20
668
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * n...
zysc8313-
bionic/bionicmod/libc/bionic/ptrace.c
C
asf20
2,322
/* $NetBSD: sha1.c,v 1.1 2005/12/20 20:29:40 christos Exp $ */ /* $OpenBSD: sha1.c,v 1.9 1997/07/23 21:12:32 kstailey Exp $ */ /* * SHA-1 in C * By Steve Reid <steve@edmweb.com> * 100% Public Domain * * Test Vectors (from FIPS PUB 180-1) * "abc" * A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D * "abcdbcdecdefd...
zysc8313-
bionic/bionicmod/libc/bionic/sha1.c
C
asf20
9,045
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/__set_errno.c
C
asf20
1,971
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/pthread_internal.h
C
asf20
3,918
/*- * Copyright (c) 2002 The NetBSD Foundation, Inc. * All rights reserved. * * This code is derived from software contributed to The NetBSD Foundation * by Christos Zoulas. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following condition...
zysc8313-
bionic/bionicmod/libc/bionic/utmp.c
C
asf20
2,776
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/pthread-timers.c
C
asf20
19,138
/* Default header file for malloc-2.8.x, written by Doug Lea and released to the public domain, as explained at http://creativecommons.org/licenses/publicdomain. last update: Mon Aug 15 08:55:52 2005 Doug Lea (dl at gee) This header is for ANSI C/C++ only. You can set any of the following #defines be...
zysc8313-
bionic/bionicmod/libc/bionic/dlmalloc.h
C
asf20
23,559
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/logd_write.c
C
asf20
4,578
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/libc_init_common.h
C
asf20
1,701
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/if_indextoname.c
C
asf20
2,190
/* * Copyright (c) 1994 * The Regents of the University of California. All rights reserved. * * This code is derived from software contributed to Berkeley by * Jan-Simon Pendry. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following cond...
zysc8313-
bionic/bionicmod/libc/bionic/realpath.c
C
asf20
4,964
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/atomics_x86.c
C
asf20
2,655
/*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copy...
zysc8313-
bionic/bionicmod/libc/bionic/utime.c
C
asf20
2,187
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/libc_init_dynamic.c
C
asf20
3,919
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/ssp.c
C
asf20
3,590
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/libc_init_common.c
C
asf20
2,893
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/bionic/system_properties.c
C
asf20
4,446
LOCAL_PATH:= $(call my-dir) include $(LOCAL_PATH)/arch-$(TARGET_ARCH)/syscalls.mk # Define the common source files for all the libc instances # ========================================================= libc_common_src_files := \ $(syscall_src) \ unistd/abort.c \ unistd/alarm.c \ unistd/brk.c \ unistd/creat.c \ ...
zysc8313-
bionic/bionicmod/libc/Android.mk
Makefile
asf20
14,563
/* * Copyright (c) 1990 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * ...
zysc8313-
bionic/bionicmod/libc/stdlib/bsearch.c
C
asf20
2,845
/* $OpenBSD: setjmperr.c,v 1.5 2005/08/08 08:05:34 espie Exp $ */ /* * Copyright (c) 1980, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met...
zysc8313-
bionic/bionicmod/libc/stdlib/setjmperr.c
C
asf20
2,034
/* $OpenBSD: srand48.c,v 1.3 2005/08/08 08:05:37 espie Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This s...
zysc8313-
bionic/bionicmod/libc/stdlib/srand48.c
C
asf20
933
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/stdlib/atoll.c
C
asf20
1,503
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/stdlib/locale.c
C
asf20
1,548
/* $NetBSD: strtod.c,v 1.45.2.1 2005/04/19 13:35:54 tron Exp $ */ /**************************************************************** * * The author of this software is David M. Gay. * * Copyright (c) 1991 by AT&T. * * Permission to use, copy, modify, and distribute this software for any * purpose without fee is ...
zysc8313-
bionic/bionicmod/libc/stdlib/strtod.c
C
asf20
52,301
/* $OpenBSD: mrand48.c,v 1.3 2005/08/08 08:05:37 espie Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This s...
zysc8313-
bionic/bionicmod/libc/stdlib/mrand48.c
C
asf20
685
/* $OpenBSD: atexit.c,v 1.14 2007/09/05 20:47:47 chl Exp $ */ /* * Copyright (c) 2002 Daniel Hartmeier * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of source ...
zysc8313-
bionic/bionicmod/libc/stdlib/atexit.c
C
asf20
6,035
/* $OpenBSD: exit.c,v 1.12 2007/09/03 14:40:16 millert Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. ...
zysc8313-
bionic/bionicmod/libc/stdlib/exit.c
C
asf20
2,344
/* $OpenBSD: strtoull.c,v 1.5 2005/08/08 08:05:37 espie Exp $ */ /*- * Copyright (c) 1992 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1....
zysc8313-
bionic/bionicmod/libc/stdlib/strtoull.c
C
asf20
2,083
/* $OpenBSD: lldiv.c,v 1.1 2006/01/13 17:58:09 millert Exp $ */ /* * Copyright (c) 1990 Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. * * Redistribution and use in source and binary forms, with or without * modifi...
zysc8313-
bionic/bionicmod/libc/stdlib/lldiv.c
C
asf20
1,983
/* $OpenBSD: getenv.c,v 1.8 2005/08/08 08:05:36 espie Exp $ */ /* * Copyright (c) 1987, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
zysc8313-
bionic/bionicmod/libc/stdlib/getenv.c
C
asf20
2,705
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/stdlib/atol.c
C
asf20
1,493
/* $OpenBSD: nrand48.c,v 1.3 2005/08/08 08:05:37 espie Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This s...
zysc8313-
bionic/bionicmod/libc/stdlib/nrand48.c
C
asf20
646
/* $OpenBSD: ctype_.c,v 1.9 2005/08/08 08:05:33 espie Exp $ */ /* * Copyright (c) 1989 The Regents of the University of California. * All rights reserved. * (c) UNIX System Laboratories, Inc. * All or some portions of this file are derived from material licensed * to the University of California by American Teleph...
zysc8313-
bionic/bionicmod/libc/stdlib/ctype_.c
C
asf20
4,828
/* $OpenBSD: strtoul.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */ /* * Copyright (c) 1990 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redis...
zysc8313-
bionic/bionicmod/libc/stdlib/strtoul.c
C
asf20
3,023
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/stdlib/atoi.c
C
asf20
1,491
/* $OpenBSD: strtoll.c,v 1.6 2005/11/10 10:00:17 espie Exp $ */ /*- * Copyright (c) 1992 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. ...
zysc8313-
bionic/bionicmod/libc/stdlib/strtoll.c
C
asf20
2,043
/* $OpenBSD: qsort.c,v 1.10 2005/08/08 08:05:37 espie Exp $ */ /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
zysc8313-
bionic/bionicmod/libc/stdlib/qsort.c
C
asf20
4,772
/* $OpenBSD: seed48.c,v 1.3 2005/08/08 08:05:37 espie Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This so...
zysc8313-
bionic/bionicmod/libc/stdlib/seed48.c
C
asf20
1,059
/* $OpenBSD: setenv.c,v 1.9 2005/08/08 08:05:37 espie Exp $ */ /* * Copyright (c) 1987 Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redist...
zysc8313-
bionic/bionicmod/libc/stdlib/setenv.c
C
asf20
3,309
/* SHA-1 in C By Steve Reid <sreid@sea-to-sky.net> 100% Public Domain ----------------- Modified 7/98 By James H. Brown <jbrown@burgoyne.com> Still 100% Public Domain Corrected a problem which generated improper hash values on 16 bit machines Routine SHA1Update changed from void SHA1Update(SHA1_CTX* context, unsign...
zysc8313-
bionic/bionicmod/libc/stdlib/sha1hash.c
C
asf20
9,955
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/stdlib/strntoumax.c
C
asf20
2,847
/* $OpenBSD: tolower_.c,v 1.9 2005/08/08 08:05:34 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #define _ANSI_LIBRARY #include <ctype.h> #include <stdio.h> #include "ctype_private.h" const short _C_tolower_[1 + CTYPE_NUM_CHARS] = { EOF, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06...
zysc8313-
bionic/bionicmod/libc/stdlib/tolower_.c
C
asf20
1,979
/* $OpenBSD: jrand48.c,v 1.3 2005/08/08 08:05:36 espie Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This s...
zysc8313-
bionic/bionicmod/libc/stdlib/jrand48.c
C
asf20
639
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/stdlib/wchar.c
C
asf20
10,277
/* $OpenBSD: toupper_.c,v 1.10 2005/08/09 08:36:48 kevlo Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #define _ANSI_LIBRARY #include <ctype.h> #include <stdio.h> #include "ctype_private.h" const short _C_toupper_[1 + CTYPE_NUM_CHARS] = { EOF, 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x...
zysc8313-
bionic/bionicmod/libc/stdlib/toupper_.c
C
asf20
1,981
/* $OpenBSD: _rand48.c,v 1.3 2005/08/08 08:05:36 espie Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This s...
zysc8313-
bionic/bionicmod/libc/stdlib/_rand48.c
C
asf20
1,429
/* $OpenBSD: div.c,v 1.5 2005/08/08 08:05:36 espie Exp $ */ /* * Copyright (c) 1990 Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. * * Redistribution and use in source and binary forms, with or without * modificati...
zysc8313-
bionic/bionicmod/libc/stdlib/div.c
C
asf20
2,818
/* $OpenBSD: putenv.c,v 1.5 2005/08/08 08:05:37 espie Exp $ */ /*- * Copyright (c) 1988, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are m...
zysc8313-
bionic/bionicmod/libc/stdlib/putenv.c
C
asf20
1,971
/* $OpenBSD: strtoimax.c,v 1.1 2006/01/13 17:58:09 millert Exp $ */ /*- * Copyright (c) 1992 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
zysc8313-
bionic/bionicmod/libc/stdlib/strtoimax.c
C
asf20
5,007
/* $OpenBSD: ldiv.c,v 1.5 2005/08/08 08:05:36 espie Exp $ */ /* * Copyright (c) 1990 Regents of the University of California. * All rights reserved. * * This code is derived from software contributed to Berkeley by * Chris Torek. * * Redistribution and use in source and binary forms, with or without * modificat...
zysc8313-
bionic/bionicmod/libc/stdlib/ldiv.c
C
asf20
1,966
/* $OpenBSD: atexit.h,v 1.7 2007/09/03 14:40:16 millert Exp $ */ /* * Copyright (c) 2002 Daniel Hartmeier * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * - Redistributions of sou...
zysc8313-
bionic/bionicmod/libc/stdlib/atexit.h
C
asf20
2,026
/* $OpenBSD: strtoumax.c,v 1.1 2006/01/13 17:58:09 millert Exp $ */ /*- * Copyright (c) 1992 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
zysc8313-
bionic/bionicmod/libc/stdlib/strtoumax.c
C
asf20
3,301
/* * Copyright (C) 2008 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, t...
zysc8313-
bionic/bionicmod/libc/stdlib/strntoimax.c
C
asf20
1,573
/* $OpenBSD: strtol.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. R...
zysc8313-
bionic/bionicmod/libc/stdlib/strtol.c
C
asf20
4,188
/* $OpenBSD: assert.c,v 1.8 2005/08/08 08:05:33 espie Exp $ */ /*- * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: ...
zysc8313-
bionic/bionicmod/libc/stdlib/assert.c
C
asf20
2,200
/* $OpenBSD: lrand48.c,v 1.3 2005/08/08 08:05:36 espie Exp $ */ /* * Copyright (c) 1993 Martin Birgmeier * All rights reserved. * * You may redistribute unmodified or modified versions of this source * code provided that the above copyright notice and this and the * following conditions are retained. * * This s...
zysc8313-
bionic/bionicmod/libc/stdlib/lrand48.c
C
asf20
692
LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) ALL_PREBUILT += $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.dat $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.dat : $(LOCAL_PATH)/zoneinfo.dat | $(ACP) $(transform-prebuilt-to-target) ALL_PREBUILT += $(TARGET_OUT)/usr/share/zoneinfo/zoneinfo.idx $(TARGET_OUT)/usr/share/zon...
zysc8313-
bionic/bionicmod/libc/zoneinfo/Android.mk
Makefile
asf20
602
/* $OpenBSD: strchr.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ #define STRCHR #include "index.S"
zysc8313-
bionic/bionicmod/libc/arch-x86/string/strchr.S
Unix Assembly
asf20
97
/* $OpenBSD: memmove.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ #define MEMMOVE #include "bcopy.S"
zysc8313-
bionic/bionicmod/libc/arch-x86/string/memmove.S
Unix Assembly
asf20
99
/* $OpenBSD: strncmp.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> /* * NOTE: I've unrolled the loop eight times: large enough to make a * significant difference, and small enough not to totally trash the * cache. */ ENTR...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/strncmp.S
Unix Assembly
asf20
1,510
/* $OpenBSD: ffs.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(ffs) bsfl 4(%esp),%eax jz L1 /* ZF is set if all bits are 0 */ incl %eax /* bits numbered from 1, not 0 */ ret .align 2 L1: xorl %eax,%eax /* cle...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/fss.S
Unix Assembly
asf20
338
/* $OpenBSD: memcpy.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ #define MEMCOPY #include "bcopy.S"
zysc8313-
bionic/bionicmod/libc/arch-x86/string/memcpy.S
Unix Assembly
asf20
98
/* $OpenBSD: index.S,v 1.4 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> #ifdef STRCHR ENTRY(strchr) #else ENTRY(index) #endif movl 4(%esp),%eax movb 8(%esp),%cl .align 2,0x90 L1: movb (%eax),%dl cmpb %dl,%cl /* found char??? *...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/index.S
Unix Assembly
asf20
416
/* $OpenBSD: bcopy.S,v 1.5 2005/08/07 11:30:38 espie Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. * All rights reserved. * * This code is derived from locore.s. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/bcopy.S
Unix Assembly
asf20
2,604
/* $OpenBSD: strcat.S,v 1.8 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> #if defined(APIWARN) #APP .section .gnu.warning.strcat .ascii "warning: strcat() is almost always misused, please use strlcat()" #NO_APP #endif /* * NOTE: I...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/strcat.S
Unix Assembly
asf20
1,479
/* $OpenBSD: memcmp.S,v 1.4 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(memcmp) pushl %edi pushl %esi movl 12(%esp),%edi movl 16(%esp),%esi cld /* set compare direction forward */ movl 20(%esp),%ecx /* compare by wo...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/memcmp.S
Unix Assembly
asf20
850
/* $OpenBSD: bzero.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(bzero) pushl %edi movl 8(%esp),%edi movl 12(%esp),%edx cld /* set fill direction forward */ xorl %eax,%eax /* set fill data to 0 */ /* * if t...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/bzero.S
Unix Assembly
asf20
777
/* $OpenBSD: memset.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(memset) pushl %edi pushl %ebx movl 12(%esp),%edi movzbl 16(%esp),%eax /* unsigned char, zero extend */ movl 20(%esp),%ecx pushl %edi /* push addr...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/memset.S
Unix Assembly
asf20
1,033
/* $OpenBSD: memchr.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(memchr) pushl %edi movl 8(%esp),%edi /* string address */ movl 12(%esp),%eax /* set character to search for */ movl 16(%esp),%ecx /* set length of ...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/memchr.S
Unix Assembly
asf20
599
/* $OpenBSD: strlen.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(strlen) pushl %edi movl 8(%esp),%edi /* string address */ cld /* set search forward */ xorl %eax,%eax /* set search for null terminator */ movl ...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/strlen.S
Unix Assembly
asf20
515
/* $OpenBSD: strcmp.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> /* * NOTE: I've unrolled the loop eight times: large enough to make a * significant difference, and small enough not to totally trash the * cache. */ ENTRY...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/strcmp.S
Unix Assembly
asf20
1,274
/* $OpenBSD: rindex.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> #ifdef STRRCHR ENTRY(strrchr) #else ENTRY(rindex) #endif pushl %ebx movl 8(%esp),%edx movb 12(%esp),%cl xorl %eax,%eax /* init pointer to null */ .align 2...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/rindex.S
Unix Assembly
asf20
466
/* $OpenBSD: strcpy.S,v 1.8 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> #if defined(APIWARN) #APP .section .gnu.warning.strcpy .ascii "warning: strcpy() is almost always misused, please use strlcpy()" #NO_APP #endif /* * NOTE: I...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/strcpy.S
Unix Assembly
asf20
1,179
/* $OpenBSD: bcmp.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> ENTRY(bcmp) pushl %edi pushl %esi movl 12(%esp),%edi movl 16(%esp),%esi xorl %eax,%eax /* clear return value */ cld /* set compare direction forward */ ...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/bcmp.S
Unix Assembly
asf20
534
/* $OpenBSD: swab.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ /* * Written by J.T. Conklin <jtc@netbsd.org>. * Public domain. */ #include <machine/asm.h> /* * On the i486, this code is negligibly faster than the code generated * by gcc at about half the size. If my i386 databook is correct, it * should be consi...
zysc8313-
bionic/bionicmod/libc/arch-x86/string/swab.S
Unix Assembly
asf20
1,068
/* $OpenBSD: strrchr.S,v 1.3 2005/08/07 11:30:38 espie Exp $ */ #define STRRCHR #include "rindex.S"
zysc8313-
bionic/bionicmod/libc/arch-x86/string/strrchr.S
Unix Assembly
asf20
100
/* $OpenBSD: endian.h,v 1.14 2005/12/13 00:35:23 millert Exp $ */ /*- * Copyright (c) 1997 Niklas Hallqvist. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source ...
zysc8313-
bionic/bionicmod/libc/arch-x86/include/endian.h
C
asf20
2,433
/* $OpenBSD: internal_types.h,v 1.1 2002/04/24 21:53:11 espie Exp $ */ /* Public domain */ #ifndef _MACHINE_INTERNAL_TYPES_H_ #define _MACHINE_INTERNAL_TYPES_H_ #endif
zysc8313-
bionic/bionicmod/libc/arch-x86/include/machine/internal_types.h
C
asf20
169
/* $OpenBSD: cdefs.h,v 1.9 2005/11/24 20:46:45 deraadt Exp $ */ /* * Written by J.T. Conklin <jtc@wimsey.com> 01/17/95. * Public domain. */ #ifndef _MACHINE_CDEFS_H_ #define _MACHINE_CDEFS_H_ #if defined(lint) #define __indr_reference(sym,alias) __lint_equal__(sym,alias) #define __warn_references(sym,msg) #define...
zysc8313-
bionic/bionicmod/libc/arch-x86/include/machine/cdefs.h
C
asf20
708
/* $OpenBSD: ieee.h,v 1.2 2003/06/02 23:27:47 millert Exp $ */ /* $NetBSD: ieee.h,v 1.1 1996/09/30 16:34:25 ws Exp $ */ /* * Copyright (c) 1992, 1993 * The Regents of the University of California. All rights reserved. * * This software was developed by the Computer Systems Engineering group * at Lawrence Berkele...
zysc8313-
bionic/bionicmod/libc/arch-x86/include/machine/ieee.h
C
asf20
4,315
/* $OpenBSD: limits.h,v 1.11 2006/01/06 22:48:47 millert Exp $ */ /* $NetBSD: limits.h,v 1.11 1995/12/21 01:08:59 mycroft Exp $ */ /* * Copyright (c) 1988 The Regents of the University of California. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are ...
zysc8313-
bionic/bionicmod/libc/arch-x86/include/machine/limits.h
C
asf20
2,568
/* $OpenBSD: exec.h,v 1.9 2003/04/17 03:42:14 drahn Exp $ */ /* $NetBSD: exec.h,v 1.6 1994/10/27 04:16:05 cgd Exp $ */ /* * Copyright (c) 1993 Christopher G. Demetriou * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the foll...
zysc8313-
bionic/bionicmod/libc/arch-x86/include/machine/exec.h
C
asf20
2,048
/* $OpenBSD: setjmp.h,v 1.2 2000/08/05 22:07:32 niklas Exp $ */ /* $NetBSD: setjmp.h,v 1.1 1994/12/20 10:36:43 cgd Exp $ */ /* * machine/setjmp.h: machine dependent setjmp-related information. */ #define _JBLEN 10 /* size, in longs, of a jmp_buf */
zysc8313-
bionic/bionicmod/libc/arch-x86/include/machine/setjmp.h
C
asf20
254
/* $OpenBSD: _types.h,v 1.2 2006/01/13 17:50:06 millert Exp $ */ /*- * Copyright (c) 1990, 1993 * The Regents of the University of California. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are me...
zysc8313-
bionic/bionicmod/libc/arch-x86/include/machine/_types.h
C
asf20
4,073