Home
last modified time | relevance | path

Searched refs:NULL (Results 1 – 25 of 216) sorted by relevance

123456789

/ndk/sources/host-tools/ndk-stack/binutils/
Daddr2line.c56 {"addresses", no_argument, NULL, 'a'},
57 {"basenames", no_argument, NULL, 's'},
58 {"demangle", optional_argument, NULL, 'C'},
59 {"exe", required_argument, NULL, 'e'},
60 {"functions", no_argument, NULL, 'f'},
61 {"inlines", no_argument, NULL, 'i'},
62 {"pretty-print", no_argument, NULL, 'p'},
63 {"section", required_argument, NULL, 'j'},
64 {"target", required_argument, NULL, 'b'},
65 {"help", no_argument, NULL, 'H'},
[all …]
/ndk/sources/cxx-stl/stlport/src/
Dcxa.c74 if ( new == NULL ) in __cxa_atexit()
92 { PTHREAD_MUTEX_RECURSIVE /* PTHREAD_MUTEX_DEFAULT */, PTHREAD_PRIO_NONE, {NULL,NULL},
93 NULL, { NULL }, /* MUTEX_FLAGS_PRIVATE */ 0x1, 0, 0, 0, {NULL, NULL},
120 for (l = __exit_funcs; l != NULL; l = l->next) { in __new_exitfn()
133 if (l == NULL) { in __new_exitfn()
135 if (l != NULL) { in __new_exitfn()
145 if ( l != NULL ) in __new_exitfn()
152 return l == NULL ? NULL : &l->fns[i]; in __new_exitfn()
175 if ( (d == NULL || d == f->func.cxa.dso_handle) && (f->flavor == ef_cxa) ) { in __cxa_finalize()
185 if (d != NULL) in __cxa_finalize()
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/test/
Dtest_vector1.pass.cpp70 one = __cxxabiv1::__cxa_vec_new ( 10, 40, 0, NULL, NULL ); in test_empty()
71 two = __cxxabiv1::__cxa_vec_new2( 10, 40, 0, NULL, NULL, my_alloc2, my_dealloc2 ); in test_empty()
72 three = __cxxabiv1::__cxa_vec_new3( 10, 40, 0, NULL, NULL, my_alloc2, my_dealloc3 ); in test_empty()
74 __cxxabiv1::__cxa_vec_delete ( one, 40, 0, NULL ); in test_empty()
75 __cxxabiv1::__cxa_vec_delete2( two, 40, 0, NULL, my_dealloc2 ); in test_empty()
76 __cxxabiv1::__cxa_vec_delete3( three, 40, 0, NULL, my_dealloc3 ); in test_empty()
88 one = __cxxabiv1::__cxa_vec_new ( 10, 40, 8, NULL, NULL ); in test_empty()
89 two = __cxxabiv1::__cxa_vec_new2( 10, 40, 8, NULL, NULL, my_alloc2, my_dealloc2 ); in test_empty()
90 three = __cxxabiv1::__cxa_vec_new3( 10, 40, 8, NULL, NULL, my_alloc2, my_dealloc3 ); in test_empty()
92 __cxxabiv1::__cxa_vec_delete ( one, 40, 8, NULL ); in test_empty()
[all …]
/ndk/sources/third_party/googletest/googletest/test/
Dgtest-linked_ptr_test.cc44 Message* history = NULL;
73 history = NULL; in ~LinkedPtrTest()
83 ASSERT_EQ(a0.get(), static_cast<A*>(NULL)); in TEST_F()
84 ASSERT_EQ(a1.get(), static_cast<A*>(NULL)); in TEST_F()
85 ASSERT_EQ(a2.get(), static_cast<A*>(NULL)); in TEST_F()
86 ASSERT_TRUE(a0 == NULL); in TEST_F()
87 ASSERT_TRUE(a1 == NULL); in TEST_F()
88 ASSERT_TRUE(a2 == NULL); in TEST_F()
94 ASSERT_TRUE(a0 != NULL); in TEST_F()
107 ASSERT_TRUE(b0 != NULL); in TEST_F()
Dgtest_catch_exceptions_test_.cc55 SehExceptionInConstructorTest() { RaiseException(42, 0, 0, NULL); } in SehExceptionInConstructorTest()
62 ~SehExceptionInDestructorTest() { RaiseException(42, 0, 0, NULL); } in ~SehExceptionInDestructorTest()
69 static void SetUpTestCase() { RaiseException(42, 0, 0, NULL); } in SetUpTestCase()
76 static void TearDownTestCase() { RaiseException(42, 0, 0, NULL); } in TearDownTestCase()
83 virtual void SetUp() { RaiseException(42, 0, 0, NULL); } in SetUp()
90 virtual void TearDown() { RaiseException(42, 0, 0, NULL); } in TearDown()
96 RaiseException(42, 0, 0, NULL); in TEST()
299 fflush(NULL); in TerminateHandler()
/ndk/sources/host-tools/make-3.81/glob/
Dglob.c85 #ifndef NULL
86 # define NULL 0 macro
201 if (p == NULL)
342 return NULL;
373 if (pattern == NULL || pglob == NULL || (flags & ~__GLOB_FLAGS) != 0)
382 if (begin != NULL)
396 if (onealt == NULL)
415 if (next == NULL)
429 if (rest == NULL)
453 pglob->gl_pathv = NULL;
[all …]
/ndk/sources/cxx-stl/gabi++/src/
Ddynamic_cast.cc121 return (match_object == NULL || object == match_object) ? object : NULL; in walk_object()
127 return NULL; in walk_object()
145 const void* result = NULL; in walk_object()
159 else if (walk_subobject_result != NULL) in walk_object()
161 if (result == NULL) in walk_object()
175 return NULL; in walk_object()
193 dst_object(NULL), result(NULL) in cast_context()
210 && context->dst_object != NULL in base_to_derived_cast()
213 if (context->result == NULL) in base_to_derived_cast()
303 most_derived_class_type_info, NULL, dst)); in __dynamic_cast()
[all …]
Dfatal_error.cc58 logfunc_t logger = NULL; in __fatal_error()
67 if (liblog != NULL) { in __fatal_error()
69 if (logger != NULL) { in __fatal_error()
/ndk/sources/cxx-stl/gabi++/tests/
Dtest_vector1.cpp89 one = __cxxabiv1::__cxa_vec_new ( 10, 40, 0, NULL, NULL ); in test_empty()
90 two = __cxxabiv1::__cxa_vec_new2( 10, 40, 0, NULL, NULL, my_alloc2, my_dealloc2 ); in test_empty()
91 three = __cxxabiv1::__cxa_vec_new3( 10, 40, 0, NULL, NULL, my_alloc2, my_dealloc3 ); in test_empty()
93 __cxxabiv1::__cxa_vec_delete ( one, 40, 0, NULL ); in test_empty()
94 __cxxabiv1::__cxa_vec_delete2( two, 40, 0, NULL, my_dealloc2 ); in test_empty()
95 __cxxabiv1::__cxa_vec_delete3( three, 40, 0, NULL, my_dealloc3 ); in test_empty()
107 one = __cxxabiv1::__cxa_vec_new ( 10, 40, 8, NULL, NULL ); in test_empty()
108 two = __cxxabiv1::__cxa_vec_new2( 10, 40, 8, NULL, NULL, my_alloc2, my_dealloc2 ); in test_empty()
109 three = __cxxabiv1::__cxa_vec_new3( 10, 40, 8, NULL, NULL, my_alloc2, my_dealloc3 ); in test_empty()
111 __cxxabiv1::__cxa_vec_delete ( one, 40, 8, NULL ); in test_empty()
[all …]
/ndk/sources/host-tools/ndk-stack/regex/
Dregfree.c59 if (g == NULL || g->magic != MAGIC2) /* oops again */ in regfree()
64 if (g->strip != NULL) in regfree()
66 if (g->sets != NULL) in regfree()
68 if (g->setbits != NULL) in regfree()
70 if (g->must != NULL) in regfree()
Dengine.c155 if (g->must != NULL) { in matcher()
167 m->pmatch = NULL; in matcher()
168 m->lastpos = NULL; in matcher()
182 if (endp == NULL) { /* a miss */ in matcher()
192 assert(m->coldp != NULL); in matcher()
196 if (endp != NULL) in matcher()
205 if (m->pmatch == NULL) in matcher()
208 if (m->pmatch == NULL) { in matcher()
218 if (g->nplus > 0 && m->lastpos == NULL) in matcher()
221 if (g->nplus > 0 && m->lastpos == NULL) { in matcher()
[all …]
/ndk/sources/host-tools/ndk-stack/
Dndk-stack.c37 const char* dump_file = NULL; in main()
38 const char* sym_path = NULL; in main()
60 if (sym_path == NULL) { in main()
64 if (dump_file == NULL) { in main()
71 if (parser != NULL) { in main()
73 if (handle != NULL) { in main()
Dndk-stack-parser.c140 if (parser == NULL) in CreateNdkCrashParser()
141 return NULL; in CreateNdkCrashParser()
159 return NULL; in CreateNdkCrashParser()
165 if (parser != NULL) { in DestroyNdkCrashParser()
183 if (line == NULL || *line == '\0') { in ParseLine()
189 if (strstr(line, _crash_dump_header) != NULL) { in ParseLine()
204 if (strstr(line, _build_fingerprint_header) != NULL) { in ParseLine()
291 return NULL; in get_next_token()
310 return NULL; in find_pc()
330 if ((wrk=find_pc(frame)) == NULL) { in ParseFrame()
[all …]
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/
Dcxa_exception.cpp112 if (NULL == ptr) // if malloc fails, fall back to emergency stash in do_malloc()
162 if (NULL == exception_header) in __cxa_allocate_exception()
181 if (NULL == ptr) in __cxa_allocate_dependent_exception()
294 if (NULL != globals->propagatingExceptions) in __cxa_begin_cleanup()
317 if (NULL == exception_header) in __cxa_end_cleanup_impl()
330 exception_header->nextPropagatingException = NULL; in __cxa_end_cleanup_impl()
335 globals->propagatingExceptions = NULL; in __cxa_end_cleanup_impl()
464 if (NULL != exception_header) in __cxa_end_catch()
526 if (NULL == globals) in __cxa_current_exception_type()
527 return NULL; // If there have never been any exceptions, there are none now. in __cxa_current_exception_type()
[all …]
/ndk/sources/android/support/src/musl-locale/
Dlanginfo.c39 if (idx > 1) return NULL; in nl_langinfo_l()
43 if (idx > 0x31) return NULL; in nl_langinfo_l()
47 if (idx > 0) return NULL; in nl_langinfo_l()
51 if (idx > 1) return NULL; in nl_langinfo_l()
55 return NULL; in nl_langinfo_l()
/ndk/sources/host-tools/make-3.81/
Dgetopt.c110 char *optarg = NULL;
321 if (new_str == NULL) in exchange()
392 nextchar = NULL; in _getopt_initialize()
408 else if (posixly_correct != NULL) in _getopt_initialize()
414 if (posixly_correct == NULL in _getopt_initialize()
419 if (__getopt_nonoption_flags == NULL in _getopt_initialize()
430 if (__getopt_nonoption_flags == NULL) in _getopt_initialize()
506 optarg = NULL; in _getopt_internal()
528 if (nextchar == NULL || *nextchar == '\0') in _getopt_internal()
602 + (longopts != NULL && argv[optind][1] == '-')); in _getopt_internal()
[all …]
/ndk/sources/host-tools/make-3.81/w32/compat/
Ddirent.c38 return NULL; in opendir()
42 return NULL; in opendir()
46 return NULL; in opendir()
53 return NULL; in opendir()
115 return NULL; in readdir()
121 return NULL; in readdir()
127 return NULL; in readdir()
129 return NULL; in readdir()
/ndk/tests/device/test-stlport/unit/
Dcstring_test.cpp43 CPPUNIT_CHECK( std::memchr("foo", 'o', 3) != NULL ); in import_checks()
46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks()
47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks()
48 CPPUNIT_CHECK( std::memset(buf1, 0, 1) != NULL ); in import_checks()
53 CPPUNIT_CHECK( std::strerror(0) != NULL ); in import_checks()
56 CPPUNIT_CHECK( std::strchr(foo, 'o') != NULL ); in import_checks()
70 CPPUNIT_CHECK( std::strtok(foofoobuf, "z") != NULL ); in import_checks()
/ndk/tests/device/test-gnustl-full/unit/
Dcstring_test.cpp43 CPPUNIT_CHECK( std::memchr("foo", 'o', 3) != NULL ); in import_checks()
46 CPPUNIT_CHECK( std::memcpy(buf1, buf2, 0) != NULL ); in import_checks()
47 CPPUNIT_CHECK( std::memmove(buf1, buf2, 0) != NULL ); in import_checks()
48 CPPUNIT_CHECK( std::memset(buf1, 0, 1) != NULL ); in import_checks()
53 CPPUNIT_CHECK( std::strerror(0) != NULL ); in import_checks()
56 CPPUNIT_CHECK( std::strchr(foo, 'o') != NULL ); in import_checks()
70 CPPUNIT_CHECK( std::strtok(foofoobuf, "z") != NULL ); in import_checks()
/ndk/sources/host-tools/make-3.81/w32/subproc/
Dw32err.c47 if (hModule != NULL) { in map_windows32_error_to_string()
54 NULL); in map_windows32_error_to_string()
62 NULL, in map_windows32_error_to_string()
67 NULL); in map_windows32_error_to_string()
/ndk/sources/third_party/googletest/googletest/samples/
Dsample3-inl.h63 explicit QueueNode(const E& an_element) : element_(an_element), next_(NULL) {} in QueueNode()
77 Queue() : head_(NULL), last_(NULL), size_(0) {} in Queue()
91 if (node == NULL) break; in Clear()
96 head_ = last_ = NULL; in Clear()
133 return NULL; in Dequeue()
140 last_ = NULL; in Dequeue()
155 for (const QueueNode<E>* node = head_; node != NULL; node = node->next_) { in Map()
Dsample2.h55 MyString() : c_string_(NULL) {} in MyString()
58 explicit MyString(const char* a_c_string) : c_string_(NULL) { in MyString()
63 MyString(const MyString& string) : c_string_(NULL) { in MyString()
77 return c_string_ == NULL ? 0 : strlen(c_string_); in Length()
/ndk/sources/host-tools/nawk-20071023/
Dmaketab.c42 { PROGRAM, "program", NULL },
52 { ARRAY, "array", NULL },
71 { PASTAT, "pastat", NULL },
72 { PASTAT2, "dopa2", NULL },
132 input = NULL; in main()
134 if (input == NULL) { in main()
137 if ((fp = fopen(input, "rt")) == NULL) { in main()
144 while (fgets(buf, sizeof buf, fp) != NULL) { in main()
Dmain.c58 const char *fs = NULL; in main()
70 yyin = NULL; in main()
110 if (fs == NULL || *fs == '\0') in main()
168 if (yyin == NULL) { in pgetc()
173 else if ((yyin = fopen(pfile[curpfile], "r")) == NULL) in pgetc()
181 yyin = NULL; in pgetc()
191 return NULL; in cursource()
/ndk/sources/android/support/src/locale/
Dsetlocale.c33 if (locale == NULL) { in setlocale()
35 return NULL; in setlocale()
40 return NULL; in setlocale()

123456789