/bionic/libc/kernel/common/linux/netfilter/ |
H A D | xt_helper.h | 5 *** of the same name, to make information necessary for userspace to 17 char name[30]; member in struct:xt_helper_info
|
/bionic/linker/ |
H A D | linker_environ.h | 41 extern void linker_env_unset(const char* name); 44 /* Returns the value of environment variable 'name' if defined and not 48 extern const char* linker_env_get(const char* name);
|
H A D | linker_environ.c | 102 * starts with '<name>=', and if so return the address of the 106 env_match(char* envstr, const char* name) argument 110 while (envstr[cnt] == name[cnt] && name[cnt] != '\0') 113 if (name[cnt] == '\0' && envstr[cnt] == '=') 122 linker_env_get(const char* name) argument 126 if (name == NULL || name[0] == '\0') 130 char* val = env_match(readp[0], name); 143 linker_env_unset(const char* name) argument [all...] |
H A D | linker.c | 129 #define HOODLUM(name, ret, ...) \ 130 ret name __VA_ARGS__ \ 132 char errstr[] = "ERROR: " #name " called from the dynamic linker!\n"; \ 175 map->l_name = (char*) info->name; 254 static soinfo *alloc_info(const char *name) argument 258 if(strlen(name) >= SOINFO_NAME_LEN) { 259 DL_ERR("%5d library name %s too long", pid, name); 268 DL_ERR("%5d too many libraries when loading %s", pid, name); 280 strlcpy((char*) si->name, nam 392 _elf_lookup(soinfo *si, unsigned hash, const char *name) argument 425 const unsigned char *name = (const unsigned char *) _name; local 438 _do_lookup(soinfo *si, const char *name, unsigned *base) argument 512 lookup_in_library(soinfo *si, const char *name) argument 519 lookup(const char *name, soinfo **found, soinfo *start) argument 604 _open_lib(const char *name) argument 617 open_library(const char *name) argument 666 is_prelinked(int fd, const char *name) argument 700 verify_elf_object(void *base, const char *name) argument 737 get_lib_extents(int fd, const char *name, void *__hdr, unsigned *total_sz) argument 1080 load_library(const char *name) argument 1180 find_library(const char *name) argument [all...] |
/bionic/libc/private/ |
H A D | thread_private.h | 26 * Use WEAK_NAME(n) to get a libc-private name for n (_weak_n), 30 #define WEAK_NAME(name) __CONCAT(_weak_,name) 31 #define WEAK_ALIAS(name) __weak_alias(name, WEAK_NAME(name)) 33 #define WEAK_PROTOTYPE(name) __typeof__(name) WEAK_NAME(name) 35 #define WEAK_PROTOTYPE(name) /* typeo [all...] |
/bionic/libc/kernel/common/linux/ |
H A D | notifier.h | 5 *** of the same name, to make information necessary for userspace to 38 #define ATOMIC_INIT_NOTIFIER_HEAD(name) do { spin_lock_init(&(name)->lock); (name)->head = NULL; } while (0) 39 #define BLOCKING_INIT_NOTIFIER_HEAD(name) do { init_rwsem(&(name)->rwsem); (name)->head = NULL; } while (0) 40 #define RAW_INIT_NOTIFIER_HEAD(name) do { (name)->head = NULL; } while (0) 42 #define ATOMIC_NOTIFIER_INIT(name) { [all...] |
H A D | moduleparam.h | 5 *** of the same name, to make information necessary for userspace to 28 #define __MODULE_INFO(tag, name, info) static const char __module_cat(name,__LINE__)[] __attribute_used__ __attribute__((section(".modinfo"),unused)) = __stringify(tag) "=" info 30 #define __MODULE_INFO(tag, name, info) 32 #define __MODULE_PARM_TYPE(name, _type) __MODULE_INFO(parmtype, name##type, #name ":" _type) 41 const char *name; member in struct:kernel_param 63 #define __module_param_call(prefix, name, set, get, arg, perm) static char __param_str_##name[] [all...] |
H A D | linkage.h | 5 *** of the same name, to make information necessary for userspace to 42 #define ENTRY(name) .globl name; ALIGN; name: 45 #define KPROBE_ENTRY(name) .section .kprobes.text, "ax"; ENTRY(name) 48 #define END(name) .size name, .-name 52 #define ENDPROC(name) [all...] |
H A D | xattr.h | 5 *** of the same name, to make information necessary for userspace to 36 const char *name, size_t name_len); 37 int (*get)(struct inode *inode, const char *name, void *buffer, 39 int (*set)(struct inode *inode, const char *name, const void *buffer,
|
H A D | sysfs.h | 5 *** of the same name, to make information necessary for userspace to 21 const char * name; member in struct:attribute 27 const char * name; member in struct:attribute_group 31 #define __ATTR(_name,_mode,_show,_store) { .attr = {.name = __stringify(_name), .mode = _mode, .owner = THIS_MODULE }, .show = _show, .store = _store, } 33 #define __ATTR_RO(_name) { .attr = { .name = __stringify(_name), .mode = 0444, .owner = THIS_MODULE }, .show = _name##_show, } 35 #define __ATTR_NULL { .attr = { .name = NULL } } 37 #define attr_name(_attr) (_attr).attr.name
|
/bionic/libc/kernel/arch-arm/asm/ |
H A D | semaphore.h | 5 *** of the same name, to make information necessary for userspace to 29 #define __SEMAPHORE_INIT(name, cnt) { .count = ATOMIC_INIT(cnt), .wait = __WAIT_QUEUE_HEAD_INITIALIZER((name).wait), } 31 #define __DECLARE_SEMAPHORE_GENERIC(name,count) struct semaphore name = __SEMAPHORE_INIT(name,count) 33 #define DECLARE_MUTEX(name) __DECLARE_SEMAPHORE_GENERIC(name,1) 34 #define DECLARE_MUTEX_LOCKED(name) __DECLARE_SEMAPHORE_GENERIC(name, [all...] |
/bionic/libc/regex/ |
H A D | cclass.h | 19 * 3. Neither the name of the University nor the names of its contributors 40 char *name; member in struct:cclass
|
H A D | cname.h | 19 * 3. Neither the name of the University nor the names of its contributors 38 /* character-name table */ 40 char *name; member in struct:cname
|
/bionic/libc/stdlib/ |
H A D | getenv.c | 14 * 3. Neither the name of the University nor the names of its contributors 34 char *__findenv(const char *name, int *offset); 38 * Returns pointer to value associated with name, if any, else NULL. 39 * Sets offset to be the offset of the name/value combination in the 41 * Explicitly removes '=' in argument name. 46 __findenv(const char *name, int *offset) argument 53 if (name == NULL || environ == NULL) 55 for (np = name; *np && *np != '='; ++np) 57 len = np - name; 59 for (np = name, 75 getenv(const char *name) argument [all...] |
H A D | setenv.c | 14 * 3. Neither the name of the University nor the names of its contributors 34 char *__findenv(const char *name, int *offset); 40 * Set the value of the environmental variable "name" to be 44 setenv(const char *name, const char *value, int rewrite) argument 53 if ((C = __findenv(name, &offset))) { /* find if already exists */ 77 for (C = (char *)name; *C && *C != '='; ++C) 78 ; /* no `=' in name */ 79 if (!(environ[offset] = /* name + `=' + value */ 80 malloc((size_t)((int)(C - name) + l_value + 2)))) 82 for (C = environ[offset]; (*C = *name 94 unsetenv(const char *name) argument [all...] |
/bionic/libc/unistd/ |
H A D | gethostname.c | 35 struct utsname name; local 38 result = uname(&name); 41 int namelen = strlen(name.nodename); 47 memcpy( buff, name.nodename, namelen+1 );
|
H A D | exec.c | 14 * 3. Neither the name of the University nor the names of its contributors 48 execl(const char *name, const char *arg, ...) argument 70 return (execve(name, argv, environ)); 74 execle(const char *name, const char *arg, ...) argument 97 return (execve(name, argv, envp)); 101 execlp(const char *name, const char *arg, ...) argument 123 return (execvp(name, argv)); 127 execv(const char *name, char * const *argv) argument 129 (void)execve(name, argv, environ); 134 execvp(const char *name, cha argument [all...] |
/bionic/libc/include/sys/ |
H A D | system_properties.h | 41 /* Look up a system property by name, copying its value and a 47 int __system_property_get(const char *name, char *value); 49 /* Set a system property by name. 53 /* Return a pointer to the system property named name, if it 62 const prop_info *__system_property_find(const char *name); 69 ** If name is nonzero, up to PROP_NAME_MAX bytes will be 70 ** copied into the provided name pointer. The name will 73 int __system_property_read(const prop_info *pi, char *name, char *value);
|
/bionic/libc/stdio/ |
H A D | tempnam.c | 14 * 3. Neither the name of the University nor the names of its contributors 48 char *f, *name; local 50 if (!(name = malloc(MAXPATHLEN))) 57 (void)snprintf(name, MAXPATHLEN, "%s%s%sXXXXXXXXXX", f, 59 if ((f = _mktemp(name))) 64 (void)snprintf(name, MAXPATHLEN, "%s%s%sXXXXXXXXXX", f, 66 if ((f = _mktemp(name))) 71 (void)snprintf(name, MAXPATHLEN, "%s%sXXXXXXXXX", f, pfx); 72 if ((f = _mktemp(name))) 76 (void)snprintf(name, MAXPATHLE [all...] |
/bionic/libc/kernel/arch-x86/asm/xen/ |
H A D | hypercall.h | 5 *** of the same name, to make information necessary for userspace to 22 #define _hypercall0(type, name) ({ long __res; asm volatile ( "call %[call]" : "=a" (__res) : [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__res; }) 24 #define _hypercall1(type, name, a1) ({ long __res, __ign1; asm volatile ( "call %[call]" : "=a" (__res), "=b" (__ign1) : "1" ((long)(a1)), [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__res; }) 26 #define _hypercall2(type, name, a1, a2) ({ long __res, __ign1, __ign2; asm volatile ( "call %[call]" : "=a" (__res), "=b" (__ign1), "=c" (__ign2) : "1" ((long)(a1)), "2" ((long)(a2)), [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__res; }) 28 #define _hypercall3(type, name, a1, a2, a3) ({ long __res, __ign1, __ign2, __ign3; asm volatile ( "call %[call]" : "=a" (__res), "=b" (__ign1), "=c" (__ign2), "=d" (__ign3) : "1" ((long)(a1)), "2" ((long)(a2)), "3" ((long)(a3)), [call] "m" (hypercall_page[__HYPERVISOR_##name]) : "memory" ); (type)__res; }) 30 #define _hypercall4(type, name, a [all...] |
/bionic/libc/kernel/common/asm-generic/ |
H A D | percpu.h | 5 *** of the same name, to make information necessary for userspace to 18 #define DEFINE_PER_CPU(type, name) __typeof__(type) per_cpu__##name 24 #define DECLARE_PER_CPU(type, name) extern __typeof__(type) per_cpu__##name
|
/bionic/libc/netbsd/net/ |
H A D | getservbyname.c | 34 getservbyname(const char *name, const char *proto) argument 39 if (rs == NULL || proto == NULL || name == NULL) { 49 if ( !strcmp( s->s_name, name ) && !strcmp( s->s_proto, proto ) )
|
H A D | getservbyname_r.c | 15 * 3. Neither the name of the University nor the names of its contributors 49 getservbyname_r(const char *name, const char *proto, struct servent *sp, argument 55 assert(name != NULL); 60 if (strcmp(name, s->s_name) == 0) 63 if (strcmp(name, *cp) == 0)
|
/bionic/libc/kernel/common/linux/raid/ |
H A D | xor.h | 5 *** of the same name, to make information necessary for userspace to 21 const char *name; member in struct:xor_block_template
|
/bionic/libc/kernel/common/linux/mtd/ |
H A D | partitions.h | 5 *** of the same name, to make information necessary for userspace to 18 char *name; member in struct:mtd_partition 33 const char *name; member in struct:mtd_part_parser
|