Home
last modified time | relevance | path

Searched refs:element_index (Results 1 – 25 of 34) sorted by relevance

12

/external/swiftshader/third_party/SPIRV-Tools/source/util/
Dbit_vector.h41 uint32_t element_index = i / kBitContainerSize; in Set() local
44 if (element_index >= bits_.size()) { in Set()
45 bits_.resize(element_index + 1, 0); in Set()
48 BitContainer original = bits_[element_index]; in Set()
54 bits_[element_index] = original | ith_bit; in Set()
61 uint32_t element_index = i / kBitContainerSize; in Clear() local
64 if (element_index >= bits_.size()) { in Clear()
68 BitContainer original = bits_[element_index]; in Clear()
74 bits_[element_index] = original & (~ith_bit); in Clear()
81 uint32_t element_index = i / kBitContainerSize; in Get() local
[all …]
/external/deqp-deps/SPIRV-Tools/source/util/
Dbit_vector.h41 uint32_t element_index = i / kBitContainerSize; in Set() local
44 if (element_index >= bits_.size()) { in Set()
45 bits_.resize(element_index + 1, 0); in Set()
48 BitContainer original = bits_[element_index]; in Set()
54 bits_[element_index] = original | ith_bit; in Set()
61 uint32_t element_index = i / kBitContainerSize; in Clear() local
64 if (element_index >= bits_.size()) { in Clear()
68 BitContainer original = bits_[element_index]; in Clear()
74 bits_[element_index] = original & (~ith_bit); in Clear()
81 uint32_t element_index = i / kBitContainerSize; in Get() local
[all …]
/external/google-breakpad/src/common/
Dmemory_range.h107 unsigned element_index) const { in GetArrayElement() argument
108 size_t sub_offset = element_offset + element_index * element_size; in GetArrayElement()
117 unsigned element_index) const { in GetArrayElement() argument
119 GetArrayElement(element_offset, sizeof(ElementType), element_index)); in GetArrayElement()
Dmemory_range_unittest.cc177 unsigned element_index = kElements[i].index; in TEST() local
181 << ", index=" << element_index); in TEST()
183 element_offset, element_size, element_index)); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dtuple_ops.cc54 llvm::Value* const element_index[] = {b->getInt64(0), b->getInt64(i)}; in EmitTupleSelect() local
56 b->CreateInBoundsGEP(on_true, element_index); in EmitTupleSelect()
60 b->CreateInBoundsGEP(on_false, element_index); in EmitTupleSelect()
65 b->CreateInBoundsGEP(select.GetBasePointer(), element_index); in EmitTupleSelect()
/external/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArraySampling.cpp363 void getColorFloatComponents(glw::GLint cube_face, glw::GLint element_index, glw::GLint mipmap_leve… in getColorFloatComponents() argument
370 out_data[2] = ((glw::GLfloat)(element_index + 1)) / ((glw::GLfloat)n_elements); in getColorFloatComponents()
386 void getColorIntComponents(glw::GLint cube_face, glw::GLint element_index, glw::GLint mipmap_leve… in getColorIntComponents() argument
391 out_data[2] = static_cast<T>(element_index + 1); in getColorIntComponents()
404 void getCompressedColorUByteComponents(glw::GLint cube_face, glw::GLint element_index, glw::GLint m… in getCompressedColorUByteComponents() argument
413 …static_cast<glw::GLubyte>(mipmap_level * n_faces_per_level + element_index * n_faces + cube_face +… in getCompressedColorUByteComponents()
461 void getDepthComponent(glw::GLint cube_face, glw::GLint element_index, glw::GLint mipmap_level, glw… in getDepthComponent() argument
466 out_depth = ((glw::GLfloat)(mipmap_level + 1 + cube_face + 1 + element_index + 1)) / in getDepthComponent()
480 glw::GLint element_index, glw::GLint n_layers, in getExpectedColorFloatComponentsForTexture() argument
483 …getColorFloatComponents(cube_face, element_index, 0 /* mipmap_level */, n_layers, n_mipmap_levels,… in getExpectedColorFloatComponentsForTexture()
[all …]
/external/libtextclassifier/utils/intents/
Djni.cc159 int element_index = 0; in AsNamedVariantArray() local
162 element_index++; in AsNamedVariantArray()
171 jni_cache_->GetEnv()->SetObjectArrayElement(result, element_index, in AsNamedVariantArray()
173 element_index++; in AsNamedVariantArray()
/external/tensorflow/tensorflow/python/debug/cli/
Dtensor_format_test.py64 element_index = 0
71 subscripts = list(np.unravel_index(element_index, a.shape))
75 element_index += 1
76 self.assertEqual(element_index, np.size(a))
96 element_index = 0
103 subscripts = list(np.unravel_index(element_index, a.shape))
110 element_index += 1
111 self.assertEqual(element_index, np.size(a))
/external/tensorflow/tensorflow/compiler/xla/service/
Dtransfer_manager.cc252 ShapeIndex element_index = index; in WriteTupleIndexTablesAsync() local
255 element_index.push_back(i); in WriteTupleIndexTablesAsync()
256 elements.push_back(device_buffer.buffer(element_index)); in WriteTupleIndexTablesAsync()
257 element_index.pop_back(); in WriteTupleIndexTablesAsync()
Dtuple_points_to_analysis.cc223 int64 element_index = get_tuple_element->tuple_index(); in HandleGetTupleElement() local
236 src_index.push_back(element_index); in HandleGetTupleElement()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump_memory_range_unittest.cc206 unsigned element_index = kElements[i].index; in TEST() local
210 << ", index=" << element_index); in TEST()
212 element_offset, element_size, element_index)); in TEST()
/external/v8/src/ast/
Dast.cc461 uint32_t element_index = 0; in InitDepthAndFlags() local
462 if (key->AsArrayIndex(&element_index)) { in InitDepthAndFlags()
463 max_element_index = Max(element_index, max_element_index); in InitDepthAndFlags()
528 uint32_t element_index = 0; in BuildBoilerplateDescription() local
530 key_literal->AsArrayIndex(&element_index) in BuildBoilerplateDescription()
531 ? isolate->factory()->NewNumberFromUint(element_index) in BuildBoilerplateDescription()
/external/aac/libSBRenc/src/
Dbit_sbr.cpp252 INT element_index, int fSendHeaders) { in sbrEncoder_GetHeader() argument
253 encodeSbrHeaderData(&sbrEncoder->sbrElement[element_index]->sbrHeaderData, in sbrEncoder_GetHeader()
258 sbrEncoder->sbrElement[element_index]->sbrBitstreamData.NrSendHeaderData = in sbrEncoder_GetHeader()
260 sbrEncoder->sbrElement[element_index]->sbrBitstreamData.HeaderActive = 0; in sbrEncoder_GetHeader()
261 sbrEncoder->sbrElement[element_index] in sbrEncoder_GetHeader()
/external/v8/src/runtime/
Druntime-literals.cc366 uint32_t element_index = 0; in Create() local
367 if (key->ToArrayIndex(&element_index)) { in Create()
372 JSObject::SetOwnElementIgnoreAttributes(boilerplate, element_index, in Create()
377 DCHECK(!name->AsArrayIndex(&element_index)); in Create()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc482 llvm_ir::IrArray::Index element_index(index_type); in HandleDot() local
486 lhs_array.EmitReadArrayElement(/*index=*/element_index, &b_); in HandleDot()
488 rhs_array.EmitReadArrayElement(/*index=*/element_index, &b_); in HandleDot()
501 target_array.EmitWriteArrayElement(/*index=*/element_index, result, &b_); in HandleDot()
/external/aac/libSBRdec/include/
Dsbrdecoder.h337 MP4_ELEMENT_ID prev_element, int element_index,
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc749 ShapeIndex element_index = shape_index; in NearHelper() local
750 element_index.push_back(i); in NearHelper()
753 miscompare_callback, element_index); in NearHelper()
756 element_index.ToString(), in NearHelper()
/external/mesa3d/src/compiler/nir/
Dnir_lower_io_arrays_to_elements.c36 unsigned *element_index) in get_io_offset() argument
67 *element_index += num_elements * deref_array->base_offset; in get_io_offset()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfolding_rules.cpp1289 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1290 uint32_t element_id = cinst->GetSingleWordInOperand(element_index); in CompositeConstructFeedingExtract()
1305 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1314 if (vector_size < element_index) { in CompositeConstructFeedingExtract()
1316 element_index -= vector_size; in CompositeConstructFeedingExtract()
1321 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {element_index}}); in CompositeConstructFeedingExtract()
1325 if (element_index == 0) { in CompositeConstructFeedingExtract()
1331 --element_index; in CompositeConstructFeedingExtract()
Dcopy_prop_arrays.cpp776 for (uint32_t element_index : access_chain) { in GetMemberTypeId() local
786 id = type_inst->GetSingleWordInOperand(element_index); in GetMemberTypeId()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dfolding_rules.cpp1289 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1290 uint32_t element_id = cinst->GetSingleWordInOperand(element_index); in CompositeConstructFeedingExtract()
1305 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1314 if (vector_size < element_index) { in CompositeConstructFeedingExtract()
1316 element_index -= vector_size; in CompositeConstructFeedingExtract()
1321 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {element_index}}); in CompositeConstructFeedingExtract()
1325 if (element_index == 0) { in CompositeConstructFeedingExtract()
1331 --element_index; in CompositeConstructFeedingExtract()
Dcopy_prop_arrays.cpp776 for (uint32_t element_index : access_chain) { in GetMemberTypeId() local
786 id = type_inst->GetSingleWordInOperand(element_index); in GetMemberTypeId()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc551 llvm_ir::IrArray::Index element_index(index_type); in EmitScalarDot() local
553 lhs_array_.EmitReadArrayElement(/*index=*/element_index, b_); in EmitScalarDot()
555 rhs_array_.EmitReadArrayElement(/*index=*/element_index, b_); in EmitScalarDot()
577 target_array_.EmitWriteArrayElement(/*index=*/element_index, result, b_); in EmitScalarDot()
/external/aac/libSBRenc/include/
Dsbr_encoder.h408 HANDLE_FDK_BITSTREAM hBs, INT element_index,
/external/aac/libAACdec/src/
Daacdecoder.cpp1101 const int element_index, const int el_cnt[]) { in aacDecoder_ParseExplicitMpsAndSbr() argument
1126 FDK_ASSERT((self->elements[element_index] == ID_USAC_SCE) || in aacDecoder_ParseExplicitMpsAndSbr()
1127 (self->elements[element_index] == ID_USAC_CPE)); in aacDecoder_ParseExplicitMpsAndSbr()
1128 sbrType = IS_STEREO_SBR(self->elements[element_index], in aacDecoder_ParseExplicitMpsAndSbr()
1129 self->usacStereoConfigIndex[element_index]) in aacDecoder_ParseExplicitMpsAndSbr()
1162 (self->elFlags[element_index] & AC_EL_USAC_MPS212)) { in aacDecoder_ParseExplicitMpsAndSbr()

12