Home
last modified time | relevance | path

Searched refs:push_back (Results 1 – 25 of 43) sorted by relevance

12

/bionic/linker/
Dlinker_sleb128_test.cpp40 encoding.push_back(0xe5); in TEST()
41 encoding.push_back(0x8e); in TEST()
42 encoding.push_back(0x26); in TEST()
44 encoding.push_back(0x00); in TEST()
46 encoding.push_back(0x01); in TEST()
48 encoding.push_back(0x3f); in TEST()
50 encoding.push_back(0xc0); in TEST()
51 encoding.push_back(0x00); in TEST()
53 encoding.push_back(0x7f); in TEST()
55 encoding.push_back(0x9b); in TEST()
[all …]
Dlinked_list_test.cpp116 list.push_back("c"); in TEST()
125 list.push_back("r"); in TEST()
133 list.push_back("a"); in TEST()
134 list.push_back("b"); in TEST()
135 list.push_back("c"); in TEST()
136 list.push_back("d"); in TEST()
151 list.push_back("a"); in TEST()
152 list.push_back("b"); in TEST()
153 list.push_back("c"); in TEST()
154 list.push_back("d"); in TEST()
[all …]
Dlinker_namespaces.cpp132 global_group.push_back(si); in get_global_group()
152 shared_group.push_back(si); in get_shared_group()
Dlinker_config.cpp400 params.push_back({ "LIB", kLibPath }); in get_paths()
404 params.push_back({ "SDK_VER", buf }); in get_paths()
408 params.push_back({ "VNDK_VER", vndk_ver }); in get_paths()
410 params.push_back({ "VNDK_APEX_VER", vndk_apex_ver }); in get_paths()
432 resolved_paths.push_back(cached->second); in get_paths()
607 namespace_configs_.push_back(std::unique_ptr<NamespaceConfig>(new NamespaceConfig(name))); in create_namespace_config()
Dlinker_namespaces.h137 linked_namespaces_.push_back( in add_linked_namespace()
142 soinfo_list_.push_back(si); in add_soinfo()
Dlinker_soinfo.cpp65 libs_.push_back(SymbolLookupLib {}); in SymbolLookupList()
68 libs_.push_back(si->get_lookup_lib()); in SymbolLookupList()
73 libs_.push_back(si->get_lookup_lib()); in SymbolLookupList()
574 child->parents_.push_back(this); in add_child()
575 this->children_.push_back(child); in add_child()
764 secondary_namespaces_.push_back(secondary_ns); in add_secondary_namespace()
Dlinker.cpp672 visit_list.push_back(root_soinfo); in walk_dependencies_tree()
686 visited.push_back(si); in walk_dependencies_tree()
690 visit_list.push_back(child); in walk_dependencies_tree()
1271 load_tasks->push_back(LoadTask::create(name, si, ns, task->get_readers_map())); in load_library()
1530 load_tasks.push_back(LoadTask::create(name, start_with, ns, &readers_map)); in find_libraries()
1591 ld_preloads->push_back(si); in find_libraries()
1609 load_list.push_back(task); in find_libraries()
1670 new_global_group_members.push_back(si); in find_libraries()
1693 local_group_roots.push_back(start_with); in find_libraries()
1696 local_group_roots.push_back(soinfos[0]); in find_libraries()
[all …]
Dlinked_list.h103 void push_back(T* const element) { in push_back() function
252 one_element_list.push_back(element); in make_list()
/bionic/tools/versioner/src/
DDriver.cpp102 cmd.push_back("-std=gnu++11"); in generateTargetCC1Flags()
103 cmd.push_back("-x"); in generateTargetCC1Flags()
104 cmd.push_back("c++"); in generateTargetCC1Flags()
106 cmd.push_back("-std=gnu11"); in generateTargetCC1Flags()
107 cmd.push_back("-x"); in generateTargetCC1Flags()
108 cmd.push_back("c"); in generateTargetCC1Flags()
111 cmd.push_back("-fsyntax-only"); in generateTargetCC1Flags()
113 cmd.push_back("-Wall"); in generateTargetCC1Flags()
114 cmd.push_back("-Wextra"); in generateTargetCC1Flags()
115 cmd.push_back("-Weverything"); in generateTargetCC1Flags()
[all …]
DUtils.cpp79 headers.push_back(std::move(path)); in collectHeaders()
/bionic/libc/seccomp/
Dseccomp_policy.cpp90 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_ALLOW)); in Allow()
94 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRAP)); in Disallow()
98 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_nr)); in ExamineSyscall()
115 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, arch_nr)); in ValidateArchitectureAndJumpIfNeeded()
116 f.push_back(BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, PRIMARY_ARCH, 2, 0)); in ValidateArchitectureAndJumpIfNeeded()
117 f.push_back(BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, SECONDARY_ARCH, 1, 0)); in ValidateArchitectureAndJumpIfNeeded()
123 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, arch_nr)); in ValidateArchitecture()
124 f.push_back(BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, PRIMARY_ARCH, 1, 0)); in ValidateArchitecture()
137 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_arg)); in ValidateSyscallArgInRange()
138 f.push_back(BPF_JUMP(BPF_JMP|BPF_JGE|BPF_K, range_min, 0, 1)); in ValidateSyscallArgInRange()
[all …]
/bionic/benchmarks/
Dbionic_benchmarks.cpp135 new_argv->push_back(optarg); in SanitizeOpts()
146 new_argv->push_back(nullptr); in SanitizeOpts()
185 opts.extra_benchmarks.push_back(optarg); in ParseOpts()
260 to_populate->push_back({size, align}); in ParseOnebufManualStr()
263 to_populate->push_back({ssize, align}); in ParseOnebufManualStr()
306 to_populate->push_back({size, align1, align2}); in ParseTwobufManualStr()
309 to_populate->push_back({ssize, align1, align2}); in ParseTwobufManualStr()
339 to_populate->push_back(std::vector<int64_t>()); in ResolveArgs()
348 (*to_populate)[0].push_back(converted); in ResolveArgs()
464 args->push_back({size}); in SetArgs()
[all …]
Dmalloc_benchmark.cpp55 ptrs.push_back(ptr); in BM_mallopt_purge()
/bionic/tests/
D__cxa_atexit_test.cpp52 actual.push_back(*idx); in TEST()
69 for (int i = 498; i >= 0; i -= 2) expected.push_back(i); in TEST()
70 for (int i = 749; i >= 500; --i) expected.push_back(i); in TEST()
71 for (int i = 499; i >= 1; i -= 2) expected.push_back(i); in TEST()
Ddirent_test.cpp45 name_list.push_back(entries[i]->d_name); in ScanEntries()
280 pass1.push_back(e->d_name); in TEST()
289 pass2.push_back(e->d_name); in TEST()
308 offset_list.push_back(telldir(d)); in TEST()
312 name_list.push_back(e->d_name); in TEST()
313 offset_list.push_back(telldir(d)); in TEST()
Difaddrs_test.cpp89 ifaddrs_socks.push_back(std::string(addr->ifa_name)); in TEST()
103 sys_class_net.push_back(std::string(dir->d_name)); in TEST()
280 threads.push_back(new std::thread([]() { in TEST()
300 fds.push_back(fd); in TEST()
Ddlfcn_symlink_support.cpp67 buf.push_back('\0'); in create_dlfcn_test_symlink()
Dfdtrack_test.cpp66 events.push_back(*event); in FdtrackRun()
170 output->push_back(fd); in SetFdResult()
/bionic/libc/malloc_debug/tests/
Dbacktrace_fake.cpp36 g_fake_backtrace.push_back(ips); in backtrace_fake_add()
70 g_fake_local_frame_data.push_back(frames); in BacktraceUnwindFake()
82 frames->push_back(frame.pc); in Unwind()
Dmalloc_debug_system_tests.cpp86 args.push_back(exec.c_str()); in Exec()
87 args.push_back("--gtest_also_run_disabled_tests"); in Exec()
89 args.push_back(filter_arg.c_str()); in Exec()
92 args.push_back("--no_isolate"); in Exec()
93 args.push_back(nullptr); in Exec()
Dmalloc_debug_unit_tests.cpp1357 pointers.push_back(debug_malloc(100)); in BacktraceDumpOnSignal()
1359 pointers.push_back(debug_malloc(40)); in BacktraceDumpOnSignal()
1361 pointers.push_back(debug_malloc(200)); in BacktraceDumpOnSignal()
1365 pointers.push_back(debug_malloc(10)); in BacktraceDumpOnSignal()
1367 pointers.push_back(debug_malloc(50)); in BacktraceDumpOnSignal()
1369 pointers.push_back(debug_malloc(5)); in BacktraceDumpOnSignal()
1378 pointers.push_back(debug_malloc(23)); in BacktraceDumpOnSignal()
1440 pointers.push_back(debug_malloc(300)); in TEST_F()
1441 pointers.push_back(debug_malloc(400)); in TEST_F()
1442 pointers.push_back(debug_malloc(500)); in TEST_F()
[all …]
/bionic/libc/bionic/
Dpthread_atfork.cpp64 void push_back(atfork_t* entry) { in push_back() function in atfork_list_t
169 g_atfork_list.push_back(entry); in __register_atfork()
/bionic/libc/malloc_hooks/tests/
Dmalloc_hooks_tests.cpp139 args.push_back("--gtest_also_run_disabled_tests"); in RunTest()
141 args.push_back(filter_arg.c_str()); in RunTest()
149 args.push_back(nullptr); in RunTest()
/bionic/benchmarks/tests/
Dinterface_test.cpp94 args.push_back(nullptr); in Exec()
119 args.push_back(arg); in RunTest()
/bionic/libfdtrack/
Dfdtrack_test.cpp67 map[fd].push_back(FdtrackFrame{ in RunFdtrack()

12