Home
last modified time | relevance | path

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

12

/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
Dnoop_header_validator_test.cc125 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
127 v.ValidateSingleHeader(to_add.first, to_add.second)); in TEST()
135 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
137 v.ValidateSingleHeader(to_add.first, to_add.second)); in TEST()
149 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
150 if (to_add != to_skip) { in TEST()
152 v.ValidateSingleHeader(to_add.first, to_add.second)); in TEST()
161 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
163 v.ValidateSingleHeader(to_add.first, to_add.second)); in TEST()
170 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
[all …]
Dheader_validator_test.cc231 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
233 v.ValidateSingleHeader(to_add.first, to_add.second)); in TEST()
241 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
243 v.ValidateSingleHeader(to_add.first, to_add.second)); in TEST()
254 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
255 if (to_add != to_skip) { in TEST()
257 v.ValidateSingleHeader(to_add.first, to_add.second)); in TEST()
266 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
268 v.ValidateSingleHeader(to_add.first, to_add.second)); in TEST()
274 for (Header to_add : kSampleRequestPseudoheaders) { in TEST() local
[all …]
/external/cronet/net/disk_cache/blockfile/
Dbitmap.cc281 uint32_t to_add = 0xffffffff << len; in SetWordBits() local
282 to_add = (~to_add) << offset; in SetWordBits()
284 map_[word] |= to_add; in SetWordBits()
286 map_[word] &= ~to_add; in SetWordBits()
Dblock_files.cc89 uint32_t to_add = ((1 << size) - 1) << index_offset; in CreateMapBlock() local
97 header_->allocation_map[current] |= to_add; in CreateMapBlock()
440 int to_add = index - static_cast<int>(block_files_.size()) + 1; in OpenBlockFile() local
441 block_files_.resize(block_files_.size() + to_add); in OpenBlockFile()
/external/grpc-grpc/test/core/channel/
Dchannel_args_test.cc33 grpc_arg to_add[2]; in test_create() local
44 to_add[0] = arg_int; in test_create()
45 to_add[1] = arg_string; in test_create()
46 ch_args = grpc_channel_args_copy_and_add(nullptr, to_add, 2); in test_create()
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dauto_mixed_precision_lists.h65 string to_add, to_remove; in UpdateList() local
66 TF_CHECK_OK(ReadStringFromEnvVar(add_env_var, "", &to_add)); in UpdateList()
68 for (const auto& x : str_util::Split(to_add, ",")) { in UpdateList()
/external/grpc-grpc/src/core/lib/channel/
Dchannel_args.h39 const grpc_arg* to_add,
51 const grpc_arg* to_add, size_t num_to_add);
Dchannel_args.cc55 const grpc_arg* to_add, in grpc_channel_args_copy_and_add() argument
57 return grpc_channel_args_copy_and_add_and_remove(src, nullptr, 0, to_add, in grpc_channel_args_copy_and_add()
78 const grpc_arg* to_add, size_t num_to_add) { in grpc_channel_args_copy_and_add_and_remove() argument
109 dst->args[dst_idx++] = copy_arg(&to_add[i]); in grpc_channel_args_copy_and_add_and_remove()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/channel/
Dchannel_args.h41 const grpc_arg* to_add,
53 const grpc_arg* to_add, size_t num_to_add);
Dchannel_args.cc61 const grpc_arg* to_add, in grpc_channel_args_copy_and_add() argument
63 return grpc_channel_args_copy_and_add_and_remove(src, nullptr, 0, to_add, in grpc_channel_args_copy_and_add()
84 const grpc_arg* to_add, size_t num_to_add) { in grpc_channel_args_copy_and_add_and_remove() argument
115 dst->args[dst_idx++] = copy_arg(&to_add[i]); in grpc_channel_args_copy_and_add_and_remove()
/external/cronet/net/third_party/quiche/src/quiche/quic/core/io/
Dsocket_posix.cc76 absl::Status SetSocketFlags(SocketFd fd, int to_add, int to_remove) { in SetSocketFlags() argument
78 QUICHE_DCHECK(to_add || to_remove); in SetSocketFlags()
79 QUICHE_DCHECK(!(to_add & to_remove)); in SetSocketFlags()
92 QUICHE_DCHECK(!(flags & to_add) || (flags & to_remove)); in SetSocketFlags()
96 fcntl_result = ::fcntl(fd, F_SETFL, (flags | to_add) & ~to_remove); in SetSocketFlags()
/external/autotest/server/hosts/
Dgce_host.py75 def _modify_ssh_keys(self, to_add, to_remove): argument
85 new_key_set = (key_set | set(to_add)) - set(to_remove)
/external/cronet/base/profiler/
Dmodule_cache_unittest.cc302 std::vector<std::unique_ptr<const ModuleCache::Module>> to_add; in MAYBE_TEST() local
304 to_add.push_back(std::make_unique<FakeModule>(i + 1, 1, false)); in MAYBE_TEST()
307 std::vector<const ModuleCache::Module*> to_remove = {to_add[1].get(), in MAYBE_TEST()
308 to_add[3].get()}; in MAYBE_TEST()
312 cache.UpdateNonNativeModules({}, std::move(to_add)); in MAYBE_TEST()
/external/tensorflow/tensorflow/python/framework/
Dauto_control_deps.py647 to_add = []
651 to_add.extend(resource.op.inputs)
654 resource_inputs.update(to_add)
655 return to_add or to_remove
/external/tensorflow/tensorflow/core/data/
Ddataset_utils.cc305 const FunctionLibraryDefinition& to_add) { in AddToFunctionLibrary() argument
306 for (const auto& fn : to_add.ListFunctionNames()) { in AddToFunctionLibrary()
308 if (!OpDefEqual(found->signature(), to_add.Find(fn)->signature())) { in AddToFunctionLibrary()
316 return base->AddLibrary(to_add); in AddToFunctionLibrary()
320 const FunctionDefLibrary& to_add) { in AddToFunctionLibrary() argument
321 for (const auto& fd : to_add.function()) { in AddToFunctionLibrary()
332 return base->AddLibrary(to_add); in AddToFunctionLibrary()
Ddataset_utils.h199 const FunctionLibraryDefinition& to_add);
201 const FunctionDefLibrary& to_add);
/external/toolchain-utils/binary_search_tool/
Dbinary_search_perforce.py228 to_add = (
233 q.append(to_add)
235 to_add = (
240 q.append(to_add)
/external/pigweed/pw_tokenizer/py/
Ddatabase_test.py232 to_add = self._dir / 'add_this.csv'
233 to_add.write_text(db_with_custom_token + '\n')
236 run_cli('add', '--database', self._csv, to_add)
/external/python/cpython3/Lib/test/libregrtest/
Druntest_mp.py521 to_add = []
523 to_add.extend(cls.__subclasses__())
524 classes.update(to_add)
/external/rust/crates/ahash/src/
Doperations.rs76 pub(crate) fn shuffle_and_add(base: u128, to_add: u128) -> u128 { in shuffle_and_add()
78 add_by_64s(shuffled, to_add.convert()).convert() in shuffle_and_add()
/external/cronet/base/
Dobserver_list_threadsafe_unittest.cc61 void SetToAdd(Foo* to_add) { to_add_ = to_add; } in SetToAdd() argument
/external/perfetto/src/trace_processor/util/
Dprotozero_to_text.cc98 void StrAppend(std::string* out, const T& to_add) { in StrAppend() argument
99 out->append(to_add); in StrAppend()
/external/tensorflow/tensorflow/compiler/xla/service/spmd/
Dfft_handler.cc180 auto add_hlo = [&](std::unique_ptr<HloInstruction> to_add) { in GetCorrectionFactor() argument
181 return b->AddInstruction(std::move(to_add)); in GetCorrectionFactor()
/external/tensorflow/tensorflow/compiler/jit/
Ddeadness_analysis.cc737 std::vector<Predicate*> to_add; in MakeAndOrImpl() local
748 to_add.push_back(and_rec->start()); in MakeAndOrImpl()
760 simplified_ops.insert(simplified_ops.end(), to_add.begin(), to_add.end()); in MakeAndOrImpl()
/external/tensorflow/tensorflow/python/tpu/
Dtpu.py268 to_add = []
272 to_add.extend(resource.op.inputs)
275 resource_inputs.update(to_add)
276 return to_add or to_remove

12