Home
last modified time | relevance | path

Searched refs:item (Results 1 – 11 of 11) sorted by relevance

/trusty/kernel/lib/trusty/
Dipc_msg.c148 struct msg_item* item = &mq->items[i]; in ipc_msg_queue_destroy() local
149 if (item->num_handles) { in ipc_msg_queue_destroy()
150 for (uint j = 0; j < item->num_handles; j++) { in ipc_msg_queue_destroy()
151 handle_decref(item->handles[j]); in ipc_msg_queue_destroy()
168 struct msg_item* item) { in msg_queue_get_buf() argument
169 return mq->buf + item->id * mq->item_sz; in msg_queue_get_buf()
193 struct msg_item* item, in kern_msg_write_locked() argument
196 uint8_t* buf = msg_queue_get_buf(mq, item); in kern_msg_write_locked()
231 item->handles[i] = msg->handles[i]; in kern_msg_write_locked()
232 item->num_handles++; in kern_msg_write_locked()
[all …]
Ductx.c686 struct htbl_entry* item, in _hset_add_item() argument
693 list_for_every_entry(&item->ref_list, ref, struct handle_ref, uctx_node) { in _hset_add_item()
710 return _hset_add_handle(hset, item->handle, id, emask, cookie, in _hset_add_item()
711 item->ref_list.prev); in _hset_add_item()
714 static int _hset_del_item(struct handle* hset, struct htbl_entry* item) { in _hset_del_item() argument
719 list_for_every_entry_safe(&item->ref_list, ref, tmp, struct handle_ref, in _hset_del_item()
734 struct htbl_entry* item, in _hset_mod_item() argument
741 list_for_every_entry_safe(&item->ref_list, ref, tmp, struct handle_ref, in _hset_mod_item()
/trusty/user/base/lib/storage/
Dstorage.c434 struct storage_file_list_resp* item; in storage_read_dir() local
447 if (rem < sizeof(*item)) { in storage_read_dir()
451 item = (void*)(state->buf + state->buf_read); in storage_read_dir()
452 rem -= sizeof(*item); in storage_read_dir()
454 *flags = item->flags; in storage_read_dir()
455 if ((item->flags & STORAGE_FILE_LIST_STATE_MASK) == STORAGE_FILE_LIST_END) { in storage_read_dir()
459 name_size = strnlen(item->name, rem) + 1; in storage_read_dir()
467 strcpy(name, item->name); in storage_read_dir()
471 state->buf_read += sizeof(*item) + name_size; in storage_read_dir()
/trusty/user/base/app/apploader/tests/cbor_test/
Dcbor_test.cpp143 auto [item, _, err] = cppbor::parse(res.value()); in TEST()
144 ASSERT_NE(item, nullptr); in TEST()
145 auto resMap = item->asMap(); in TEST()
388 auto [item, _, err] = cppbor::parse(vec);
389 ASSERT_NE(item, nullptr);
390 const auto outerArray = item->asArray();
/trusty/vendor/google/aosp/scripts/
Dtrusty_build_config.py290 for item in dist:
291 assert isinstance(item, TrustyArchiveBuildFile), item
292 self.dist.append(item)
423 def match(item): argument
425 project = self.projects[item]
Dbuild.py502 for item in build_config.dist:
504 args, project, item.src, item.dest, optional=item.optional
/trusty/user/app/sample/rust-hello-world/
Dlib.rs51 fn from(item: u8) -> Self { in from()
52 match item { in from()
/trusty/host/common/scripts/metrics_atoms_protoc_plugin/
Dmetrics_atoms_protoc_plugin.py343 for item in [
347 tm = jinja_template_env.get_template(item["tpl"])
352 if item['ext'] == 'h':
/trusty/user/base/lib/apploader_package/include/apploader/
Dcose.h251 bool coseDecryptAesGcmKeyWrapInPlace(const CoseByteView& item,
/trusty/user/base/tools/
Dmanifest_compiler.py596 if any(item.id == mem_map.id for item in mem_io_maps):
1221 for item in const_list:
1222 item = coerce_to_dict(item, CONSTANTS, log)
1223 if item is None:
1225 constants.append(parse_constant(item, log))
1226 if item:
/trusty/user/base/lib/apploader_package/
Dcose.cpp423 for (size_t item = 0; item < 2 * unprotectedHeadersSize; item++) { in coseCheckEcDsaSignature() local
1062 const CoseByteView& item, in coseDecryptAesGcmInPlace() argument
1072 CborInInit(item.data(), item.size(), &in); in coseDecryptAesGcmInPlace()