/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
H A D | c_locale_win32.c | 50 | NULL 320 { free(ltype); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } 334 if (!GetCPInfo(NativeCP, &CPInfo)) { free(ltype); return NULL; } 347 BufferSize = MultiByteToWideChar(ltype->cp, MB_PRECOMPOSED, (const char*)Buffer, 256, NULL, 0); 348 if (!BufferSize) { free(ltype); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } 350 if (!wbuffer) { free(ltype); *__err_code = _STLP_LOC_NO_MEMORY; return NULL; } 363 BufferSize = MultiByteToWideChar(NativeCP, MB_PRECOMPOSED, (const char*)Buffer, 256, NULL, 0); 364 if (!BufferSize) { free(ltype); *__err_code = _STLP_LOC_UNKNOWN_NAME; return NULL; } 366 if (!wbuffer) { free(ltype); *__err_code = _STLP_LOC_NO_MEMORY; return NULL; } 368 if (!WideCharToMultiByte(ltype->cp, WC_COMPOSITECHECK | WC_SEPCHARS, wbuffer, BufferSize, (char*)TargetBuffer, 256, NULL, FALS 1045 WideCharToMultiByte(__GetDefaultCP(ltype->lc.id), WC_COMPOSITECHECK | WC_SEPCHARS, wbuf, 2, buf, 2, NULL, FALSE); local 1065 WideCharToMultiByte(__GetDefaultCP(ltype->lc.id), WC_COMPOSITECHECK | WC_SEPCHARS, wbuf, 2, buf, 2, NULL, FALSE); local [all...] |
/ndk/sources/host-tools/make-3.81/ |
H A D | alloca.c | 76 #ifndef NULL 77 #define NULL 0 macro 119 static char *addr = NULL; /* Address of first `dummy', once known. */ 122 if (addr == NULL) 161 static header *last_alloca_header = NULL; /* -> last alloca header. */ 191 for (hp = last_alloca_header; hp != NULL;) 212 return NULL; /* No allocation required. */
|
H A D | ansi2knr.c | 191 /* Define NULL (for *very* old compilers). */ 192 #ifndef NULL 193 # define NULL (0) macro 281 if ( out == NULL ) { 289 if ( in == NULL ) { 303 if ( buf == NULL ) 309 while ( fgets(line, (unsigned)(buf + bufsize - line), in) != NULL ) 322 if ( fgets(line, (unsigned)(buf + bufsize - line), in) == NULL ) 580 if ( breaks == NULL ) 591 char *lp = NULL; [all...] |
H A D | getopt1.c | 65 #ifndef NULL macro 66 #define NULL 0
|
H A D | vmsdir.h | 66 #ifndef NULL 67 #define NULL 0 macro
|
/ndk/sources/host-tools/make-3.81/glob/ |
H A D | glob.c | 85 #ifndef NULL 86 # define NULL 0 macro 201 if (p == NULL) 343 return NULL; 374 if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0) 383 if (begin != NULL) 397 if (onealt == NULL) 416 if (next == NULL) 430 if (rest == NULL) [all...] |
/ndk/sources/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-internal.h | 107 // expression is a null pointer literal (i.e. NULL or any 0-valued 124 // null pointer literal (i.e. NULL or any 0-valued compile-time 127 // We lose support for NULL detection where the compiler doesn't like 470 // type_param the name of the test's type parameter, or NULL if 473 // or NULL if this is not a type-parameterized test. 492 // and returns false. None of pstr, *pstr, and prefix can be NULL. 530 // returns NULL if no comma is found in 'str'. 533 if (comma == NULL) { 534 return NULL; 544 return comma == NULL 850 IsContainerTest(int , typename C::iterator* = NULL, typename C::const_iterator* = NULL) argument [all...] |
H A D | gtest-linked_ptr.h | 142 explicit linked_ptr(T* ptr = NULL) { capture(ptr); } argument 168 void reset(T* ptr = NULL) { argument
|
H A D | gtest-port.h | 134 // GTEST_CAN_COMPARE_NULL - accepts untyped NULL in EXPECT_EQ(). 894 explicit scoped_ptr(T* p = NULL) : ptr_(p) {} argument 903 ptr_ = NULL; 907 void reset(T* p = NULL) { argument 1044 inline void FlushInfoLog() { fflush(NULL); } 1128 const To to = NULL; 1134 GTEST_CHECK_(f == NULL || dynamic_cast<To>(f) != NULL); 1193 nanosleep(&time, NULL); 1205 GTEST_CHECK_POSIX_SUCCESS_(pthread_mutex_init(&mutex_, NULL)); [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
H A D | gtest_unittest.cc | 97 test_info_obj_("FooTest", "Bar", NULL, NULL, 0, NULL) {} 122 streamer_.OnTestCaseStart(TestCase("FooTest", "Bar", NULL, NULL)); 128 streamer_.OnTestCaseEnd(TestCase("FooTest", "Bar", NULL, NULL)); 419 saved_tz_ = NULL; 443 saved_tz_ = NULL; 449 // being NULL 2440 ASSERT_STREQ(static_cast<const char *>(NULL), NULL); local 2467 ASSERT_STRCASEEQ(static_cast<const char *>(NULL), NULL); local 2490 ASSERT_STREQ(static_cast<const wchar_t *>(NULL), NULL); local [all...] |
/ndk/tests/abcc/jni/mman-win32/ |
H A D | test.c | 8 #ifndef NULL
9 #define NULL (void*)0
macro 16 void* map = mmap(NULL, 1024, PROT_READ | PROT_WRITE,
36 void* map = mmap(NULL, 1024, PROT_READ,
56 void* map = mmap(NULL, 1024, PROT_WRITE,
76 void* map = mmap(NULL, 1024, PROT_READ,
101 void* map = mmap(NULL, 1024, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0);
136 void* map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0);
186 void* map = mmap(NULL, map_size, PROT_READ | PROT_WRITE, MAP_PRIVATE, o, 0);
|