/external/swiftshader/third_party/LLVM/unittests/ADT/ |
DeltaAlgorithmTest.cpp | 21 for (std::set<unsigned>::const_iterator it = S.begin(), 22 ie = S.end(); it != ie; ++it) { 23 if (it != S.begin()) 25 OS << *it; local
|
/external/swiftshader/third_party/LLVM/utils/unittest/googletest/ |
gtest-typed-test.cc | 71 for (DefinedTestIter it = defined_test_names_.begin(); 72 it != defined_test_names_.end(); 73 ++it) { 74 if (name == *it) { 88 for (DefinedTestIter it = defined_test_names_.begin(); 89 it != defined_test_names_.end(); 90 ++it) { 91 if (tests.count(*it) == 0) { 92 errors << "You forgot to list test " << *it << ".\n"; local
|
/external/tensorflow/tensorflow/compiler/xla/ |
map_util.h | 29 // the given key if it exists. Crashes otherwise. 37 typename Collection::const_iterator it = collection.find(key); local 38 CHECK(it != collection.end()) << "Map key not found: " << key; 39 return it->second; 47 typename Collection::iterator it = collection.find(key); local 48 CHECK(it != collection.end()) << "Map key not found: " << key; 49 return it->second; 59 typename Collection::const_iterator it = collection.find(key); local 60 if (it == collection.end()) { 65 return {it->second} 82 auto it = collection.find(key); local [all...] |
/external/tensorflow/tensorflow/compiler/xla/service/cpu/ |
cpu_options.cc | 55 auto it = extra_options_map.find(kLlvmIrDotTilingFactor); local 57 if (it != extra_options_map.end() && 58 tensorflow::strings::safe_strto64(it->second, &tiling_factor)) {
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
execution_tracker.cc | 66 auto it = handle_to_execution_.find(handle.handle()); local 67 if (it == handle_to_execution_.end()) { 78 auto it = handle_to_execution_.find(handle.handle()); local 79 if (it == handle_to_execution_.end()) { 83 return it->second.get();
|
hlo_opcode.cc | 40 auto it = opcode_map->find(opcode_name); local 41 if (it == opcode_map->end()) { 44 return it->second;
|
transfer_manager.cc | 98 auto it = managers->find(platform->id()); local 99 if (it == managers->end()) { 106 if (it->second.manager == nullptr) { 107 // Lazily create the transfer manager the first time it is needed 108 it->second.manager = (*it->second.creation_function)(); 111 return it->second.manager.get();
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
hlo_to_ir_bindings.h | 75 auto it = base_ptrs_.find(&hlo); local 76 CHECK(it != base_ptrs_.end()) << hlo.ToString(); 77 return it->second.element(shape_index);
|
kernel_thunk.cc | 73 auto it = kernel_cache_.find(executor); local 74 if (kernel_cache_.end() == it) { 75 it = kernel_cache_.emplace(executor, se::KernelBase(executor)).first; 76 if (!executor->GetKernel(*loader_spec_, &it->second)) { 81 kernel = &it->second;
|
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/ |
fused_ir_emitter.cc | 46 // Ideally, we should be able to reuse the cached generated value if it 50 // It's also worth experimenting what if we don't do caching at all. 59 VLOG(3) << "The cached generated value can't be reused, because it is in " 95 auto it = gte_values_.find(operand); local 96 if (it == gte_values_.end()) { 102 // Emit code to lookup tuple element pointer, and store it in 'gte_values_'. 105 /*alignment=*/1, it->second, ir_builder_, module_);
|
fused_ir_emitter.h | 50 // arrays in the tuple. It follows that the arrays in the tuple must have the 84 auto it = gte_values_.find(hlo); local 85 CHECK(it != gte_values_.end()); 86 return it->second;
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
test_macros.cc | 29 // Mapping from test name; i.e. MyTest.MyTestCase to platforms on which it is 75 auto it = manifest.find( local 77 if (it == manifest.end()) { 78 it = manifest.find(test_case_name); 79 if (it == manifest.end()) { 85 const std::vector<string>& disabled_platforms = it->second; 93 // We didn't hit in the disabled manifest entries, so don't disable it.
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/accumulators/ |
feature-stats-accumulator.h | 59 auto it = feature_column_stats_[slot_id].find( local 61 return it != feature_column_stats_[slot_id].end() ? it->second
|
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/ |
make_initial_dequantize_operator.cc | 29 // flags.input_array()). It has to wait for any existing operators that 37 // created. Alternatively it may be an operator that needs to be removed 38 // because it is unused, in which case we wait for RemoveUnusedOp to do its 46 // dequant operator at the beginning of the op sequence, but it makes the 103 const auto it = model->operators.begin() + op_index; local 104 const auto* op = it->get();
|
propagate_array_data_types.cc | 36 auto it = model->operators.begin() + op_index; local 37 auto* op = it->get(); 109 // Yield on ExpandDim until it is converted to Reshape
|
resolve_constant_range.cc | 23 const auto it = model->operators.begin() + op_index; local 24 auto* base_op = it->get(); 102 model->operators.erase(it);
|
resolve_constant_stack.cc | 53 auto it = model->operators.begin() + op_index; local 54 const auto* base_op = it->get(); 109 model->operators.erase(it);
|
/external/tensorflow/tensorflow/contrib/tensor_forest/kernels/v4/ |
leaf_model_operators.cc | 81 const auto it = leaf.sparse_vector().sparse_value().find(o); local 82 if (it == leaf.sparse_vector().sparse_value().end()) { 85 return it->second.float_value(); 99 auto it = value_map->find(int_label); local 100 if (it == value_map->end()) { 103 it->second.set_float_value(it->second.float_value() + weight);
|
/external/tensorflow/tensorflow/core/lib/gtl/ |
map_util.h | 32 // Returns a pointer to the const value associated with the given key if it 38 typename Collection::const_iterator it = collection.find(key); local 39 if (it == collection.end()) { 42 return &it->second; 50 typename Collection::iterator it = collection.find(key); local 51 if (it == collection.end()) { 54 return &it->second; 67 typename Collection::const_iterator it = collection.find(key); local 68 if (it == collection.end()) { 71 return it->second 88 typename Collection::const_iterator it = collection.find(key); local [all...] |
/external/tensorflow/tensorflow/stream_executor/ |
executor_cache.cc | 71 auto it = cache_.find(config.ordinal); local 72 if (it != cache_.end()) { 73 entry = &it->second;
|
temporary_memory_manager.cc | 31 for (auto it = records_.begin(); it != records_.end(); ++it) { 32 DeviceMemoryBase device_memory = it->first; 40 auto it = records_.find(device_memory); local 41 if (it == records_.end()) { 48 it->second.finalized = true; 54 for (auto it = records_.begin(); it != records_.end();) { 55 if (it->second.finalized) 70 auto it = records_.find(device_memory); local 86 auto it = records_.find(device_memory); local [all...] |
/external/turbine/java/com/google/turbine/parse/ |
IteratorLexer.java | 30 private final Iterator<SavedToken> it; field in class:IteratorLexer 33 public IteratorLexer(SourceFile source, Iterator<SavedToken> it) { 35 this.it = it; 45 if (it.hasNext()) { 46 curr = it.next();
|
/external/v8/src/builtins/ |
builtins-reflect.cc | 244 LookupIterator it = LookupIterator::PropertyOrElement( local 247 &it, value, SLOPPY, Object::MAY_BE_STORE_FROM_KEYED);
|
/external/v8/src/compiler/ |
graph.cc | 41 auto const it = std::find(decorators_.begin(), decorators_.end(), decorator); local 42 DCHECK(it != decorators_.end()); 43 decorators_.erase(it);
|
/external/v8/src/heap/ |
array-buffer-tracker-inl.h | 59 TrackingData::iterator it = array_buffers_.find(key); local 61 DCHECK(it != array_buffers_.end()); 62 Value value = it->second; 63 array_buffers_.erase(it);
|