Home
last modified time | relevance | path

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

12

/bionic/linker/tests/
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 …]
/bionic/tools/relocation_packer/src/
Dsleb128_unittest.cc15 values.push_back(624485U); in TEST()
16 values.push_back(0U); in TEST()
17 values.push_back(1U); in TEST()
18 values.push_back(63U); in TEST()
19 values.push_back(64U); in TEST()
20 values.push_back(static_cast<uint64_t>(-1)); in TEST()
21 values.push_back(static_cast<uint64_t>(-624485)); in TEST()
93 encoding.push_back(0xe5); in TEST()
94 encoding.push_back(0x8e); in TEST()
95 encoding.push_back(0x26); in TEST()
[all …]
Dpacker_unittest.cc23 relocations->push_back(relocation); in AddRelocation()
100 packed.push_back('A'); in DoUnpackNoAddend()
101 packed.push_back('P'); in DoUnpackNoAddend()
102 packed.push_back('S'); in DoUnpackNoAddend()
103 packed.push_back('2'); in DoUnpackNoAddend()
105 packed.push_back(6); in DoUnpackNoAddend()
107 packed.push_back(0xfc); in DoUnpackNoAddend()
108 packed.push_back(0xff); in DoUnpackNoAddend()
109 packed.push_back(0xb7); in DoUnpackNoAddend()
110 packed.push_back(0x8e); in DoUnpackNoAddend()
[all …]
Ddelta_encoder_unittest.cc22 relocations->push_back(relocation); in AddRelocation()
168 packed.push_back(6U); // count in decode()
169 packed.push_back(0xc0ddfffc); // base offset in decode()
170 packed.push_back(3U); // group count in decode()
171 packed.push_back(11U); // flags in decode()
172 packed.push_back(4U); // offset delta in decode()
173 packed.push_back(11U); // info in decode()
175 packed.push_back(10000U); in decode()
177 packed.push_back(12U); // addend in decode()
178 packed.push_back(12U); // addend in decode()
[all …]
Dpacker.cc36 packed->push_back('A'); in PackRelocations()
37 packed->push_back('P'); in PackRelocations()
38 packed->push_back('S'); in PackRelocations()
39 packed->push_back('2'); in PackRelocations()
Ddelta_encoder.cc43 packed->push_back(static_cast<ElfAddr>(relocations.size())); in Encode()
50 packed->push_back(start_offset); in Encode()
68 packed->push_back(group_size); in Encode()
69 packed->push_back(group_flags); in Encode()
72 packed->push_back(group_offset_delta); in Encode()
76 packed->push_back(group_info); in Encode()
81 packed->push_back(group_addend - previous_addend); in Encode()
90 packed->push_back(relocation->r_offset - previous_offset); in Encode()
95 packed->push_back(relocation->r_info); in Encode()
100 packed->push_back(relocation->r_addend - previous_addend); in Encode()
[all …]
Dsleb128.cc69 encoding_.push_back(byte); in Enqueue()
122 values->push_back(Dequeue()); in DequeueAll()
/bionic/tools/versioner/src/
DDriver.cpp101 cmd.push_back("-std=c11"); in generateTargetCC1Flags()
102 cmd.push_back("-x"); in generateTargetCC1Flags()
103 cmd.push_back("c-header"); in generateTargetCC1Flags()
104 cmd.push_back("-fsyntax-only"); in generateTargetCC1Flags()
106 cmd.push_back("-Wall"); in generateTargetCC1Flags()
107 cmd.push_back("-Wextra"); in generateTargetCC1Flags()
108 cmd.push_back("-Werror"); in generateTargetCC1Flags()
109 cmd.push_back("-Wundef"); in generateTargetCC1Flags()
110 cmd.push_back("-Wno-unused-macros"); in generateTargetCC1Flags()
111 cmd.push_back("-Wno-unused-function"); in generateTargetCC1Flags()
[all …]
DUtils.cpp60 headers.push_back(ent->fts_path); in collectHeaders()
/bionic/libc/seccomp/
Dseccomp_policy.cpp72 f.push_back(BPF_STMT(BPF_RET|BPF_K, SECCOMP_RET_TRAP)); in Disallow()
76 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, syscall_nr)); in ExamineSyscall()
93 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, arch_nr)); in ValidateArchitectureAndJumpIfNeeded()
94 f.push_back(BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, PRIMARY_ARCH, 2, 0)); in ValidateArchitectureAndJumpIfNeeded()
95 f.push_back(BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, SECONDARY_ARCH, 1, 0)); in ValidateArchitectureAndJumpIfNeeded()
101 f.push_back(BPF_STMT(BPF_LD|BPF_W|BPF_ABS, arch_nr)); in ValidateArchitecture()
102 f.push_back(BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, PRIMARY_ARCH, 1, 0)); in ValidateArchitecture()
137 f.push_back(primary_filter[i]); in set_seccomp_filter()
149 f.push_back(secondary_filter[i]); in set_seccomp_filter()
/bionic/linker/
Dlinker_namespaces.cpp103 global_group.push_back(si); in get_global_group()
123 shared_group.push_back(si); in get_shared_group()
Dlinker_namespaces.h109 linked_namespaces_.push_back(android_namespace_link_t(linked_namespace, shared_lib_sonames)); in add_linked_namespace()
113 soinfo_list_.push_back(si); in add_soinfo()
Dlinker_utils.cpp214 resolved_paths->push_back(resolved_path); in resolve_paths()
240 resolved_paths->push_back(std::string(resolved_path) + kZipFileSeparator + entry_path); in resolve_paths()
Dlinked_list.h104 void push_back(T* const element) { in push_back() function
253 one_element_list.push_back(element); in make_list()
Dlinker_config.h93 namespace_links_.push_back(NamespaceLinkConfig(ns_name, shared_libs)); in add_namespace_link()
Dlinker_config.cpp330 params.push_back({ "LIB", kLibParamValue }); in get_paths()
334 params.push_back({ "SDK_VER", buf }); in get_paths()
492 namespace_configs_.push_back(std::unique_ptr<NamespaceConfig>(new NamespaceConfig(name))); in create_namespace_config()
Dlinker.cpp717 visit_list.push_back(root_soinfos[i]); in walk_dependencies_tree()
732 visited.push_back(si); in walk_dependencies_tree()
736 visit_list.push_back(child); in walk_dependencies_tree()
1305 load_tasks->push_back(LoadTask::create(name, si, ns, task->get_readers_map())); in load_library()
1515 load_tasks.push_back(LoadTask::create(name, start_with, ns, &readers_map)); in find_libraries()
1584 ld_preloads->push_back(si); in find_libraries()
1602 load_list.push_back(task); in find_libraries()
1638 new_global_group_members.push_back(si); in find_libraries()
1682 local_group.push_back(si); in find_libraries()
1778 unload_list.push_back(si); in soinfo_unload()
[all …]
/bionic/libc/malloc_debug/tests/
Dbacktrace_fake.cpp34 g_fake_backtrace.push_back(ips); in backtrace_fake_add()
/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/tests/
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()
Ddlfcn_symlink_support.cpp67 buf.push_back('\0'); in create_dlfcn_test_symlink()
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()
Dgtest_main.cpp185 test_list_.push_back(Test(test_name)); in AppendTest()
308 testcase_list.push_back(TestCase(start)); in EnumerateTests()
407 timeout_test_list.push_back( in OnTestIterationEndPrint()
413 fail_test_name_list.push_back(testcase.GetTestName(i)); in OnTestIterationEndPrint()
417 slow_test_list.push_back(std::make_tuple(testcase.GetTestName(i), in OnTestIterationEndPrint()
905 child_proc_list.push_back(child_proc); in RunTestInSeparateProc()
1043 args.push_back(strdup(gtest_filter_str.c_str())); in PickOptions()
1173 arg_list.push_back(argv[i]); in main()
1190 arg_list.push_back(NULL); in main()
1199 arg_list.push_back(NULL); in main()
/bionic/libc/malloc_debug/
DTrackData.cpp52 list->push_back(header); in GetList()

12