Searched refs:name (Results 1 - 25 of 177) sorted by relevance

12345678

/bionic/libc/kernel/uapi/linux/netfilter/
H A Dxt_helper.h5 *** of the same name, to make information necessary for userspace to
24 char name[30]; member in struct:xt_helper_info
H A Dxt_nfacct.h5 *** of the same name, to make information necessary for userspace to
25 char name[NFACCT_NAME_MAX]; member in struct:xt_nfacct_match_info
H A Dxt_RATEEST.h5 *** of the same name, to make information necessary for userspace to
24 char name[IFNAMSIZ]; member in struct:xt_rateest_target_info
/bionic/libc/private/
H A DThreadLocalBuffer.h42 #define GLOBAL_INIT_THREAD_LOCAL_BUFFER(name) \
43 static pthread_key_t __bionic_tls_ ## name ## _key; \
44 static void __bionic_tls_ ## name ## _key_destroy(void* buffer) { \
47 __attribute__((constructor)) static void __bionic_tls_ ## name ## _key_init() { \
48 pthread_key_create(&__bionic_tls_ ## name ## _key, __bionic_tls_ ## name ## _key_destroy); \
52 #define LOCAL_INIT_THREAD_LOCAL_BUFFER(type, name, byte_count) \
53 type name ## _tls_buffer = \
54 reinterpret_cast<type>(pthread_getspecific(__bionic_tls_ ## name ## _key)); \
55 if (name ## _tls_buffe
[all...]
H A Dthread_private.h22 #define __THREAD_NAME(name) __CONCAT(_thread_tagname_,name)
29 #define _THREAD_PRIVATE_MUTEX(name) \
30 static struct __thread_private_tag_t __THREAD_NAME(name) = { PTHREAD_MUTEX_INITIALIZER, -1 }
31 #define _THREAD_PRIVATE_MUTEX_LOCK(name) \
32 pthread_mutex_lock( &__THREAD_NAME(name)._private_lock )
33 #define _THREAD_PRIVATE_MUTEX_UNLOCK(name) \
34 pthread_mutex_unlock( &__THREAD_NAME(name)._private_lock )
/bionic/libc/upstream-netbsd/lib/libc/regex/
H A Dcclass.h18 * 3. Neither the name of the University nor the names of its contributors
55 * 4. Neither the name of the University nor the names of its contributors
76 const char *name; member in struct:cclass
H A Dcname.h18 * 3. Neither the name of the University nor the names of its contributors
55 * 4. Neither the name of the University nor the names of its contributors
74 /* character-name table */
76 const char *name; member in struct:cname
/bionic/libc/include/sys/
H A Dxattr.h38 extern int fsetxattr(int fd, const char *name, const void *value, size_t size, int flags);
39 extern int setxattr(const char *path, const char *name, const void *value, size_t size, int flags);
40 extern int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags);
42 extern ssize_t fgetxattr(int fd, const char *name, void *value, size_t size);
43 extern ssize_t getxattr(const char *path, const char *name, void *value, size_t size);
44 extern ssize_t lgetxattr(const char *path, const char *name, void *value, size_t size);
50 extern int removexattr(const char *path, const char *name);
51 extern int lremovexattr(const char *path, const char *name);
52 extern int fremovexattr(int fd, const char *name);
H A Dsystem_properties.h41 /* 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);
H A D_system_properties.h56 char name[PROP_NAME_MAX]; member in struct:prop_msg
67 ** - once allocated, a prop_info's name will not change
108 int __system_property_add(const char *name, unsigned int namelen,
136 const prop_info *__system_property_find_compat(const char *name);
137 int __system_property_read_compat(const prop_info *pi, char *name, char *value);
/bionic/libc/upstream-openbsd/lib/libc/stdlib/
H A Dgetenv.c14 * 3. Neither the name of the University nor the names of its contributors
34 char *__findenv(const char *name, int len, int *offset);
38 * Returns pointer to value associated with name, if any, else NULL.
40 * Sets offset to be the offset of the name/value combination in the
42 * Explicitly removes '=' in argument name.
47 __findenv(const char *name, int len, int *offset) argument
54 if (name == NULL || environ == NULL)
57 for (np = name, i = len; i && *cp; i--)
70 * Returns ptr to value associated with name, if any, else NULL.
73 getenv(const char *name) argument
[all...]
H A Dsetenv.c14 * 3. Neither the name of the University nor the names of its contributors
35 char *__findenv(const char *name, int len, int *offset);
42 * Add a name=value string directly to the environmental, replacing
87 * Set the value of the environmental variable "name" to be
91 setenv(const char *name, const char *value, int rewrite) argument
97 if (!name || !*name) {
101 for (np = name; *np && *np != '='; ++np)
105 return (-1); /* has `=' in name */
109 if ((C = __findenv(name, (in
156 unsetenv(const char *name) argument
[all...]
/bionic/libc/bionic/
H A Dgethostname.c35 struct utsname name; local
38 result = uname(&name);
41 int namelen = strlen(name.nodename);
47 memcpy( buff, name.nodename, namelen+1 );
H A Dsystem_properties_compat.c62 char name[PROP_NAME_MAX]; member in struct:prop_info_compat
71 __LIBC_HIDDEN__ const prop_info *__system_property_find_compat(const char *name) argument
76 unsigned len = strlen(name);
89 if(memcmp(name, pi->name, len)) continue;
97 __LIBC_HIDDEN__ int __system_property_read_compat(const prop_info *_pi, char *name, char *value) argument
111 if(name != 0) {
112 strcpy(name, pi->name);
/bionic/linker/
H A Dlinker_environ.h37 // Returns the value of environment variable 'name' if defined and not
39 extern const char* linker_env_get(const char* name);
H A Dlinker_environ.cpp60 // starts with '<name>=', and if so return the address of the
62 static const char* env_match(const char* envstr, const char* name) { argument
65 while (envstr[i] == name[i] && name[i] != '\0') {
69 if (name[i] == '\0' && envstr[i] == '=') {
76 static bool __is_valid_environment_variable(const char* name) { argument
81 if (name == NULL) {
89 if (name[pos] == '\0') {
92 if (name[pos] == '=' && first_equal_pos < 0) {
111 static bool __is_unsafe_environment_variable(const char* name) { argument
174 linker_env_get(const char* name) argument
[all...]
/bionic/libc/upstream-openbsd/lib/libc/stdio/
H A Dtempnam.c14 * 3. Neither the name of the University nor the names of its contributors
48 char *f, *name; local
50 if (!(name = malloc(PATH_MAX)))
57 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f,
63 if ((f = _mktemp(name)))
69 len = snprintf(name, PATH_MAX, "%s%s%sXXXXXXXXXX", f,
75 if ((f = _mktemp(name)))
80 len = snprintf(name, PATH_MAX, "%s%sXXXXXXXXX", f, pfx);
85 if ((f = _mktemp(name)))
89 len = snprintf(name, PATH_MA
[all...]
/bionic/libc/arch-x86_64/string/
H A Dsse2-strcat-slm.S15 * Neither the name of Intel Corporation nor the names of its contributors
48 # define ENTRY(name) \
49 .type name, @function; \
50 .globl name; \
52 name: \ label
57 # define END(name) \
59 .size name, .-name
/bionic/benchmarks/
H A Dbenchmark.h25 Benchmark(const char* name, void (*fn)(int)) { argument
26 Register(name, fn, NULL);
29 Benchmark(const char* name, void (*fn_range)(int, int)) { argument
30 Register(name, NULL, fn_range);
48 void Register(const char* name, void (*fn)(int), void (*fn_range)(int, int));
/bionic/libc/dns/net/
H A Dgetservbyname.c34 getservbyname(const char *name, const char *proto) argument
38 if (rs == NULL || proto == NULL || name == NULL) {
48 if ( !strcmp( s->s_name, name ) && !strcmp( s->s_proto, proto ) )
/bionic/libc/upstream-openbsd/lib/libc/gen/
H A Dexec.c14 * 3. Neither the name of the University nor the names of its contributors
46 execl(const char *name, const char *arg, ...) argument
68 return (execve(name, argv, environ));
72 execle(const char *name, const char *arg, ...) argument
95 return (execve(name, argv, envp));
99 execlp(const char *name, const char *arg, ...) argument
121 return (execvp(name, argv));
125 execv(const char *name, char *const *argv) argument
127 (void)execve(name, argv, environ);
132 execvpe(const char *name, cha argument
247 execvp(const char *name, char *const *argv) argument
[all...]
/bionic/libc/kernel/uapi/linux/
H A Dreiserfs_xattr.h5 *** of the same name, to make information necessary for userspace to
30 const char *name; member in struct:reiserfs_security_handle
H A Dsw_sync.h5 *** of the same name, to make information necessary for userspace to
25 char name[32]; member in struct:sw_sync_create_fence_data
/bionic/libc/arch-x86/atom/string/
H A Dssse3-wcscat-atom.S15 * Neither the name of Intel Corporation nor the names of its contributors
56 # define ENTRY(name) \
57 .type name, @function; \
58 .globl name; \
60 name: \ label
65 # define END(name) \
67 .size name, .-name
/bionic/libc/dns/resolv/
H A Dres_query.c19 * 4. Neither the name of the University nor the names of its contributors
42 * the name of Digital Equipment Corporation not be used in advertising or
129 const char *name, /* domain name */
146 printf(";; res_query(%s, %d, %d)\n", name, class, type);
149 n = res_nmkquery(statp, QUERY, name, class, type, NULL, 0, NULL,
223 const char *name, /* domain name */
241 for (cp = name; *cp != '\0'; cp++)
244 if (cp > name
128 res_nquery(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument
222 res_nsearch(res_state statp, const char *name, int class, int type, u_char *answer, int anslen) argument
378 res_nquerydomain(res_state statp, const char *name, const char *domain, int class, int type, u_char *answer, int anslen) argument
423 res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) argument
[all...]

Completed in 482 milliseconds

12345678