/third_party/mesa3d/src/compiler/nir/ |
D | nir_intrinsics.py | 46 indices, flags, sysval, bit_sizes): argument 66 assert isinstance(indices, list) 67 if indices: 68 assert isinstance(indices[0], Index) 85 self.num_indices = len(indices) 86 self.indices = indices 118 def intrinsic(name, src_comp=[], dest_comp=-1, indices=[], argument 122 indices, flags, sysval, bit_sizes) 278 indices=[SRC_TYPE, DEST_TYPE, ROUNDING_MODE, SATURATE], 281 intrinsic("load_param", dest_comp=0, indices=[PARAM_IDX], flags=[CAN_ELIMINATE]) [all …]
|
/third_party/skia/third_party/externals/angle2/util/ |
D | geometry_utils.cpp | 47 result->indices.clear(); in CreateSphereGeometry() 48 result->indices.reserve(indexCount); in CreateSphereGeometry() 53 result->indices.push_back(static_cast<unsigned short>(i * (sliceCount + 1) + j)); in CreateSphereGeometry() 54 result->indices.push_back(static_cast<unsigned short>((i + 1) * (sliceCount + 1) + j)); in CreateSphereGeometry() 55 result->indices.push_back( in CreateSphereGeometry() 58 result->indices.push_back(static_cast<unsigned short>(i * (sliceCount + 1) + j)); in CreateSphereGeometry() 59 result->indices.push_back( in CreateSphereGeometry() 61 result->indices.push_back(static_cast<unsigned short>(i * (sliceCount + 1) + (j + 1))); in CreateSphereGeometry() 146 result->indices.resize(36); in GenerateCubeGeometry() 147 result->indices[0] = 0; in GenerateCubeGeometry() [all …]
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | utilities_unittest.cpp | 19 std::vector<unsigned int> indices; in TEST() local 20 EXPECT_EQ("foo", gl::ParseResourceName("foo[123]", &indices)); in TEST() 21 ASSERT_EQ(1u, indices.size()); in TEST() 22 EXPECT_EQ(123u, indices[0]); in TEST() 24 EXPECT_EQ("bar", gl::ParseResourceName("bar[0]", &indices)); in TEST() 25 ASSERT_EQ(1u, indices.size()); in TEST() 26 EXPECT_EQ(0u, indices[0]); in TEST() 32 std::vector<unsigned int> indices; in TEST() local 33 EXPECT_EQ("foo", gl::ParseResourceName("foo[-1]", &indices)); in TEST() 34 ASSERT_EQ(1u, indices.size()); in TEST() [all …]
|
/third_party/python/Lib/test/ |
D | test_slice.py | 144 actual = slice.indices(length) 154 actual = range(*slice.indices(length)) 159 self.assertEqual(slice(None ).indices(10), (0, 10, 1)) 160 self.assertEqual(slice(None, None, 2).indices(10), (0, 10, 2)) 161 self.assertEqual(slice(1, None, 2).indices(10), (1, 10, 2)) 162 self.assertEqual(slice(None, None, -1).indices(10), (9, -1, -1)) 163 self.assertEqual(slice(None, None, -2).indices(10), (9, -1, -2)) 164 self.assertEqual(slice(3, None, -2).indices(10), (3, -1, -2)) 166 self.assertEqual(slice(None, -9).indices(10), (0, 1, 1)) 167 self.assertEqual(slice(None, -10).indices(10), (0, 0, 1)) [all …]
|
/third_party/skia/third_party/externals/tint/src/ |
D | intrinsic_table.inl | 1793 /* matcher indices */ &kMatcherIndices[93], 1798 /* matcher indices */ &kMatcherIndices[134], 1803 /* matcher indices */ &kMatcherIndices[91], 1808 /* matcher indices */ &kMatcherIndices[55], 1813 /* matcher indices */ &kMatcherIndices[91], 1818 /* matcher indices */ &kMatcherIndices[91], 1823 /* matcher indices */ &kMatcherIndices[89], 1828 /* matcher indices */ &kMatcherIndices[99], 1833 /* matcher indices */ &kMatcherIndices[134], 1838 /* matcher indices */ &kMatcherIndices[91], [all …]
|
/third_party/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_prim_vbuf.c | 160 sp_vbuf_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) in sp_vbuf_draw_elements() argument 174 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 181 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() 182 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 189 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() 190 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 197 get_vert(vertex_buffer, indices[i-1], stride), in sp_vbuf_draw_elements() 198 get_vert(vertex_buffer, indices[i-0], stride) ); in sp_vbuf_draw_elements() 202 get_vert(vertex_buffer, indices[nr-1], stride), in sp_vbuf_draw_elements() 203 get_vert(vertex_buffer, indices[0], stride) ); in sp_vbuf_draw_elements() [all …]
|
/third_party/node/deps/base64/base64/lib/arch/neon32/ |
D | enc_translate.c | 14 uint8x16x4_t indices, mask, delta, out; in enc_translate() local 26 indices.val[0] = vqsubq_u8(in.val[0], offset); in enc_translate() 27 indices.val[1] = vqsubq_u8(in.val[1], offset); in enc_translate() 28 indices.val[2] = vqsubq_u8(in.val[2], offset); in enc_translate() 29 indices.val[3] = vqsubq_u8(in.val[3], offset); in enc_translate() 39 indices.val[0] = vsubq_u8(indices.val[0], mask.val[0]); in enc_translate() 40 indices.val[1] = vsubq_u8(indices.val[1], mask.val[1]); in enc_translate() 41 indices.val[2] = vsubq_u8(indices.val[2], mask.val[2]); in enc_translate() 42 indices.val[3] = vsubq_u8(indices.val[3], mask.val[3]); in enc_translate() 45 delta.val[0] = vqtbl1q_u8(lut, indices.val[0]); in enc_translate() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | LineLoopTest.cpp | 148 static const GLubyte indices[] = {0, 7, 6, 9, 8, 0}; in TEST_P() local 149 runTest(GL_UNSIGNED_BYTE, 0, indices + 1); in TEST_P() 157 static const GLushort indices[] = {0, 7, 6, 9, 8, 0}; in TEST_P() local 158 runTest(GL_UNSIGNED_SHORT, 0, indices + 1); in TEST_P() 171 static const GLuint indices[] = {0, 7, 6, 9, 8, 0}; in TEST_P() local 172 runTest(GL_UNSIGNED_INT, 0, indices + 1); in TEST_P() 180 static const GLubyte indices[] = {0, 7, 6, 9, 8, 0}; in TEST_P() local 184 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_P() 194 static const GLushort indices[] = {0, 7, 6, 9, 8, 0}; in TEST_P() local 198 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(indices), indices, GL_STATIC_DRAW); in TEST_P() [all …]
|
D | BuiltinVariableTest.cpp | 80 void runTest(GLuint drawMode, const std::vector<GLint> &indices, int count) in runTest() argument 87 glBufferData(GL_ELEMENT_ARRAY_BUFFER, sizeof(GLint) * indices.size(), indices.data(), in runTest() 177 std::vector<GLint> indices; in TEST_P() local 178 indices.push_back(0); in TEST_P() 179 indices.push_back(1); in TEST_P() 180 indices.push_back(3); in TEST_P() 181 indices.push_back(2); in TEST_P() 182 runTest(GL_TRIANGLE_FAN, indices, 4); in TEST_P() 188 std::vector<GLint> indices; in TEST_P() local 189 indices.push_back(0); in TEST_P() [all …]
|
/third_party/mesa3d/src/gallium/drivers/llvmpipe/ |
D | lp_setup_vbuf.c | 165 lp_setup_draw_elements(struct vbuf_render *vbr, const ushort *indices, uint nr) in lp_setup_draw_elements() argument 185 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 192 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 193 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 200 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 201 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 208 get_vert(vertex_buffer, indices[i-1], stride), in lp_setup_draw_elements() 209 get_vert(vertex_buffer, indices[i-0], stride) ); in lp_setup_draw_elements() 213 get_vert(vertex_buffer, indices[nr-1], stride), in lp_setup_draw_elements() 214 get_vert(vertex_buffer, indices[0], stride) ); in lp_setup_draw_elements() [all …]
|
D | lp_tex_sample.c | 122 LLVMValueRef indices[4]; in lp_llvm_texture_member() local 127 indices[0] = lp_build_const_int32(gallivm, 0); in lp_llvm_texture_member() 129 indices[1] = lp_build_const_int32(gallivm, LP_JIT_CTX_TEXTURES); in lp_llvm_texture_member() 131 indices[2] = lp_build_const_int32(gallivm, texture_unit); in lp_llvm_texture_member() 133 indices[2] = LLVMBuildAdd(gallivm->builder, indices[2], in lp_llvm_texture_member() 137 indices[2], in lp_llvm_texture_member() 140 indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], in lp_llvm_texture_member() 145 indices[3] = lp_build_const_int32(gallivm, member_index); in lp_llvm_texture_member() 148 LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in lp_llvm_texture_member() 212 LLVMValueRef indices[4]; in LP_LLVM_TEXTURE_MEMBER() local [all …]
|
/third_party/python/Lib/idlelib/ |
D | parenmatch.py | 78 indices = (HyperParser(self.editwin, "insert") 80 self.finish_paren_event(indices) 92 indices = hp.get_surrounding_brackets(_openers[closer], True) 93 self.finish_paren_event(indices) 96 def finish_paren_event(self, indices): argument 97 if indices is None and self.BELL: 102 self.tagfuncs.get(self.STYLE, self.create_tag_expression)(self, indices) 120 def create_tag_opener(self, indices): argument 122 self.text.tag_add("paren", indices[0]) 125 def create_tag_parens(self, indices): argument [all …]
|
/third_party/mesa3d/src/mesa/main/ |
D | glthread_draw.c | 64 const GLvoid **indices) in upload_indices() argument 71 _mesa_glthread_upload(ctx, *indices, index_size * count, in upload_indices() 74 *indices = (const GLvoid*)(intptr_t)upload_offset; in upload_indices() 82 const GLsizei *count, const GLvoid *const *indices, in upload_multi_indices() argument 101 memcpy(upload_ptr + offset, indices[i], size); in upload_multi_indices() 575 const GLvoid *indices; member 592 const GLvoid *indices = cmd->indices; in _mesa_unmarshal_DrawElementsInstancedARB() local 598 (mode, count, type, indices, in _mesa_unmarshal_DrawElementsInstancedARB() 613 const GLvoid *indices; member 624 const GLvoid *indices = cmd->indices; in _mesa_unmarshal_DrawRangeElementsBaseVertex() local [all …]
|
/third_party/skia/src/core/ |
D | SkVertState.cpp | 23 const uint16_t* indices = state->fIndices; in TrianglesX() local 28 state->f0 = indices[index + 0]; in TrianglesX() 29 state->f1 = indices[index + 1]; in TrianglesX() 30 state->f2 = indices[index + 2]; in TrianglesX() 53 const uint16_t* indices = state->fIndices; in TriangleStripX() local 58 state->f2 = indices[index + 2]; in TriangleStripX() 60 state->f0 = indices[index + 1]; in TriangleStripX() 61 state->f1 = indices[index + 0]; in TriangleStripX() 63 state->f0 = indices[index + 0]; in TriangleStripX() 64 state->f1 = indices[index + 1]; in TriangleStripX() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
D | draw_llvm_sample.c | 112 LLVMValueRef indices[4]; in draw_llvm_texture_member() local 119 indices[0] = lp_build_const_int32(gallivm, 0); in draw_llvm_texture_member() 121 indices[1] = lp_build_const_int32(gallivm, DRAW_JIT_CTX_TEXTURES); in draw_llvm_texture_member() 123 indices[2] = lp_build_const_int32(gallivm, texture_unit); in draw_llvm_texture_member() 125 indices[2] = LLVMBuildAdd(gallivm->builder, indices[2], texture_unit_offset, ""); in draw_llvm_texture_member() 126 …LLVMValueRef cond = LLVMBuildICmp(gallivm->builder, LLVMIntULT, indices[2], lp_build_const_int32(g… in draw_llvm_texture_member() 127 …indices[2] = LLVMBuildSelect(gallivm->builder, cond, indices[2], lp_build_const_int32(gallivm, tex… in draw_llvm_texture_member() 130 indices[3] = lp_build_const_int32(gallivm, member_index); in draw_llvm_texture_member() 132 ptr = LLVMBuildGEP(builder, context_ptr, indices, ARRAY_SIZE(indices), ""); in draw_llvm_texture_member() 163 LLVMValueRef indices[4]; in draw_llvm_sampler_member() local [all …]
|
D | draw_prim_assembler.c | 111 unsigned *indices, unsigned num_indices) in copy_verts() argument 119 unsigned idx = indices[i]; in copy_verts() 157 unsigned indices[1]; in prim_point() local 162 indices[0] = idx; in prim_point() 165 copy_verts(asmblr, indices, 1); in prim_point() 172 unsigned indices[2]; in prim_line() local 178 indices[0] = i0; in prim_line() 179 indices[1] = i1; in prim_line() 182 copy_verts(asmblr, indices, 2); in prim_line() 189 unsigned indices[3]; in prim_tri() local [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fNegativeVertexArrayApiTests.cpp | 537 GLbyte indices[1] = {0}; in draw_elements() local 547 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, indices); in draw_elements() 552 ctx.glDrawElements(GL_POINTS, 1, -1, indices); in draw_elements() 554 ctx.glDrawElements(GL_POINTS, 1, GL_FLOAT, indices); in draw_elements() 559 ctx.glDrawElements(GL_POINTS, -1, GL_UNSIGNED_BYTE, indices); in draw_elements() 567 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements() 591 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements() 595 ctx.glDrawElements(GL_POINTS, 1, GL_UNSIGNED_BYTE, indices); in draw_elements() 612 GLbyte indices[1] = {0}; in draw_elements_invalid_program() local 616 ctx.glDrawElements(-1, 1, GL_UNSIGNED_BYTE, indices); in draw_elements_invalid_program() [all …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | CompactByteArray.java | 70 indices = new char[INDEXCOUNT]; in CompactByteArray() 76 indices[i] = (char)(i<<BLOCKSHIFT); in CompactByteArray() 104 indices = indexArray; in CompactByteArray() 138 return (values[(indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 203 for (int i = 0; i < indices.length; ++i, iBlockStart += BLOCKCOUNT) { in compact() 204 indices[i] = 0xFFFF; in compact() 210 indices[i] = iUntouched; in compact() 219 indices[i] = (char)jBlockStart; in compact() 223 if (indices[i] == 0xFFFF) { in compact() 227 indices[i] = (char)jBlockStart; in compact() [all …]
|
D | CompactCharArray.java | 71 indices = new char[INDEXCOUNT]; in CompactCharArray() 77 indices[i] = (char)(i<<BLOCKSHIFT); in CompactCharArray() 105 indices = indexArray; in CompactCharArray() 139 int ix = (indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 207 for (int i = 0; i < indices.length; ++i, iBlockStart += BLOCKCOUNT) { in compact() 208 indices[i] = 0xFFFF; in compact() 214 indices[i] = iUntouched; in compact() 222 indices[i] = indices[j]; in compact() 225 if (indices[i] == 0xFFFF) { in compact() 242 indices[i] = (char)dest; in compact() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | CompactByteArray.java | 68 indices = new char[INDEXCOUNT]; in CompactByteArray() 74 indices[i] = (char)(i<<BLOCKSHIFT); in CompactByteArray() 102 indices = indexArray; in CompactByteArray() 136 return (values[(indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 201 for (int i = 0; i < indices.length; ++i, iBlockStart += BLOCKCOUNT) { in compact() 202 indices[i] = 0xFFFF; in compact() 208 indices[i] = iUntouched; in compact() 217 indices[i] = (char)jBlockStart; in compact() 221 if (indices[i] == 0xFFFF) { in compact() 225 indices[i] = (char)jBlockStart; in compact() [all …]
|
D | CompactCharArray.java | 69 indices = new char[INDEXCOUNT]; in CompactCharArray() 75 indices[i] = (char)(i<<BLOCKSHIFT); in CompactCharArray() 103 indices = indexArray; in CompactCharArray() 137 int ix = (indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 205 for (int i = 0; i < indices.length; ++i, iBlockStart += BLOCKCOUNT) { in compact() 206 indices[i] = 0xFFFF; in compact() 212 indices[i] = iUntouched; in compact() 220 indices[i] = indices[j]; in compact() 223 if (indices[i] == 0xFFFF) { in compact() 240 indices[i] = (char)dest; in compact() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
D | es31cProgramInterfaceQueryTests.cpp | 181 std::map<std::string, GLuint>& indices, const std::string& name, in VerifyGetProgramResourceIndex() argument 192 std::map<std::string, GLuint>::iterator it = indices.begin(); in VerifyGetProgramResourceIndex() 193 while (it != indices.end()) in VerifyGetProgramResourceIndex() 204 indices[name] = res; in VerifyGetProgramResourceIndex() 700 std::map<std::string, GLuint> indices; in Run() local 701 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "a", error); in Run() 702 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "b", error); in Run() 703 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "c", error); in Run() 704 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "d", error); in Run() 705 VerifyGetProgramResourceIndex(program, GL_PROGRAM_INPUT, indices, "e", error); in Run() [all …]
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_struct.c | 51 LLVMValueRef indices[2]; in lp_build_struct_get_ptr() local 56 indices[0] = lp_build_const_int32(gallivm, 0); in lp_build_struct_get_ptr() 57 indices[1] = lp_build_const_int32(gallivm, member); in lp_build_struct_get_ptr() 58 member_ptr = LLVMBuildGEP(gallivm->builder, ptr, indices, ARRAY_SIZE(indices), ""); in lp_build_struct_get_ptr() 86 LLVMValueRef indices[2]; in lp_build_struct_get_ptr2() local 91 indices[0] = lp_build_const_int32(gallivm, 0); in lp_build_struct_get_ptr2() 92 indices[1] = lp_build_const_int32(gallivm, member); in lp_build_struct_get_ptr2() 93 member_ptr = LLVMBuildGEP2(gallivm->builder, ptr_type, ptr, indices, ARRAY_SIZE(indices), ""); in lp_build_struct_get_ptr2() 120 LLVMValueRef indices[2]; in lp_build_array_get_ptr() local 124 indices[0] = lp_build_const_int32(gallivm, 0); in lp_build_array_get_ptr() [all …]
|
/third_party/skia/third_party/externals/angle2/samples/torus_lighting/ |
D | torus.h | 20 std::vector<GLushort> indices; in GenerateTorus() local 30 indices.push_back(a); in GenerateTorus() 31 indices.push_back(c); in GenerateTorus() 32 indices.push_back(b); in GenerateTorus() 34 indices.push_back(b); in GenerateTorus() 35 indices.push_back(c); in GenerateTorus() 36 indices.push_back(d); in GenerateTorus() 39 *indexCount = static_cast<GLsizei>(indices.size()); in GenerateTorus() 84 glBufferData(GL_ELEMENT_ARRAY_BUFFER, indices.size() * sizeof(GLushort), indices.data(), in GenerateTorus()
|
/third_party/typescript/tests/baselines/reference/ |
D | jsdocIndexSignature.symbols | 1 === tests/cases/conformance/jsdoc/indices.js === 4 >o1 : Symbol(o1, Decl(indices.js, 1, 3)) 8 >o2 : Symbol(o2, Decl(indices.js, 3, 3)) 12 >o3 : Symbol(o3, Decl(indices.js, 5, 3)) 16 >f : Symbol(f, Decl(indices.js, 5, 7)) 17 >o : Symbol(o, Decl(indices.js, 7, 11)) 20 >o : Symbol(o, Decl(indices.js, 7, 11)) 23 >o : Symbol(o, Decl(indices.js, 7, 11))
|