Searched refs:NULL (Results 1 - 25 of 267) sorted by relevance
1234567891011
/bionic/libc/kernel/common/linux/ |
H A D | stddef.h | 22 #undef NULL macro 25 #define NULL 0 macro 27 #define NULL ((void *)0) macro
|
/bionic/libc/netbsd/net/ |
H A D | getservbyport.c | 38 if (rs == NULL || proto == NULL) { 40 return NULL; 43 rs->servent_ptr = NULL; 46 if (s == NULL) 52 return NULL;
|
H A D | getservbyname.c | 39 if (rs == NULL || proto == NULL || name == NULL) { 41 return NULL; 44 rs->servent_ptr = NULL; 47 if (s == NULL) 53 return NULL;
|
H A D | nsdispatch.c | 96 if (disp_tab != NULL) { 97 for (curdisp = 0; disp_tab[curdisp].src != NULL; curdisp++) { 105 *cb_data = NULL; 106 return (NULL); 121 /* retval may be NULL */ 122 /* disp_tab may be NULL */ 123 assert(database != NULL); 124 assert(method != NULL); 125 assert(defaults != NULL); 126 if (database == NULL || metho [all...] |
/bionic/libc/bionic/ |
H A D | clearenv.c | 37 if (P != NULL) { 39 *P = 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.c | 36 if (__getcpu(&cpu, NULL, NULL) < 0)
|
H A D | atoi.c | 32 return (int)strtoimax(s, NULL, 10);
|
H A D | atol.c | 32 return (long)strtoimax(s, NULL, 10);
|
H A D | atoll.c | 32 return (long long)strtoimax(s, NULL, 10);
|
H A D | setlocale.cpp | 34 return NULL;
|
H A D | flockfile.c | 49 if (fp != NULL) { 63 if (fp != NULL) { 72 if (fp != NULL) {
|
H A D | utmp.c | 52 if (ut == NULL) 60 if (ut == NULL) { 61 if ((ut = fopen(utfile, "r")) == NULL) 62 return NULL; 66 return NULL; 72 if (ut != NULL) { 74 ut = NULL;
|
H A D | debug_stacktrace.cpp | 46 static mapinfo_t* gMapInfo = NULL; 49 static DemanglerFn gDemanglerFn = NULL; 54 if (gDemangler != NULL) { 66 if (gDemanglerFn == NULL) { 67 return NULL; 69 return (*gDemanglerFn)(symbol, NULL, NULL, NULL); 124 if (frames == NULL) { 134 const char* symbol = NULL; [all...] |
/bionic/libc/upstream-netbsd/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/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 | 42 * be further tokens), or is NULL (if there are definitely no more tokens). 44 * If *stringp is NULL, strsep returns NULL. 54 if ((s = *stringp) == NULL) 55 return (NULL); 62 s = NULL;
|
/bionic/libc/upstream-netbsd/libc/stdlib/ |
H A D | tfind.c | 31 _DIAGASSERT(vkey != NULL); 32 _DIAGASSERT(compar != NULL); 34 if (rootp == NULL) 35 return NULL; 37 while (*rootp != NULL) { /* T1: */ 46 return NULL;
|
H A D | tdelete.c | 34 _DIAGASSERT(vkey != NULL); 35 _DIAGASSERT(compar != NULL); 37 if (rootp == NULL || (p = *rootp) == NULL) 38 return NULL; 45 if (*rootp == NULL) 46 return NULL; /* key not found */ 49 if ((q = (*rootp)->llink) == NULL) /* Left NULL? */ 51 else if (r != NULL) { /* Righ [all...] |
H A D | tsearch.c | 32 _DIAGASSERT(vkey != NULL); 33 _DIAGASSERT(compar != NULL); 35 if (rootp == NULL) 36 return NULL; 38 while (*rootp != NULL) { /* Knuth's T1: */ 53 q->llink = q->rlink = NULL;
|
/bionic/tests/ |
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/stdio/ |
H A D | funopen.c | 54 if (readfn == NULL) { 55 if (writefn == NULL) { /* illegal */ 57 return (NULL); 61 if (writefn == NULL) 66 if ((fp = __sfp()) == NULL) 67 return (NULL);
|
/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 1470 milliseconds
1234567891011