Searched refs:clone (Results 1 - 19 of 19) sorted by relevance

/system/core/libcutils/
H A Dnative_handle.cpp58 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 Dmetadata_validate.py50 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 Dmetadata_template.mako72 <clone entry="${prop.name}" kind="${prop.target_kind}"
94 </clone>
H A Dmetadata_model.py25 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 Dattestationd-seccomp-amd64.policy77 clone: 1
/system/tpm/tpm_manager/server/
H A Dtpm_managerd-seccomp-amd64.policy79 clone: 1
/system/tpm/trunks/
H A Dtrunksd-seccomp-amd64.policy69 clone: 1
H A Dtrunksd-seccomp-arm.policy64 clone: 1
H A Dtrunksd-seccomp-arm64.policy64 clone: 1
H A Dtrunksd-seccomp-mips.policy64 clone: 1
H A Dtrunksd-seccomp-x86.policy70 clone: 1
H A Dtrunksd-seccomp-x86_64.policy69 clone: 1
/system/bt/btcore/src/
H A Dproperty.cc34 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 Dconfig_test.cc79 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 Ddebuggerd_handler.cpp241 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 DPtracerThread.cpp102 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 Dcamera_metadata.c630 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 DRegsTest.cpp297 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 Dservice.cpp841 pid = clone(nullptr, nullptr, namespace_flags_ | SIGCHLD, nullptr);

Completed in 284 milliseconds