/external/icing/icing/file/ |
D | file-backed-bitmap.cc | 165 libtextclassifier3::Status FileBackedBitmap::SetWord(int word_index, in SetWord() argument 167 if (word_index >= NumBits() / kNumWordBits) { in SetWord() 168 ICING_LOG(ERROR) << "word_index: " << word_index in SetWord() 176 bitmap_data[word_index] = word; in SetWord() 182 int word_index) const { in GetWord() 183 if (word_index >= NumBits() / kNumWordBits) { in GetWord() 184 ICING_LOG(ERROR) << "word_index: " << word_index in GetWord() 191 return bitmap_data[word_index]; in GetWord() 216 const int word_index = bit_index / kNumWordBits; in Set() local 219 ICING_ASSIGN_OR_RETURN(Word old_word, GetWord(word_index)); in Set() [all …]
|
D | file-backed-bitmap.h | 204 libtextclassifier3::StatusOr<Word> GetWord(int word_index) const; 205 libtextclassifier3::Status SetWord(int word_index, Word word);
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/ |
D | binary.cpp | 154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic() 157 << _.word_index - inst_offset << "."; in exhaustedInputDiagnostic() 161 uint32_t peek() const { return peekAt(_.word_index); } in peek() 191 word_index(0), in State() 205 size_t word_index; // The current position in words. member 273 _.word_index = SPV_INDEX_INSTRUCTION; in parseModule() 274 while (_.word_index < _.num_words) in parseModule() 278 assert(_.word_index == _.num_words); in parseModule() 302 assert(_.word_index < _.num_words); in parseInstruction() 316 const size_t inst_offset = _.word_index; in parseInstruction() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/ |
D | binary.cpp | 154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic() 157 << _.word_index - inst_offset << "."; in exhaustedInputDiagnostic() 161 uint32_t peek() const { return peekAt(_.word_index); } in peek() 191 word_index(0), in State() 205 size_t word_index; // The current position in words. member 273 _.word_index = SPV_INDEX_INSTRUCTION; in parseModule() 274 while (_.word_index < _.num_words) in parseModule() 278 assert(_.word_index == _.num_words); in parseModule() 302 assert(_.word_index < _.num_words); in parseInstruction() 316 const size_t inst_offset = _.word_index; in parseInstruction() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/ |
D | binary.cpp | 154 << ((_.word_index < _.num_words) ? ": truncated " in exhaustedInputDiagnostic() 157 << _.word_index - inst_offset << "."; in exhaustedInputDiagnostic() 161 uint32_t peek() const { return peekAt(_.word_index); } in peek() 191 word_index(0), in State() 205 size_t word_index; // The current position in words. member 273 _.word_index = SPV_INDEX_INSTRUCTION; in parseModule() 274 while (_.word_index < _.num_words) in parseModule() 278 assert(_.word_index == _.num_words); in parseModule() 302 assert(_.word_index < _.num_words); in parseInstruction() 316 const size_t inst_offset = _.word_index; in parseInstruction() [all …]
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | device_util.h | 75 for (int word_index = 0, end = storage_.size(); word_index < end; in ForEach() local 76 word_index++) { in ForEach() 77 uint64 word = storage_[word_index]; in ForEach() 83 if (!func(DeviceId(word_index * kWordSize + bit_index))) { in ForEach()
|
D | device_util.cc | 27 int word_index = device_id.id() / kWordSize; in Insert() local 30 if (word_index >= storage_size) { in Insert() 31 storage_.resize(word_index + 1, 0); in Insert() 34 storage_[word_index] |= (1ull << bit_index); in Insert()
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_extensions.cpp | 51 SpvOp expected_opcode, const Instruction* inst, uint32_t word_index, in ValidateOperandForDebugInfo() argument 53 auto* operand = _.FindDef(inst->word(word_index)); in ValidateOperandForDebugInfo() 83 const Instruction* inst, uint32_t word_index) { in DoesDebugInfoOperandMatchExpectation() argument 84 if (inst->words().size() <= word_index) return false; in DoesDebugInfoOperandMatchExpectation() 85 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation() 100 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument 105 if (DoesDebugInfoOperandMatchExpectation(_, expectation, inst, word_index)) in ValidateDebugInfoOperand() 134 ValidationState_t& _, const Instruction* inst, uint32_t word_index, in ValidateOperandBaseType() argument 138 word_index, ext_inst_name); in ValidateOperandBaseType() 147 const Instruction* inst, uint32_t word_index, in ValidateOperandLexicalScope() argument [all …]
|
D | validate_composites.cpp | 40 uint32_t word_index = opcode == SpvOpCompositeExtract ? 4 : 5; in GetExtractInsertValueType() local 42 const uint32_t composite_id_index = word_index - 1; in GetExtractInsertValueType() 43 const uint32_t num_indices = num_words - word_index; in GetExtractInsertValueType() 64 for (; word_index < num_words; ++word_index) { in GetExtractInsertValueType() 65 const uint32_t component_index = inst->word(word_index); in GetExtractInsertValueType()
|
D | validate_image.cpp | 240 uint32_t word_index) { in ValidateImageOperands() argument 247 const bool have_explicit_mask = (word_index - 1 < num_words); in ValidateImageOperands() 248 const uint32_t mask = have_explicit_mask ? inst->word(word_index - 1) : 0u; in ValidateImageOperands() 264 if (expected_num_image_operand_words != num_words - word_index) { in ValidateImageOperands() 269 } else if (num_words != word_index - 1) { in ValidateImageOperands() 305 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 335 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 366 const uint32_t dx_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 367 const uint32_t dy_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 400 const uint32_t id = inst->word(word_index++); in ValidateImageOperands() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_extensions.cpp | 52 SpvOp expected_opcode, const Instruction* inst, uint32_t word_index, in ValidateOperandForDebugInfo() argument 54 auto* operand = _.FindDef(inst->word(word_index)); in ValidateOperandForDebugInfo() 84 const Instruction* inst, uint32_t word_index) { in DoesDebugInfoOperandMatchExpectation() argument 85 if (inst->words().size() <= word_index) return false; in DoesDebugInfoOperandMatchExpectation() 86 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation() 101 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument 106 if (DoesDebugInfoOperandMatchExpectation(_, expectation, inst, word_index)) in ValidateDebugInfoOperand() 135 ValidationState_t& _, const Instruction* inst, uint32_t word_index, in ValidateOperandBaseType() argument 139 word_index, ext_inst_name); in ValidateOperandBaseType() 148 const Instruction* inst, uint32_t word_index, in ValidateOperandLexicalScope() argument [all …]
|
D | validate_composites.cpp | 40 uint32_t word_index = opcode == SpvOpCompositeExtract ? 4 : 5; in GetExtractInsertValueType() local 42 const uint32_t composite_id_index = word_index - 1; in GetExtractInsertValueType() 43 const uint32_t num_indices = num_words - word_index; in GetExtractInsertValueType() 64 for (; word_index < num_words; ++word_index) { in GetExtractInsertValueType() 65 const uint32_t component_index = inst->word(word_index); in GetExtractInsertValueType()
|
D | validate_image.cpp | 240 uint32_t word_index) { in ValidateImageOperands() argument 247 const bool have_explicit_mask = (word_index - 1 < num_words); in ValidateImageOperands() 248 const uint32_t mask = have_explicit_mask ? inst->word(word_index - 1) : 0u; in ValidateImageOperands() 264 if (expected_num_image_operand_words != num_words - word_index) { in ValidateImageOperands() 269 } else if (num_words != word_index - 1) { in ValidateImageOperands() 306 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 336 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 367 const uint32_t dx_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 368 const uint32_t dy_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 401 const uint32_t id = inst->word(word_index++); in ValidateImageOperands() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate_extensions.cpp | 52 SpvOp expected_opcode, const Instruction* inst, uint32_t word_index, in ValidateOperandForDebugInfo() argument 54 auto* operand = _.FindDef(inst->word(word_index)); in ValidateOperandForDebugInfo() 84 const Instruction* inst, uint32_t word_index) { in DoesDebugInfoOperandMatchExpectation() argument 85 if (inst->words().size() <= word_index) return false; in DoesDebugInfoOperandMatchExpectation() 86 auto* debug_inst = _.FindDef(inst->word(word_index)); in DoesDebugInfoOperandMatchExpectation() 101 uint32_t word_index, const std::function<std::string()>& ext_inst_name) { in ValidateDebugInfoOperand() argument 106 if (DoesDebugInfoOperandMatchExpectation(_, expectation, inst, word_index)) in ValidateDebugInfoOperand() 135 ValidationState_t& _, const Instruction* inst, uint32_t word_index, in ValidateOperandBaseType() argument 139 word_index, ext_inst_name); in ValidateOperandBaseType() 148 const Instruction* inst, uint32_t word_index, in ValidateOperandLexicalScope() argument [all …]
|
D | validate_composites.cpp | 40 uint32_t word_index = opcode == SpvOpCompositeExtract ? 4 : 5; in GetExtractInsertValueType() local 42 const uint32_t composite_id_index = word_index - 1; in GetExtractInsertValueType() 43 const uint32_t num_indices = num_words - word_index; in GetExtractInsertValueType() 64 for (; word_index < num_words; ++word_index) { in GetExtractInsertValueType() 65 const uint32_t component_index = inst->word(word_index); in GetExtractInsertValueType()
|
D | validate_image.cpp | 240 uint32_t word_index) { in ValidateImageOperands() argument 247 const bool have_explicit_mask = (word_index - 1 < num_words); in ValidateImageOperands() 248 const uint32_t mask = have_explicit_mask ? inst->word(word_index - 1) : 0u; in ValidateImageOperands() 264 if (expected_num_image_operand_words != num_words - word_index) { in ValidateImageOperands() 269 } else if (num_words != word_index - 1) { in ValidateImageOperands() 306 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 336 const uint32_t type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 367 const uint32_t dx_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 368 const uint32_t dy_type_id = _.GetTypeId(inst->word(word_index++)); in ValidateImageOperands() 401 const uint32_t id = inst->word(word_index++); in ValidateImageOperands() [all …]
|
/external/llvm-project/libcxx/utils/gdb/libcxx/ |
D | printers.py | 448 for word_index in range(self.n_words): 449 current = self.values[word_index] 452 yield ("[%d]" % (word_index * self.bits_per_word + n), 1)
|
/external/pcre/dist2/src/sljit/ |
D | sljitNativeS390X.c | 301 const sljit_uw word_index = x >> 6; in have_facility_dynamic() local 318 return (cpu_features.bits[word_index] & bit_index) != 0; in have_facility_dynamic()
|