Searched refs:clone (Results 1 - 19 of 19) sorted by relevance
/system/core/libcutils/ |
H A D | native_handle.cpp | 58 native_handle_t* clone = native_handle_create(handle->numFds, handle->numInts); local 59 if (clone == NULL) return NULL; 62 clone->data[i] = dup(handle->data[i]); 63 if (clone->data[i] == -1) { 64 clone->numFds = i; 65 native_handle_close(clone); 66 native_handle_delete(clone); 71 memcpy(&clone->data[handle->numFds], &handle->data[handle->numFds], 74 return clone;
|
/system/media/camera/docs/ |
H A D | metadata_validate.py | 50 or a <clone ...> XML node. 64 elif entry.name == 'clone': 191 Validate that all <clone> elements point to an existing <entry> element. 201 for clone in soup.find_all("clone"): 202 clone_entry = clone['entry'] 203 clone_kind = clone['kind'] 205 parent_kind = find_kind(clone) 213 error_msg = ("Did not find corresponding clone entry '%s' " + \ 218 clone_name = fully_qualified_name(clone) [all...] |
H A D | metadata_template.mako | 72 <clone entry="${prop.name}" kind="${prop.target_kind}" 94 </clone>
|
H A D | metadata_model.py | 25 Clone: A node corresponding to <clone> elements. 26 MergedEntry: A node corresponding to either <entry> or <clone> elements. 307 def insert_clone(self, clone): 309 Insert a clone into the metadata. 312 clone: A key-value dictionary describing a clone. Refer to 316 Subsequent calls to insert_clone with the same clone+kind name are safe 318 ahead of the clone entry. 320 # figure out corresponding entry later. allow clone insert, entry insert 322 c = Clone(entry, **clone) [all...] |
/system/tpm/attestation/server/ |
H A D | attestationd-seccomp-amd64.policy | 77 clone: 1
|
/system/tpm/tpm_manager/server/ |
H A D | tpm_managerd-seccomp-amd64.policy | 79 clone: 1
|
/system/tpm/trunks/ |
H A D | trunksd-seccomp-amd64.policy | 69 clone: 1
|
H A D | trunksd-seccomp-arm.policy | 64 clone: 1
|
H A D | trunksd-seccomp-arm64.policy | 64 clone: 1
|
H A D | trunksd-seccomp-mips.policy | 64 clone: 1
|
H A D | trunksd-seccomp-x86.policy | 70 clone: 1
|
H A D | trunksd-seccomp-x86_64.policy | 69 clone: 1
|
/system/bt/btcore/src/ |
H A D | property.cc | 34 bt_property_t* clone = local 37 memcpy(&clone[0], &properties[0], sizeof(bt_property_t) * count); 39 clone[i].val = osi_calloc(clone[i].len); 40 memcpy(clone[i].val, properties[i].val, clone[i].len); 43 return clone;
|
/system/bt/osi/test/ |
H A D | config_test.cc | 79 std::unique_ptr<config_t> clone = config_new_clone(*config); local 81 config_set_string(clone.get(), CONFIG_DEFAULT_SECTION, "first_key", 88 config_get_string(*clone, CONFIG_DEFAULT_SECTION, "first_key", &one)
|
/system/core/debuggerd/handler/ |
H A D | debuggerd_handler.cpp | 241 return clone(nullptr, nullptr, 0, nullptr); 244 // Double-clone, with CLONE_FILES to share the file descriptor table for kcmp validation. 247 pid_t first = clone(nullptr, nullptr, CLONE_FILES, nullptr); 249 fatal_errno("failed to clone vm process"); 253 if (clone(nullptr, nullptr, CLONE_FILES, nullptr) == -1) { 268 fatal("second clone failed: %s", strerror(WEXITSTATUS(status))); 517 clone(debuggerd_dispatch_pseudothread, pseudothread_stack,
|
/system/core/libmemunreachable/ |
H A D | PtracerThread.cpp | 102 child_pid_ = clone(proxy, stack_->top(), CLONE_VM | CLONE_FS | CLONE_FILES /*|CLONE_UNTRACED*/, 105 MEM_ALOGE("failed to clone child: %s", strerror(errno));
|
/system/media/camera/src/ |
H A D | camera_metadata.c | 630 camera_metadata_t *clone = allocate_camera_metadata( 633 if (clone != NULL) { 634 res = append_camera_metadata(clone, src); 636 free_camera_metadata(clone); 637 clone = NULL; 640 assert(validate_camera_metadata_structure(clone, NULL) == OK); 641 return clone;
|
/system/core/libunwindstack/tests/ |
H A D | RegsTest.cpp | 297 std::unique_ptr<Regs> clone(regs->Clone()); 298 ASSERT_EQ(regs->total_regs(), clone->total_regs()); 299 RegisterType* clone_values = reinterpret_cast<RegisterType*>(clone->RawData()); 306 TEST_F(RegsTest, clone) {
|
/system/core/init/ |
H A D | service.cpp | 841 pid = clone(nullptr, nullptr, namespace_flags_ | SIGCHLD, nullptr);
|
Completed in 284 milliseconds