Searched refs:NULL (Results 1 - 25 of 319) sorted by relevance
1234567891011>>
/bionic/libc/dns/net/ |
H A D | getservbyport.c | 37 if (rs == NULL || proto == NULL) { 39 return NULL; 42 rs->servent_ptr = NULL; 45 if (s == NULL) 51 return NULL;
|
H A D | getservbyname.c | 38 if (rs == NULL || proto == NULL || name == NULL) { 40 return NULL; 43 rs->servent_ptr = NULL; 46 if (s == NULL) 52 return NULL;
|
H A D | nsdispatch.c | 84 if (disp_tab != NULL) { 85 for (curdisp = 0; disp_tab[curdisp].src != NULL; curdisp++) { 93 *cb_data = NULL; 94 return (NULL); 109 /* retval may be NULL */ 110 /* disp_tab may be NULL */ 111 assert(database != NULL); 112 assert(method != NULL); 113 assert(defaults != NULL); 114 if (database == NULL || metho [all...] |
/bionic/libc/bionic/ |
H A D | clearenv.cpp | 34 if (e != NULL) { 36 *e = NULL;
|
H A D | getcwd.cpp | 36 if (buf != NULL && size == 0) { 38 return NULL; 42 char* allocated_buf = NULL; 44 if (buf == NULL) { 51 if (buf == NULL) { 54 return NULL; 63 return NULL; 67 if (allocated_buf != NULL) {
|
H A D | sched_getcpu.cpp | 36 int rc = __getcpu(&cpu, NULL, NULL);
|
H A D | atof.cpp | 34 return strtod(s, NULL);
|
H A D | fork.cpp | 45 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, &(self->tid), NULL); 47 int result = syscall(__NR_clone, FORK_FLAGS, NULL, NULL, NULL, &(self->tid));
|
H A D | flockfile.cpp | 39 if (fp != NULL) { 47 if (fp == NULL) { 55 if (fp != NULL) {
|
H A D | mntent.cpp | 32 return NULL; 36 return NULL; 44 if (fp != NULL) {
|
H A D | pthread_atfork.cpp | 47 static atfork_list_t g_atfork_list = { NULL, NULL }; 61 for (atfork_t* it = g_atfork_list.last; it != NULL; it = it->prev) { 62 if (it->prepare != NULL) { 69 for (atfork_t* it = g_atfork_list.first; it != NULL; it = it->next) { 70 if (it->child != NULL) { 79 for (atfork_t* it = g_atfork_list.first; it != NULL; it = it->next) { 80 if (it->parent != NULL) { 90 if (entry == NULL) { 101 entry->next = NULL; [all...] |
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
H A D | cclass.h | 103 { NULL, 0, "" }
|
H A D | regfree.c | 108 _DIAGASSERT(preg != NULL); 115 if (g == NULL || g->magic != MAGIC2) /* oops again */ 120 if (g->strip != NULL) 122 if (g->sets != NULL) 124 if (g->setbits != NULL) 126 if (g->must != NULL)
|
/bionic/libc/upstream-openbsd/lib/libc/include/ |
H A D | langinfo.h | 3 #define nl_langinfo(i) ((i == RADIXCHAR) ? (char*) "." : NULL)
|
/bionic/libc/upstream-openbsd/lib/libc/stdlib/ |
H A D | atoi.c | 36 return((int)strtol(str, (char **)NULL, 10));
|
H A D | atol.c | 36 return(strtol(str, (char **)NULL, 10));
|
H A D | atoll.c | 37 return(strtoll(str, (char **)NULL, 10));
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
H A D | funopen.c | 46 if (readfn == NULL) { 47 if (writefn == NULL) { /* illegal */ 49 return (NULL); 53 if (writefn == NULL) 58 if ((fp = __sfp()) == NULL) 59 return (NULL);
|
/bionic/libc/upstream-openbsd/lib/libc/string/ |
H A D | strtok.c | 48 if (s == NULL && (s = *last) == NULL) 49 return (NULL); 62 *last = NULL; 63 return (NULL); 77 s = NULL;
|
H A D | strsep.c | 41 * be further tokens), or is NULL (if there are definitely no more tokens). 43 * If *stringp is NULL, strsep returns NULL. 53 if ((s = *stringp) == NULL) 54 return (NULL); 61 s = NULL;
|
/bionic/tests/ |
H A D | mntent_test.cpp | 23 ASSERT_TRUE(fp == NULL); 25 #if __BIONIC__ // glibc doesn't let you call getmntent/getmntent_r with a NULL FILE*. 26 ASSERT_TRUE(getmntent(fp) == NULL); 30 ASSERT_TRUE(getmntent_r(fp, &mbuf, cbuf, sizeof(cbuf)) == NULL);
|
H A D | dlfcn_test.cpp | 49 void* self = dlopen(NULL, RTLD_NOW); 50 ASSERT_TRUE(self != NULL); 51 ASSERT_TRUE(dlerror() == NULL); 54 ASSERT_TRUE(sym != NULL); 67 ASSERT_TRUE(handle != NULL); 71 ASSERT_TRUE(sym != NULL); 80 ASSERT_TRUE(handle == NULL); 83 ASSERT_TRUE(handle != NULL); 84 ASSERT_TRUE(handle2 != NULL); 92 ASSERT_TRUE(self == NULL); [all...] |
H A D | getcwd_test.cpp | 26 char* cwd = getcwd(NULL, 0); 27 ASSERT_TRUE(cwd != NULL); 36 char* cwd = getcwd(NULL, PATH_MAX); 37 ASSERT_TRUE(cwd != NULL); 46 char* cwd = getcwd(NULL, 1); 47 ASSERT_TRUE(cwd == NULL); 54 char* cwd = getcwd(NULL, static_cast<size_t>(-1)); 55 ASSERT_TRUE(cwd == NULL); 64 ASSERT_TRUE(cwd == NULL); 73 ASSERT_TRUE(cwd == NULL); [all...] |
/bionic/linker/ |
H A D | linker_environ.cpp | 61 // first character after the equal sign. Otherwise return NULL. 73 return NULL; 81 if (name == NULL) { 139 NULL 141 for (size_t i = 0; UNSAFE_VARIABLE_NAMES[i] != NULL; ++i) { 142 if (env_match(name, UNSAFE_VARIABLE_NAMES[i]) != NULL) { 152 for (; src[0] != NULL; ++src) { 163 dst[0] = NULL; 167 // Store environment pointer - can't be NULL. 175 if (name == NULL || nam [all...] |
/bionic/libc/upstream-freebsd/lib/libc/string/ |
H A D | wcstok.c | 48 if (s == NULL && (s = *last) == NULL) 49 return (NULL); 62 *last = NULL; 63 return (NULL); 77 s = NULL;
|
Completed in 315 milliseconds
1234567891011>>