Home
last modified time | relevance | path

Searched refs:new_entry (Results 1 – 25 of 63) sorted by relevance

123

/external/openscreen/discovery/dnssd/public/
Ddns_sd_txt_record.cc131 std::vector<uint8_t>* new_entry = &data.back(); in GetData() local
132 new_entry->reserve(pair.first.size() + 1 + pair.second.size()); in GetData()
133 new_entry->insert(new_entry->end(), pair.first.begin(), pair.first.end()); in GetData()
134 new_entry->push_back('='); in GetData()
135 new_entry->insert(new_entry->end(), pair.second.begin(), pair.second.end()); in GetData()
140 std::vector<uint8_t>* new_entry = &data.back(); in GetData() local
141 new_entry->insert(new_entry->end(), flag.begin(), flag.end()); in GetData()
/external/cronet/net/third_party/quiche/src/quiche/spdy/core/hpack/
Dhpack_header_table.cc151 HpackEntry* new_entry = dynamic_entries_.front().get(); in TryAddEntry() local
153 HpackLookupEntry{new_entry->name(), new_entry->value()}, index)); in TryAddEntry()
158 << " replacing with: " << new_entry->GetDebugString() in TryAddEntry()
163 HpackLookupEntry{new_entry->name(), new_entry->value()}, index)); in TryAddEntry()
168 dynamic_name_index_.insert(std::make_pair(new_entry->name(), index)); in TryAddEntry()
173 << " replacing with: " << new_entry->GetDebugString() in TryAddEntry()
178 dynamic_name_index_.insert(std::make_pair(new_entry->name(), index)); in TryAddEntry()
Dhpack_encoder_test.cc385 HpackEntry* new_entry = peer_.table_peer().dynamic_entries()->front().get(); in TEST_P() local
386 EXPECT_EQ(new_entry->name(), key_2_->name()); in TEST_P()
387 EXPECT_EQ(new_entry->value(), "value3"); in TEST_P()
397 HpackEntry* new_entry = peer_.table_peer().dynamic_entries()->front().get(); in TEST_P() local
398 EXPECT_EQ(new_entry->name(), "key3"); in TEST_P()
399 EXPECT_EQ(new_entry->value(), "value3"); in TEST_P()
697 HpackEntry* new_entry = peer_.table_peer().dynamic_entries()->front().get(); in TEST_P() local
698 EXPECT_EQ(new_entry->name(), "key3"); in TEST_P()
699 EXPECT_EQ(new_entry->value(), "value3"); in TEST_P()
716 HpackEntry* new_entry = peer_.table_peer().dynamic_entries()->front().get(); in TEST_P() local
[all …]
/external/wmediumd/wmediumd/inc/usfstl/
Dlist.h40 struct usfstl_list_entry *new_entry) in usfstl_list_insert_before() argument
42 new_entry->prev = existing->prev; in usfstl_list_insert_before()
43 existing->prev->next = new_entry; in usfstl_list_insert_before()
44 existing->prev = new_entry; in usfstl_list_insert_before()
45 new_entry->next = existing; in usfstl_list_insert_before()
49 struct usfstl_list_entry *new_entry) in usfstl_list_append() argument
51 usfstl_list_insert_before(&list->list, new_entry); in usfstl_list_append()
/external/protobuf/src/google/protobuf/
Dmap_field.cc453 Message* new_entry = default_entry_->New(MapFieldBase::arena_); in SyncRepeatedFieldWithMapNoLock() local
454 MapFieldBase::repeated_field_->AddAllocated(new_entry); in SyncRepeatedFieldWithMapNoLock()
458 reflection->SetString(new_entry, key_des, map_key.GetStringValue()); in SyncRepeatedFieldWithMapNoLock()
461 reflection->SetInt64(new_entry, key_des, map_key.GetInt64Value()); in SyncRepeatedFieldWithMapNoLock()
464 reflection->SetInt32(new_entry, key_des, map_key.GetInt32Value()); in SyncRepeatedFieldWithMapNoLock()
467 reflection->SetUInt64(new_entry, key_des, map_key.GetUInt64Value()); in SyncRepeatedFieldWithMapNoLock()
470 reflection->SetUInt32(new_entry, key_des, map_key.GetUInt32Value()); in SyncRepeatedFieldWithMapNoLock()
473 reflection->SetBool(new_entry, key_des, map_key.GetBoolValue()); in SyncRepeatedFieldWithMapNoLock()
485 reflection->SetString(new_entry, val_des, map_val.GetStringValue()); in SyncRepeatedFieldWithMapNoLock()
488 reflection->SetInt64(new_entry, val_des, map_val.GetInt64Value()); in SyncRepeatedFieldWithMapNoLock()
[all …]
/external/cronet/third_party/protobuf/src/google/protobuf/
Dmap_field.cc453 Message* new_entry = default_entry_->New(MapFieldBase::arena_); in SyncRepeatedFieldWithMapNoLock() local
454 MapFieldBase::repeated_field_->AddAllocated(new_entry); in SyncRepeatedFieldWithMapNoLock()
458 reflection->SetString(new_entry, key_des, map_key.GetStringValue()); in SyncRepeatedFieldWithMapNoLock()
461 reflection->SetInt64(new_entry, key_des, map_key.GetInt64Value()); in SyncRepeatedFieldWithMapNoLock()
464 reflection->SetInt32(new_entry, key_des, map_key.GetInt32Value()); in SyncRepeatedFieldWithMapNoLock()
467 reflection->SetUInt64(new_entry, key_des, map_key.GetUInt64Value()); in SyncRepeatedFieldWithMapNoLock()
470 reflection->SetUInt32(new_entry, key_des, map_key.GetUInt32Value()); in SyncRepeatedFieldWithMapNoLock()
473 reflection->SetBool(new_entry, key_des, map_key.GetBoolValue()); in SyncRepeatedFieldWithMapNoLock()
485 reflection->SetString(new_entry, val_des, map_val.GetStringValue()); in SyncRepeatedFieldWithMapNoLock()
488 reflection->SetInt64(new_entry, val_des, map_val.GetInt64Value()); in SyncRepeatedFieldWithMapNoLock()
[all …]
/external/libaom/aom_dsp/
Dgrain_table.c249 aom_film_grain_table_entry_t *new_entry = in aom_film_grain_table_lookup() local
250 aom_malloc(sizeof(*new_entry)); in aom_film_grain_table_lookup()
251 if (!new_entry) return 0; in aom_film_grain_table_lookup()
252 new_entry->next = entry->next; in aom_film_grain_table_lookup()
253 new_entry->start_time = end_time; in aom_film_grain_table_lookup()
254 new_entry->end_time = entry->end_time; in aom_film_grain_table_lookup()
255 new_entry->params = entry->params; in aom_film_grain_table_lookup()
256 entry->next = new_entry; in aom_film_grain_table_lookup()
258 if (t->tail == entry) t->tail = new_entry; in aom_film_grain_table_lookup()
/external/pigweed/pw_kvs/
Dentry_test.cc450 Entry new_entry; in TEST_F() local
452 Entry::Read(partition_, 32, kFormatsWithSum, &new_entry)); in TEST_F()
453 EXPECT_EQ(OkStatus(), new_entry.VerifyChecksumInFlash()); in TEST_F()
454 EXPECT_EQ(kFormatWithSum.magic, new_entry.magic()); in TEST_F()
455 EXPECT_EQ(kTransactionId1 + 1, new_entry.transaction_id()); in TEST_F()
477 Entry new_entry; in TEST() local
479 Entry::Read(partition, 32, kFormatsWithSum, &new_entry)); in TEST()
480 EXPECT_EQ(OkStatus(), new_entry.VerifyChecksumInFlash()); in TEST()
481 EXPECT_EQ(kTransactionId1 + 1, new_entry.transaction_id()); in TEST()
503 Entry new_entry; in TEST() local
[all …]
/external/tensorflow/tensorflow/core/platform/cloud/
Dram_file_block_cache.cc51 auto new_entry = std::make_shared<Block>(); in Lookup() local
54 new_entry->lru_iterator = lru_list_.begin(); in Lookup()
55 new_entry->lra_iterator = lra_list_.begin(); in Lookup()
56 new_entry->timestamp = env_->NowSeconds(); in Lookup()
57 block_map_.emplace(std::make_pair(key, new_entry)); in Lookup()
58 return new_entry; in Lookup()
/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/gcs/
Dram_file_block_cache.cc51 auto new_entry = std::make_shared<Block>(); in Lookup() local
54 new_entry->lru_iterator = lru_list_.begin(); in Lookup()
55 new_entry->lra_iterator = lra_list_.begin(); in Lookup()
56 new_entry->timestamp = timer_seconds_(); in Lookup()
57 block_map_.emplace(std::make_pair(key, new_entry)); in Lookup()
58 return new_entry; in Lookup()
/external/selinux/libselinux/src/
Dselinux_restorecon.c313 struct dir_xattr *new_entry; in add_xattr_entry() local
358 new_entry = malloc(sizeof(struct dir_xattr)); in add_xattr_entry()
359 if (!new_entry) { in add_xattr_entry()
363 new_entry->next = NULL; in add_xattr_entry()
365 new_entry->directory = strdup(directory); in add_xattr_entry()
366 if (!new_entry->directory) { in add_xattr_entry()
367 free(new_entry); in add_xattr_entry()
372 new_entry->digest = strdup(sha1_buf); in add_xattr_entry()
373 if (!new_entry->digest) { in add_xattr_entry()
374 free(new_entry->directory); in add_xattr_entry()
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dlsusb.py122 new_entry = {
126 cur[m.group(1)] = new_entry
127 depth_stack.append(new_entry)
/external/openscreen/tools/
Dlicenses.py375 new_entry = MetadataToTemplateEntry(metadata, entry_template)
377 prev_entry = entries_by_name.setdefault(new_entry['name'], new_entry)
378 if prev_entry is not new_entry and (
379 prev_entry['content'] == new_entry['content']):
382 entries.append(new_entry)
/external/tensorflow/tensorflow/lite/kernels/ctc/
Dctc_beam_entry.h122 auto* new_entry = new BeamEntry<CTCBeamState>(p, l, this); in AddEntry() local
123 beam_entries_.emplace_back(new_entry); in AddEntry()
124 return new_entry; in AddEntry()
/external/pigweed/pw_tokenizer/py/pw_tokenizer/
Dtokens.py237 for new_entry in entries:
240 entry = self._database[new_entry.key()]
241 entry.domain = new_entry.domain
244 if new_entry.date_removed is None:
248 and entry.date_removed < new_entry.date_removed
250 entry.date_removed = new_entry.date_removed
253 self._database[new_entry.key()] = TokenizedStringEntry(
254 **vars(new_entry)
/external/tensorflow/tensorflow/core/util/ctc/
Dctc_beam_entry.h125 auto* new_entry = new BeamEntry<T, CTCBeamState>(p, l, this); in AddEntry() local
126 beam_entries_.emplace_back(new_entry); in AddEntry()
127 return new_entry; in AddEntry()
/external/e2fsprogs/lib/ext2fs/
Ddblist.c135 struct ext2_db_entry2 *new_entry; in ext2fs_add_dir_block2() local
152 new_entry = dblist->list + ( dblist->count++); in ext2fs_add_dir_block2()
153 new_entry->blk = blk; in ext2fs_add_dir_block2()
154 new_entry->ino = ino; in ext2fs_add_dir_block2()
155 new_entry->blockcnt = blockcnt; in ext2fs_add_dir_block2()
/external/minijail/
Dutil.c577 char *new_entry = NULL; in minijail_setenv() local
578 if (asprintf(&new_entry, "%s=%s", name, value) == -1) in minijail_setenv()
583 *dest = new_entry; in minijail_setenv()
591 free(new_entry); in minijail_setenv()
595 new_env[i - 1] = new_entry; in minijail_setenv()
/external/mesa3d/src/compiler/glsl/
Dlower_shared_reference.cpp109 struct var_offset *new_entry = rzalloc(list_ctx, struct var_offset); in get_shared_offset() local
110 list_add(&new_entry->node, &var_offsets); in get_shared_offset()
111 new_entry->var = var; in get_shared_offset()
114 new_entry->offset = glsl_align(shared_size, var_align); in get_shared_offset()
117 shared_size = new_entry->offset + var_size; in get_shared_offset()
119 return new_entry->offset; in get_shared_offset()
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dxla_framework_to_llvm_pass.cc125 Block *new_entry = in convertFuncOpToLLVMFuncOp() local
144 Value ptr = LoadValue(rewriter, loc, new_entry->getArgument(3), index); in convertFuncOpToLLVMFuncOp()
152 LoadValue(rewriter, loc, new_entry->getArgument(3), index); in convertFuncOpToLLVMFuncOp()
169 LoadValue(rewriter, loc, new_entry->getArgument(3), inner_index); in convertFuncOpToLLVMFuncOp()
/external/mesa3d/src/intel/tools/
Daub_mem.c110 struct ggtt_entry *new_entry = calloc(1, sizeof(*new_entry)); in ensure_ggtt_entry() local
111 new_entry->virt_addr = virt_addr; in ensure_ggtt_entry()
112 rb_tree_insert_at(&mem->ggtt, node, &new_entry->node, cmp < 0); in ensure_ggtt_entry()
113 node = &new_entry->node; in ensure_ggtt_entry()
/external/cronet/net/http/
Dmock_http_cache.cc497 MockDiskEntry* new_entry = new MockDiskEntry(key); in CreateEntry() local
499 new_entry->AddRef(); in CreateEntry()
500 entries_[key] = new_entry; in CreateEntry()
502 new_entry->AddRef(); in CreateEntry()
505 new_entry->set_fail_requests(soft_failures_ | soft_failures_one_instance_); in CreateEntry()
510 new_entry->set_fail_sparse_requests(); in CreateEntry()
512 new_entry->set_max_file_size(max_file_size_); in CreateEntry()
514 EntryResult result = EntryResult::MakeCreated(new_entry); in CreateEntry()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/qpack/
Dqpack_header_table.h188 auto new_entry = internal::NewEntry(std::string(name), std::string(value), in InsertEntry() local
190 const size_t entry_size = internal::GetSize(new_entry); in InsertEntry()
194 dynamic_entries_.push_back(std::move(new_entry)); in InsertEntry()
/external/wpa_supplicant_8/src/rsn_supp/
Dpmksa_cache.c481 struct rsn_pmksa_cache_entry *new_entry; in pmksa_cache_clone_entry() local
492 new_entry = pmksa_cache_add(pmksa, old_entry->pmk, old_entry->pmk_len, in pmksa_cache_clone_entry()
498 if (new_entry == NULL) in pmksa_cache_clone_entry()
502 new_entry->expiration = old_expiration; in pmksa_cache_clone_entry()
503 new_entry->reauth_time = old_reauth_time; in pmksa_cache_clone_entry()
504 new_entry->opportunistic = 1; in pmksa_cache_clone_entry()
506 return new_entry; in pmksa_cache_clone_entry()
/external/mesa3d/src/compiler/nir/
Dnir_opt_copy_prop_vars.c293 hash_table_foreach(new_written->derefs, new_entry) { in gather_vars_written()
295 _mesa_hash_table_search_pre_hashed(written->derefs, new_entry->hash, in gather_vars_written()
296 new_entry->key); in gather_vars_written()
298 nir_component_mask_t merged = (uintptr_t) new_entry->data | in gather_vars_written()
302 _mesa_hash_table_insert_pre_hashed(written->derefs, new_entry->hash, in gather_vars_written()
303 new_entry->key, new_entry->data); in gather_vars_written()
315 struct copy_entry new_entry = { in copy_entry_create() local
318 util_dynarray_append(copies, struct copy_entry, new_entry); in copy_entry_create()

123