Home
last modified time | relevance | path

Searched refs:idxs (Results 1 – 20 of 20) sorted by relevance

/external/skqp/src/gpu/ops/
DGrAAConvexPathRenderer.cpp356 uint16_t* idxs, in create_vertices() argument
379 idxs += *i; in create_vertices()
395 idxs[*i + 0] = *v + 0; in create_vertices()
396 idxs[*i + 1] = *v + 2; in create_vertices()
397 idxs[*i + 2] = *v + 1; in create_vertices()
398 idxs[*i + 3] = *v + 0; in create_vertices()
399 idxs[*i + 4] = *v + 3; in create_vertices()
400 idxs[*i + 5] = *v + 2; in create_vertices()
418 idxs[*i + 0] = *v + 3; in create_vertices()
419 idxs[*i + 1] = *v + 1; in create_vertices()
[all …]
DGrAALinearizingConvexPathRenderer.cpp87 uint16_t* idxs) { in extract_verts() argument
94 idxs[i] = tess.index(i) + firstIndex; in extract_verts()
214 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in draw() local
215 if (!idxs) { in draw()
219 memcpy(idxs, indices, indexCount * sizeof(uint16_t)); in draw()
/external/skia/src/gpu/ops/
DGrAAConvexPathRenderer.cpp355 uint16_t* idxs, in create_vertices() argument
378 idxs += *i; in create_vertices()
394 idxs[*i + 0] = *v + 0; in create_vertices()
395 idxs[*i + 1] = *v + 2; in create_vertices()
396 idxs[*i + 2] = *v + 1; in create_vertices()
397 idxs[*i + 3] = *v + 0; in create_vertices()
398 idxs[*i + 4] = *v + 3; in create_vertices()
399 idxs[*i + 5] = *v + 2; in create_vertices()
417 idxs[*i + 0] = *v + 3; in create_vertices()
418 idxs[*i + 1] = *v + 1; in create_vertices()
[all …]
DGrAALinearizingConvexPathRenderer.cpp87 uint16_t* idxs) { in extract_verts() argument
94 idxs[i] = tess.index(i) + firstIndex; in extract_verts()
215 uint16_t* idxs = target->makeIndexSpace(indexCount, &indexBuffer, &firstIndex); in recordDraw() local
216 if (!idxs) { in recordDraw()
220 memcpy(idxs, indices, indexCount * sizeof(uint16_t)); in recordDraw()
/external/mesa3d/src/amd/common/
Dsid_tables.py86 self.idxs = set()
99 self.idxs.add(idx)
108 self.idxs.add(idx)
117 idxs = sorted(self.idxs) + [len(self.table)]
121 idxs[i],
122 ' '.join((str(elt) + ',') for elt in self.table[idxs[i]:idxs[i+1]])
124 for i in range(len(idxs) - 1)
169 self.idxs = set()
190 self.idxs.add(base_idx)
204 idxs = sorted(self.idxs) + [len(self.table)]
[all …]
/external/mesa3d/src/gallium/drivers/r600/
Degd_tables.py82 self.idxs = set()
95 self.idxs.add(idx)
104 self.idxs.add(idx)
113 idxs = sorted(self.idxs) + [len(self.table)]
117 idxs[i],
118 ' '.join((str(elt) + ',') for elt in self.table[idxs[i]:idxs[i+1]])
120 for i in range(len(idxs) - 1)
/external/grpc-grpc/tools/codegen/core/
Dgen_static_metadata.py588 idxs = [255] * int(elem_hash['PHASHNKEYS']) variable
593 idxs[h] = i
597 '%d' % i for i in idxs)
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_builder_mixin.h141 llvm::Value* ExtractValue(llvm::Value* agg, llvm::ArrayRef<unsigned> idxs,
143 return mixin_builder()->CreateExtractValue(agg, idxs, name);
147 llvm::ArrayRef<unsigned> idxs,
149 return mixin_builder()->CreateInsertValue(agg, val, idxs, name);
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_tgsi_setup.c302 LLVMValueRef idxs[2]; in get_pointer_into_array() local
348 idxs[0] = ctx->i32_0; in get_pointer_into_array()
349 idxs[1] = index; in get_pointer_into_array()
350 return LLVMBuildGEP(ctx->ac.builder, alloca, idxs, 2, ""); in get_pointer_into_array()
719 LLVMValueRef idxs[2] = { in emit_declaration() local
744 idxs[1] = LLVMConstInt(ctx->i32, j, 0); in emit_declaration()
745 ptr = LLVMBuildGEP(builder, array_alloca, idxs, 2, name); in emit_declaration()
/external/swiftshader/third_party/LLVM/bindings/ocaml/llvm/
Dllvm_ocaml.c730 unsigned* idxs = (unsigned*)malloc(size * sizeof(unsigned)); in llvm_const_extractvalue() local
732 idxs[i] = Int_val(Field(Indices, i)); in llvm_const_extractvalue()
735 result = LLVMConstExtractValue(Aggregate, idxs, size); in llvm_const_extractvalue()
736 free(idxs); in llvm_const_extractvalue()
748 unsigned* idxs = (unsigned*)malloc(size * sizeof(unsigned)); in llvm_const_insertvalue() local
750 idxs[i] = Int_val(Field(Indices, i)); in llvm_const_insertvalue()
753 result = LLVMConstInsertValue(Aggregate, Val, idxs, size); in llvm_const_insertvalue()
754 free(idxs); in llvm_const_insertvalue()
Dllvm.mli1089 (** [const_extractvalue agg idxs] returns the constant [idxs]th value of
1090 constant aggregate [agg]. Each [idxs] must be less than the size of the
1095 (** [const_insertvalue agg val idxs] inserts the value [val] in the specified
1096 indexs [idxs] in the aggegate [agg]. Each [idxs] must be less than the size
/external/swiftshader/third_party/llvm-7.0/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c1028 unsigned* idxs = (unsigned*)malloc(size * sizeof(unsigned)); in llvm_const_extractvalue() local
1030 idxs[i] = Int_val(Field(Indices, i)); in llvm_const_extractvalue()
1033 result = LLVMConstExtractValue(Aggregate, idxs, size); in llvm_const_extractvalue()
1034 free(idxs); in llvm_const_extractvalue()
1046 unsigned* idxs = (unsigned*)malloc(size * sizeof(unsigned)); in llvm_const_insertvalue() local
1048 idxs[i] = Int_val(Field(Indices, i)); in llvm_const_insertvalue()
1051 result = LLVMConstInsertValue(Aggregate, Val, idxs, size); in llvm_const_insertvalue()
1052 free(idxs); in llvm_const_insertvalue()
Dllvm.mli1274 (** [const_extractvalue agg idxs] returns the constant [idxs]th value of
1275 constant aggregate [agg]. Each [idxs] must be less than the size of the
1279 (** [const_insertvalue agg val idxs] inserts the value [val] in the specified
1280 indexs [idxs] in the aggegate [agg]. Each [idxs] must be less than the size
/external/llvm/bindings/ocaml/llvm/
Dllvm_ocaml.c945 unsigned* idxs = (unsigned*)malloc(size * sizeof(unsigned)); in llvm_const_extractvalue() local
947 idxs[i] = Int_val(Field(Indices, i)); in llvm_const_extractvalue()
950 result = LLVMConstExtractValue(Aggregate, idxs, size); in llvm_const_extractvalue()
951 free(idxs); in llvm_const_extractvalue()
963 unsigned* idxs = (unsigned*)malloc(size * sizeof(unsigned)); in llvm_const_insertvalue() local
965 idxs[i] = Int_val(Field(Indices, i)); in llvm_const_insertvalue()
968 result = LLVMConstInsertValue(Aggregate, Val, idxs, size); in llvm_const_insertvalue()
969 free(idxs); in llvm_const_insertvalue()
Dllvm.mli1250 (** [const_extractvalue agg idxs] returns the constant [idxs]th value of
1251 constant aggregate [agg]. Each [idxs] must be less than the size of the
1255 (** [const_insertvalue agg val idxs] inserts the value [val] in the specified
1256 indexs [idxs] in the aggegate [agg]. Each [idxs] must be less than the size
/external/tensorflow/tensorflow/contrib/layers/python/layers/
Drev_block_lib.py321 for idxs, grads in list(zip(f_vars_idxs, f_var_grads)) + list(
323 for i, grad in zip(idxs, grads):
/external/swiftshader/third_party/llvm-7.0/llvm/test/Bitcode/
Dinvalid.test52 RUN: not llvm-dis -disable-output %p/Inputs/invalid-extractval-too-many-idxs.bc 2>&1 | \
58 RUN: not llvm-dis -disable-output %p/Inputs/invalid-insertval-too-many-idxs.bc 2>&1 | \
/external/llvm/test/Bitcode/
Dinvalid.test49 RUN: not llvm-dis -disable-output %p/Inputs/invalid-extractval-too-many-idxs.bc 2>&1 | \
55 RUN: not llvm-dis -disable-output %p/Inputs/invalid-insertval-too-many-idxs.bc 2>&1 | \
/external/python/cpython2/Lib/
Ddifflib.py336 for elt, idxs in list(b2j.items()):
337 if len(idxs) > ntest:
/external/python/cpython3/Lib/
Ddifflib.py330 for elt, idxs in b2j.items():
331 if len(idxs) > ntest: