Home
last modified time | relevance | path

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

12

/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/angle/third_party/spirv-tools/src/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/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/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/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/tensorflow/tensorflow/compiler/mlir/xla/
Dmlir_hlo_to_hlo.cc1047 int element_index) { in PaddingMapBadIntAttrMsg() argument
1051 element_index, attr_name, kPaddingMapAttr, arg_index) in PaddingMapBadIntAttrMsg()
1056 int element_index, int max, int32_t value) { in PaddingMapBadIndexMsg() argument
1060 element_index, attr_name, kPaddingMapAttr, arg_index, max, value) in PaddingMapBadIndexMsg()
1064 std::string PaddingMapNegativeShapeIndexMsg(int arg_index, int element_index, in PaddingMapNegativeShapeIndexMsg() argument
1069 element_index, kShapeIndicesAttr, kPaddingMapAttr, arg_index, in PaddingMapNegativeShapeIndexMsg()
1074 std::string PaddingMapUniqueShapeIndexMsg(int arg_index, int element_index, in PaddingMapUniqueShapeIndexMsg() argument
1080 element_index) in PaddingMapUniqueShapeIndexMsg()
1141 const int element_index = shape_and_padding.index(); in AddDynamicParameterBindings() local
1146 PaddingMapBadIntAttrMsg(kShapeIndicesAttr, i, element_index)); in AddDynamicParameterBindings()
[all …]
/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.cc254 ShapeIndex element_index = index; in WriteTupleIndexTablesAsync() local
257 element_index.push_back(i); in WriteTupleIndexTablesAsync()
258 elements.push_back(device_buffer.buffer(element_index)); in WriteTupleIndexTablesAsync()
259 element_index.pop_back(); in WriteTupleIndexTablesAsync()
Dtuple_points_to_analysis.cc224 int64 element_index = get_tuple_element->tuple_index(); in HandleGetTupleElement() local
237 src_index.push_back(element_index); in HandleGetTupleElement()
/external/python/cpython3/Modules/_ctypes/
Dstgdict.c717 Py_ssize_t element_index; /* index into element_types for this */ in PyCStructUnionType_update_stgdict() local
808 element_index = ffi_ofs; in PyCStructUnionType_update_stgdict()
844 assert(element_index < (ffi_ofs + len)); /* will be used below */ in PyCStructUnionType_update_stgdict()
847 element_types[element_index++] = &dict->ffi_type_pointer; in PyCStructUnionType_update_stgdict()
862 element_types[element_index++] = &structs[struct_index]; in PyCStructUnionType_update_stgdict()
880 element_types[element_index] = NULL; in PyCStructUnionType_update_stgdict()
/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/libtextclassifier/native/utils/intents/
Djni.cc269 int element_index = 0; in AsNamedVariantArray() local
272 element_index++; in AsNamedVariantArray()
278 env->SetObjectArrayElement(result.get(), element_index, in AsNamedVariantArray()
280 element_index++; in AsNamedVariantArray()
/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/ast/
Dast.cc433 uint32_t element_index = 0; in InitDepthAndFlags() local
434 if (key->AsArrayIndex(&element_index)) { in InitDepthAndFlags()
435 max_element_index = std::max(element_index, max_element_index); in InitDepthAndFlags()
496 uint32_t element_index = 0; in BuildBoilerplateDescription() local
498 key_literal->AsArrayIndex(&element_index) in BuildBoilerplateDescription()
501 element_index) in BuildBoilerplateDescription()
/external/aac/libSBRdec/include/
Dsbrdecoder.h337 MP4_ELEMENT_ID prev_element, int element_index,
/external/v8/src/runtime/
Druntime-literals.cc415 uint32_t element_index = 0; in CreateObjectLiteral() local
416 if (key->ToArrayIndex(&element_index)) { in CreateObjectLiteral()
421 JSObject::SetOwnElementIgnoreAttributes(boilerplate, element_index, value, in CreateObjectLiteral()
426 DCHECK(!name->AsArrayIndex(&element_index)); in CreateObjectLiteral()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter.cc519 llvm_ir::IrArray::Index element_index(index_type); in HandleDot() local
523 lhs_array.EmitReadArrayElement(/*index=*/element_index, &b_); in HandleDot()
525 rhs_array.EmitReadArrayElement(/*index=*/element_index, &b_); in HandleDot()
538 target_array.EmitWriteArrayElement(/*index=*/element_index, result, &b_); in HandleDot()
/external/mesa3d/src/compiler/nir/
Dnir_lower_io_arrays_to_elements.c37 unsigned *element_index, unsigned *xfb_offset, in get_io_offset() argument
72 *element_index += num_elements * index; in get_io_offset()
/external/tensorflow/tensorflow/compiler/xla/
Dliteral_comparison.cc795 ShapeIndex element_index = shape_index; in NearHelper() local
796 element_index.push_back(i); in NearHelper()
798 NearHelper(expected_element, actual_element, element_index, error, in NearHelper()
802 element_index.ToString(), in NearHelper()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Ddot_op_emitter.cc574 llvm_ir::IrArray::Index element_index(index_type); in EmitScalarDot() local
576 lhs_array_.EmitReadArrayElement(/*index=*/element_index, b_); in EmitScalarDot()
578 rhs_array_.EmitReadArrayElement(/*index=*/element_index, b_); in EmitScalarDot()
600 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/deqp-deps/SPIRV-Tools/source/opt/
Dfolding_rules.cpp1445 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1446 uint32_t element_id = cinst->GetSingleWordInOperand(element_index); in CompositeConstructFeedingExtract()
1461 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1470 if (vector_size < element_index) { in CompositeConstructFeedingExtract()
1472 element_index -= vector_size; in CompositeConstructFeedingExtract()
1477 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {element_index}}); in CompositeConstructFeedingExtract()
1481 if (element_index == 0) { in CompositeConstructFeedingExtract()
1487 --element_index; in CompositeConstructFeedingExtract()
/external/angle/third_party/spirv-tools/src/source/opt/
Dfolding_rules.cpp1445 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1446 uint32_t element_id = cinst->GetSingleWordInOperand(element_index); in CompositeConstructFeedingExtract()
1461 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1470 if (vector_size < element_index) { in CompositeConstructFeedingExtract()
1472 element_index -= vector_size; in CompositeConstructFeedingExtract()
1477 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {element_index}}); in CompositeConstructFeedingExtract()
1481 if (element_index == 0) { in CompositeConstructFeedingExtract()
1487 --element_index; in CompositeConstructFeedingExtract()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dfolding_rules.cpp1445 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1446 uint32_t element_id = cinst->GetSingleWordInOperand(element_index); in CompositeConstructFeedingExtract()
1461 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local
1470 if (vector_size < element_index) { in CompositeConstructFeedingExtract()
1472 element_index -= vector_size; in CompositeConstructFeedingExtract()
1477 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {element_index}}); in CompositeConstructFeedingExtract()
1481 if (element_index == 0) { in CompositeConstructFeedingExtract()
1487 --element_index; in CompositeConstructFeedingExtract()

12