/external/swiftshader/third_party/SPIRV-Tools/source/util/ |
D | bit_vector.h | 41 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/vulkan-deps/spirv-tools/src/source/util/ |
D | bit_vector.h | 41 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/ |
D | bit_vector.h | 41 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/ |
D | memory_range.h | 107 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()
|
D | memory_range_unittest.cc | 177 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/ |
D | esextcTextureCubeMapArraySampling.cpp | 363 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/python/debug/cli/ |
D | tensor_format_test.py | 64 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/google-breakpad/src/tools/linux/md2core/ |
D | minidump_memory_range_unittest.cc | 206 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/python/cpython3/Modules/_ctypes/ |
D | stgdict.c | 717 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/libtextclassifier/native/utils/intents/ |
D | jni.cc | 271 int element_index = 0; in AsNamedVariantArray() local 274 element_index++; in AsNamedVariantArray() 281 env, result.get(), element_index, named_extra.ValueOrDie().get())); in AsNamedVariantArray() 282 element_index++; in AsNamedVariantArray()
|
/external/tensorflow/tensorflow/core/tpu/ |
D | tpu_execute.cc | 151 xla::ShapeIndex element_index = index; in FixTupleTableAsync() local 152 element_index.push_back(0); in FixTupleTableAsync() 155 element_index.back() = i; in FixTupleTableAsync() 156 elements.push_back(mem->Buffer(element_index).AsDeviceMemoryBase()); in FixTupleTableAsync()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | transfer_manager.cc | 307 ShapeIndex element_index = index; in WriteTupleIndexTablesAsync() local 310 element_index.push_back(i); in WriteTupleIndexTablesAsync() 311 elements.push_back(device_buffer.buffer(element_index)); in WriteTupleIndexTablesAsync() 312 element_index.pop_back(); in WriteTupleIndexTablesAsync()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | mlir_hlo_to_hlo.cc | 1606 int element_index) { in PaddingMapBadIntAttrMsg() argument 1610 element_index, attr_name, kPaddingMapAttr, arg_index) in PaddingMapBadIntAttrMsg() 1615 int element_index, int max, int32_t value) { in PaddingMapBadIndexMsg() argument 1619 element_index, attr_name, kPaddingMapAttr, arg_index, max, value) in PaddingMapBadIndexMsg() 1623 std::string PaddingMapNegativeShapeIndexMsg(int arg_index, int element_index, in PaddingMapNegativeShapeIndexMsg() argument 1628 element_index, kShapeIndicesAttr, kPaddingMapAttr, arg_index, in PaddingMapNegativeShapeIndexMsg() 1633 std::string PaddingMapUniqueShapeIndexMsg(int arg_index, int element_index, in PaddingMapUniqueShapeIndexMsg() argument 1639 element_index) in PaddingMapUniqueShapeIndexMsg() 1700 const int element_index = shape_and_padding.index(); in AddDynamicParameterBindings() local 1705 PaddingMapBadIntAttrMsg(kShapeIndicesAttr, i, element_index)); in AddDynamicParameterBindings() [all …]
|
/external/aac/libSBRenc/src/ |
D | bit_sbr.cpp | 252 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/aac/libSBRdec/include/ |
D | sbrdecoder.h | 337 MP4_ELEMENT_ID prev_element, int element_index,
|
/external/tensorflow/tensorflow/core/tpu/kernels/ |
D | tpu_compile_op_support.cc | 150 const ShapeTree<HloSharding>& tuple_shape_tree, int element_index) { in GetSubtree() argument 153 element_index), in GetSubtree() 157 src_index.push_back(element_index); in GetSubtree()
|
D | tpu_compile_op_support.h | 117 int element_index);
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_io_arrays_to_elements.c | 37 unsigned *element_index, unsigned *xfb_offset, in get_io_offset() argument 72 *element_index += num_elements * index; in get_io_offset()
|
/external/tensorflow/tensorflow/python/keras/integration_test/ |
D | forwardprop_test.py | 44 for element_index in tf.range(primal_vector_length): 45 mask = tf.one_hot(element_index, primal_vector_length)
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | literal_comparison.cc | 784 ShapeIndex element_index = shape_index; in NearHelper() local 785 element_index.push_back(i); in NearHelper() 787 NearHelper(expected_element, actual_element, element_index, error, in NearHelper() 791 element_index.ToString(), in NearHelper()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | IRForTarget.cpp | 1662 uint32_t element_index; in ReplaceVariables() local 1756 for (element_index = 0; element_index < num_elements; ++element_index) { in ReplaceVariables() 1763 element_index)) { in ReplaceVariables()
|
/external/aac/libSBRenc/include/ |
D | sbr_encoder.h | 408 HANDLE_FDK_BITSTREAM hBs, INT element_index,
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | folding_rules.cpp | 1445 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/deqp-deps/SPIRV-Tools/source/opt/ |
D | folding_rules.cpp | 1445 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/vulkan-deps/spirv-tools/src/source/opt/ |
D | folding_rules.cpp | 1498 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local 1499 uint32_t element_id = cinst->GetSingleWordInOperand(element_index); in CompositeConstructFeedingExtract() 1514 uint32_t element_index = inst->GetSingleWordInOperand(1); in CompositeConstructFeedingExtract() local 1523 if (vector_size <= element_index) { in CompositeConstructFeedingExtract() 1525 element_index -= vector_size; in CompositeConstructFeedingExtract() 1530 {SPV_OPERAND_TYPE_LITERAL_INTEGER, {element_index}}); in CompositeConstructFeedingExtract() 1534 if (element_index == 0) { in CompositeConstructFeedingExtract() 1540 --element_index; in CompositeConstructFeedingExtract()
|