/ndk/sources/host-tools/ndk-stack/elff/ |
D | elf_file.cc | 45 elf_file_path_(NULL), in ElfFile() 46 allocator_(NULL), in ElfFile() 47 sec_table_(NULL), in ElfFile() 50 last_cu_(NULL), in ElfFile() 57 while (cu_to_del != NULL) { in ~ElfFile() 67 if (elf_file_path_ != NULL) { in ~ElfFile() 71 if (sec_table_ != NULL) { in ~ElfFile() 76 if (allocator_ != NULL) { in ~ElfFile() 82 ElfFile* ret = NULL; in Create() 87 assert(path != NULL && *path != '\0'); in Create() [all …]
|
D | elff_api.cc | 36 if (handle != NULL) { in elff_close() 44 assert(handle != NULL); in elff_is_exec() 45 if (handle == NULL) { in elff_is_exec() 57 assert(handle != NULL && address_info != NULL); in elff_get_pc_address_info() 58 if (handle == NULL || address_info == NULL) { in elff_get_pc_address_info() 74 assert(handle != NULL && address_info != NULL); in elff_free_pc_address_info() 75 if (handle == NULL || address_info == NULL) { in elff_free_pc_address_info()
|
D | dwarf_die.cc | 28 while (to_del != NULL) { in ~DIEObject() 41 return advance(NULL, &tag) != NULL ? tag : 0; in get_tag() 57 if (org_die_obj != NULL) { in get_name() 67 if (org_die_obj != NULL) { in get_name() 73 return NULL; in get_name() 80 const Elf_Byte* die_attr = advance(&at_abbr, NULL); in get_attrib() 81 if (die_attr == NULL) { in get_attrib() 111 return NULL; in get_leaf_for_address() 118 while (child != NULL) { in get_leaf_for_address() 120 if (leaf != NULL) { in get_leaf_for_address() [all …]
|
D | elf_alloc.cc | 22 : current_chunk_(NULL) { in ElfAllocator() 27 while (chunk_to_free != NULL) { in ~ElfAllocator() 38 if (current_chunk_ == NULL || current_chunk_->remains < size) { in alloc() 42 assert(new_chunk != NULL); in alloc() 43 if (new_chunk == NULL) { in alloc() 45 return NULL; in alloc()
|
D | dwarf_cu.cc | 26 cu_die_(NULL), in DwarfCU() 27 prev_cu_(NULL) { in DwarfCU() 31 if (cu_die_ != NULL) { in ~DwarfCU() 48 assert(ret != NULL); in create_instance() 49 if (ret == NULL) { in create_instance() 287 if (cu_die_ != NULL) { in dump() 319 if (process_DIE(parse_context, get_DIE(), NULL) == NULL) { in parse() 347 if (die_abbr == NULL) { in process_DIE() 348 return NULL; in process_DIE() 353 const Dwarf_Abbr_AT* at_abbr = die_abbr->process(NULL, &die_tag); in process_DIE() [all …]
|
/ndk/sources/host-tools/ndk-stack/binutils/ |
D | addr2line.c | 56 {"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/ |
D | cxa.c | 74 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/third_party/googletest/googletest/test/ |
D | gtest-linked_ptr_test.cc | 44 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()
|
D | gtest_catch_exceptions_test_.cc | 55 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/ |
D | glob.c | 85 #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/ |
D | dynamic_cast.cc | 121 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 …]
|
/ndk/sources/cxx-stl/gabi++/tests/ |
D | test_vector1.cpp | 89 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/cxx-stl/llvm-libc++abi/libcxxabi/test/ |
D | test_vector1.cpp | 69 one = __cxxabiv1::__cxa_vec_new ( 10, 40, 0, NULL, NULL ); in test_empty() 70 two = __cxxabiv1::__cxa_vec_new2( 10, 40, 0, NULL, NULL, my_alloc2, my_dealloc2 ); in test_empty() 71 three = __cxxabiv1::__cxa_vec_new3( 10, 40, 0, NULL, NULL, my_alloc2, my_dealloc3 ); in test_empty() 73 __cxxabiv1::__cxa_vec_delete ( one, 40, 0, NULL ); in test_empty() 74 __cxxabiv1::__cxa_vec_delete2( two, 40, 0, NULL, my_dealloc2 ); in test_empty() 75 __cxxabiv1::__cxa_vec_delete3( three, 40, 0, NULL, my_dealloc3 ); in test_empty() 87 one = __cxxabiv1::__cxa_vec_new ( 10, 40, 8, NULL, NULL ); in test_empty() 88 two = __cxxabiv1::__cxa_vec_new2( 10, 40, 8, NULL, NULL, my_alloc2, my_dealloc2 ); in test_empty() 89 three = __cxxabiv1::__cxa_vec_new3( 10, 40, 8, NULL, NULL, my_alloc2, my_dealloc3 ); in test_empty() 91 __cxxabiv1::__cxa_vec_delete ( one, 40, 8, NULL ); in test_empty() [all …]
|
/ndk/sources/host-tools/ndk-stack/regex/ |
D | regfree.c | 59 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()
|
/ndk/sources/host-tools/ndk-stack/ |
D | ndk-stack.c | 37 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()
|
/ndk/sources/cxx-stl/llvm-libc++abi/libcxxabi/src/ |
D | cxa_exception.cpp | 112 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() 296 if (NULL != globals->propagatingExceptions) in __cxa_begin_cleanup() 319 if (NULL == exception_header) in __cxa_end_cleanup_impl() 332 exception_header->nextPropagatingException = NULL; in __cxa_end_cleanup_impl() 337 globals->propagatingExceptions = NULL; in __cxa_end_cleanup_impl() 461 if (NULL != exception_header) in __cxa_end_catch() 523 if (NULL == globals) in __cxa_current_exception_type() 524 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/ |
D | langinfo.c | 39 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/android/libthread_db/gdb-6.6/ |
D | libthread_db.c | 43 NULL 88 if (perm == NULL) { in _get_task_permitted_caps() 163 while ((entry = readdir(dir)) != NULL) { in td_ta_new() 219 void* pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)60 /* r15/pc */, NULL); in _event_getmsg_helper() 223 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)0 /* r0 */, NULL); in _event_getmsg_helper() 230 void* pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)48 /* eip */, NULL); in _event_getmsg_helper() 238 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)4 /* ecx */, NULL); in _event_getmsg_helper() 243 void* pc = (void *)ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(64*4) /* pc */, NULL); in _event_getmsg_helper() 247 gEventMsgHandle.pid = ptrace(PTRACE_PEEKUSR, handle->tid, (void *)(4*4) /* a0 */, NULL); in _event_getmsg_helper() 261 err = ps_pglobal_lookup(NULL, NULL, gSymbols[SYM_TD_CREATE], &bkpt_addr); in td_ta_event_getmsg() [all …]
|
/ndk/sources/host-tools/make-3.81/ |
D | getopt.c | 110 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/android/crazy_linker/src/ |
D | crazy_linker_library_list.cpp | 26 SymbolLookupState() : found_addr(NULL), weak_addr(NULL), weak_count(0) {} in SymbolLookupState() 58 head_ = NULL; in ~LibraryList() 70 return NULL; in FindLibraryByName() 77 return NULL; in FindLibraryByName() 84 return NULL; in FindSymbolFrom() 128 return NULL; in FindSymbolFrom() 144 return NULL; in FindLibraryForAddress() 156 return NULL; in FindArmExIdx() 244 return NULL; in LoadLibrary() 251 return NULL; in LoadLibrary() [all …]
|
/ndk/sources/host-tools/make-3.81/w32/compat/ |
D | dirent.c | 38 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/ |
D | cstring_test.cpp | 43 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/ |
D | cstring_test.cpp | 43 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/ |
D | w32err.c | 47 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/host-tools/nawk-20071023/ |
D | maketab.c | 42 { 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()
|