/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
H A D | sfn_shader_gs.cpp | 60 auto index = nir_src_as_const_value(instr->src[1]); in process_store_output() local 61 assert(index); in process_store_output() 63 auto driver_location = nir_intrinsic_base(instr) + index->u32; in process_store_output() 118 auto index = nir_src_as_const_value(instr->src[1]); in process_load_input() local 119 assert(index); in process_load_input() 121 auto driver_location = nir_intrinsic_base(instr) + index->u32; in process_load_input() 252 auto index = nir_src_as_const_value(instr->src[1]); 253 assert(index); 254 auto driver_location = nir_intrinsic_base(instr) + index->u32;
|
/third_party/node/lib/internal/test_runner/ |
H A D | runner.js | 502 shard = { __proto__: null, index: shard.index, total: shard.total }; 505 validateInteger(shard.index, 'options.shard.index'); 507 if (shard.index <= 0 || shard.total < shard.index) { 508 throw new ERR_OUT_OF_RANGE('options.shard.index', `>= 1 && <= ${shard.total} ("options.shard.total")`, shard.index); 539 testFiles = ArrayPrototypeFilter(testFiles, (_, index) => index [all...] |
/third_party/mesa3d/src/mesa/program/ |
H A D | prog_parameter.c | 268 * \return index of new parameter in the list, or -1 if error (out of mem) 376 * \return index/position of the new parameter in the parameter list. 430 GLint index; in _mesa_add_sized_state_reference() local 433 for (index = 0; index < (GLint) paramList->NumParameters; index++) { in _mesa_add_sized_state_reference() 434 if (!memcmp(paramList->Parameters[index].StateIndexes, in _mesa_add_sized_state_reference() 436 sizeof(paramList->Parameters[index].StateIndexes))) { in _mesa_add_sized_state_reference() 437 return index; in _mesa_add_sized_state_reference() 442 index in _mesa_add_sized_state_reference() [all...] |
/third_party/node/deps/v8/src/ast/ |
H A D | modules.cc | 182 int index = 0; in SerializeRegularExports() local 197 data[index + SourceTextModuleInfo::kRegularExportLocalNameOffset] = in SerializeRegularExports() 199 data[index + SourceTextModuleInfo::kRegularExportCellIndexOffset] = in SerializeRegularExports() 201 data[index + SourceTextModuleInfo::kRegularExportExportNamesOffset] = in SerializeRegularExports() 203 index += SourceTextModuleInfo::kRegularExportLength; in SerializeRegularExports() 215 DCHECK_LE(index, static_cast<int>(data.size())); in SerializeRegularExports() 216 data.resize(index); in SerializeRegularExports() 221 isolate->factory()->NewFixedArray(index, AllocationType::kOld); in SerializeRegularExports() 222 for (int i = 0; i < index; ++i) { in SerializeRegularExports() 276 // same index t in AssignCellIndices() [all...] |
/third_party/node/deps/v8/src/builtins/ |
H A D | setup-builtins-internal.cc | 286 int index = 0; in SetupBuiltinsInternal() local 292 index++; in SetupBuiltinsInternal() 298 index++; in SetupBuiltinsInternal() 306 index++; in SetupBuiltinsInternal() 314 index++; in SetupBuiltinsInternal() 322 index++; in SetupBuiltinsInternal() 328 index++; in SetupBuiltinsInternal() 334 index++; in SetupBuiltinsInternal() 346 CHECK_EQ(Builtins::kBuiltinCount, index); in SetupBuiltinsInternal()
|
/third_party/node/deps/v8/src/heap/ |
H A D | marking.h | 115 V8_INLINE static uint32_t IndexToCell(uint32_t index) { in IndexToCell() argument 116 return index >> kBitsPerCellLog2; in IndexToCell() 119 V8_INLINE static uint32_t IndexInCell(uint32_t index) { in IndexInCell() argument 120 return index & kBitIndexMask; in IndexInCell() 123 // Retrieves the cell containing the provided markbit index. 124 V8_INLINE static uint32_t CellAlignIndex(uint32_t index) { in CellAlignIndex() argument 125 return index & ~kBitIndexMask; in CellAlignIndex() 136 inline MarkBit MarkBitFromIndex(uint32_t index) { in MarkBitFromIndex() argument 137 MarkBit::CellType mask = 1u << IndexInCell(index); in MarkBitFromIndex() 138 MarkBit::CellType* cell = this->cells() + (index >> kBitsPerCellLog in MarkBitFromIndex() [all...] |
/third_party/node/deps/v8/src/debug/wasm/gdb-server/ |
H A D | gdb-server.cc | 182 bool GdbServer::GetWasmGlobal(uint32_t frame_index, uint32_t index, in GetWasmGlobal() argument 187 RunSyncTask([this, &result, frame_index, index, buffer, buffer_size, size]() { in GetWasmGlobal() 190 frame_index, index, buffer, in GetWasmGlobal() 196 bool GdbServer::GetWasmLocal(uint32_t frame_index, uint32_t index, in GetWasmLocal() argument 201 RunSyncTask([this, &result, frame_index, index, buffer, buffer_size, size]() { in GetWasmLocal() 204 frame_index, index, buffer, in GetWasmLocal() 210 bool GdbServer::GetWasmStackValue(uint32_t frame_index, uint32_t index, in GetWasmStackValue() argument 215 RunSyncTask([this, &result, frame_index, index, buffer, buffer_size, size]() { in GetWasmStackValue() 218 frame_index, index, buffer, in GetWasmStackValue()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
H A D | d3d12_pipeline_state.cpp | 47 get_semantic_name(int location, int driver_location, unsigned *index) in get_semantic_name() argument 49 *index = 0; /* Default index */ in get_semantic_name() 60 *index = 1; in get_semantic_name() 75 *index = driver_location; in get_semantic_name() 109 unsigned index; in fill_so_declaration() local 134 var->data.driver_location, &index); in fill_so_declaration() 135 entries[*num_entries].SemanticIndex = index; in fill_so_declaration() 196 d3d12_rtv_format(struct d3d12_context *ctx, unsigned index) in d3d12_rtv_format() argument 198 DXGI_FORMAT fmt = ctx->gfx_pipeline_state.rtv_formats[index]; in d3d12_rtv_format() [all...] |
/third_party/mesa3d/src/gallium/drivers/r300/compiler/ |
H A D | radeon_program_print.c | 113 static void rc_print_inline_float(FILE * f, int index) in rc_print_inline_float() argument 115 int r300_exponent = (index >> 3) & 0xf; in rc_print_inline_float() 116 unsigned r300_mantissa = index & 0x7; in rc_print_inline_float() 124 fprintf(f, "%f (0x%x)", uif(real_float), index); in rc_print_inline_float() 128 static void rc_print_register(FILE * f, rc_register_file file, int index, unsigned int reladdr) in rc_print_register() argument 133 switch(index) { in rc_print_register() 135 default: fprintf(f, "special[%i]", index); break; in rc_print_register() 138 rc_print_inline_float(f, index); in rc_print_register() 149 fprintf(f, "%s[%i%s]", filename, index, reladdr ? " + addr[0]" : ""); in rc_print_register()
|
/third_party/pulseaudio/src/pulse/ |
H A D | introspect.h | 83 * and source have both an index and a name associated with it. As such, 86 * \li By index - pa_context_get_sink_info_by_index() / 102 * Sink inputs and source outputs only have an index to identify them. As 105 * \li By index - pa_context_get_sink_input_info() / 118 * \li By index - pa_context_get_sample_info_by_index() 127 * PulseAudio driver modules are identified by index and are retrieved using either 133 * PulseAudio clients are also identified by index and are retrieved using 149 * \li By index - pa_context_set_sink_volume_by_index() / 156 * \li By index - pa_context_set_sink_mute_by_index() / 269 uint32_t index; /**< Inde member 374 uint32_t index; /**< Index of the source */ global() member 468 uint32_t index; /**< Index of the module */ global() member 515 uint32_t index; /**< Index of this client */ global() member 604 uint32_t index; /**< Index of this card */ global() member 647 uint32_t index; /**< Index of the sink input */ global() member 699 uint32_t index; /**< Index of the source output */ global() member 772 uint32_t index; /**< Index of this entry */ global() member 812 uint32_t index; /**< Index of this autoload entry */ global() member [all...] |
/third_party/pulseaudio/src/tests/ |
H A D | memblockq-test.c | 56 res.index = 0; in memchunk_from_str() 70 for (e = (char*) q + chunk->index, n = 0; n < chunk->length; n++, e++) { in dump_chunk() 175 ck_assert_int_eq(chunk.index, 0); in START_TEST() 259 chunk2.index += 2; in START_TEST() 311 chunk3.index += 2; in START_TEST() 429 * "length" is the current memblockq length (write index minus read index) in START_TEST() 475 ck_assert_int_eq(chunk.length - chunk.index, 40); in START_TEST() 505 ck_assert_int_eq(chunk.length - chunk.index, 20); in START_TEST() 535 ck_assert_int_eq(chunk.length - chunk.index, 2 in START_TEST() [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
H A D | MonomorphizeUnsupportedFunctions.cpp | 111 TIntermTyped *index = asBinary->getRight(); in ExtractSideEffects() local 121 ASSERT(index->getAsConstantUnion()); in ExtractSideEffects() 127 // If the index is a symbol, there's no side effect, so leave it as-is. in ExtractSideEffects() 128 if (index->getAsSymbolNode()) in ExtractSideEffects() 133 // Otherwise create a temp variable initialized with the index and use that temp variable as in ExtractSideEffects() 134 // the index. in ExtractSideEffects() 136 TVariable *tempVar = DeclareTempVariable(symbolTable, index, EvqTemporary, &tempDecl); in ExtractSideEffects() 139 asBinary->replaceChildNode(index, new TIntermSymbol(tempVar)); in ExtractSideEffects() 163 // index. Note that the index itsel in CreateMonomorphizedFunctionCallArgs() 170 TIntermTyped *index = asBinary->getRight(); CreateMonomorphizedFunctionCallArgs() local 219 TIntermTyped *index = asBinary->getRight(); MonomorphizeFunction() local [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | queryconversions.cpp | 246 GLuint index, in CastIndexedStateValues() 253 context->getIntegeri_v(pname, index, intParams.data()); in CastIndexedStateValues() 263 context->getBooleani_v(pname, index, boolParams.data()); in CastIndexedStateValues() 274 context->getInteger64i_v(pname, index, int64Params.data()); in CastIndexedStateValues() 288 GLuint index, 294 GLuint index, 300 GLuint index, 306 GLuint index, 312 GLuint index, 243 CastIndexedStateValues(Context *context, GLenum nativeType, GLenum pname, GLuint index, unsigned int numParams, QueryT *outParams) CastIndexedStateValues() argument
|
/third_party/skia/samplecode/ |
H A D | SampleFatBits.cpp | 366 IndexClick(int index) : fIndex(index) {} in IndexClick() argument 472 int index = -1; variable 478 index = i; 482 return new IndexClick(index); 486 int index = IndexClick::GetIndex(click); variable 487 if (index >= 0 && index <= 2) { 488 fPts[index] = click->fCurr;
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Program.h | 45 int index = -1; member 99 UniformLocation(const std::string &name, unsigned int element, unsigned int index); 103 unsigned int index; member 135 void bindAttributeLocation(GLuint index, const char *name); 188 void getActiveAttribute(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const; 192 void getActiveUniform(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const; 195 GLint getActiveUniformi(GLuint index, GLenum pname) const; 197 void getActiveUniformBlockName(GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) const; 202 void getTransformFeedbackVarying(GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) const;
|
/third_party/skia/third_party/externals/swiftshader/tests/regres/cmd/export_to_sheets/ |
H A D | main.go | 185 // of the element, and the value is the element index. 195 // indices is a map of identifier to output slice element index. 200 index, ok := indices[name] 202 return nil, fmt.Errorf("No index for '%v'", name) 204 for len(out) <= index { 207 out[index] = value 234 // given index. 235 func rowRange(index int, sheet *sheets.Sheet) string { 236 return fmt.Sprintf("%v!A%v:%v", sheet.Properties.Title, index+1, index [all...] |
/third_party/skia/tests/ |
H A D | TestUtils.cpp | 308 int index = cache.findGlyphIndex(c); in DEF_TEST() local 309 if (index >= 0) { in DEF_TEST() 310 index = cache.findGlyphIndex(c); in DEF_TEST() 312 REPORTER_ASSERT(reporter, index < 0); in DEF_TEST() 313 cache.insertCharAndGlyph(~index, c, glyph); in DEF_TEST() 319 index = cache.findGlyphIndex(c); in DEF_TEST() 320 if ((unsigned)index != glyph) { in DEF_TEST() 321 index = cache.findGlyphIndex(c); in DEF_TEST() 323 REPORTER_ASSERT(reporter, (unsigned)index == glyph); in DEF_TEST()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-map.cc | 41 lookups_out->add (lookups[table_index][i].index); in collect_lookups() 144 lookup->index = lookup_indices[i]; in add_lookups() 158 s->index = current_stage[table_index]; in add_pause() 273 map->index[0] = feature_index[0]; in compile() 274 map->index[1] = feature_index[1]; in compile() 317 m.features[i].index[table_index], in compile() 331 if (m.lookups[table_index][i].index != m.lookups[table_index][j].index) in compile() 344 if (stage_index < stages[table_index].length && stages[table_index][stage_index].index == stage) { in compile()
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
H A D | dag.h | 101 // counterIndex if valid, is the index of the counter in the RunContext for 116 // node with the given index. 121 // invoke() calls the work function for the node with the given index, then 226 NodeIndex index; member in marl::DAGNodeBuilder 230 DAGNodeBuilder<T>::DAGNodeBuilder(DAGBuilder<T>* builder, NodeIndex index) in DAGNodeBuilder() argument 231 : builder(builder), index(index) {} in DAGNodeBuilder() 324 auto index = dag->nodes.size(); in node() local 327 auto node = DAGNodeBuilder<T>{this, index}; in node() 337 numIns[child.index] in addDependency() [all...] |
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_fingerprint.cpp | 267 uint32 index = (count [0] >> 3) & 0x3F; in Process() local 282 uint32 partLen = 64 - index; in Process() 287 memcpy (&buffer [index], in Process() 300 index = 0; in Process() 306 memcpy (&buffer [index], in Process() 335 uint32 index = (count [0] >> 3) & 0x3f; in Result() local 337 uint32 padLen = (index < 56) ? (56 - index) : (120 - index); in Result()
|
/third_party/python/Lib/test/ |
H A D | test_index.py | 22 self.assertEqual(operator.index(self.o), -2) 23 self.assertEqual(operator.index(self.n), 2) 53 self.assertRaises(TypeError, operator.index, self.o) 54 self.assertRaises(TypeError, operator.index, self.n) 67 operator_index = operator.index(my_int) 85 n = operator.index(bad_int) 89 n = operator.index(bad_int) 215 def __getitem__(self, index): 216 return self._list[index]
|
/third_party/qrcodegen/java-fast/io/nayuki/fastqrcodegen/ |
H A D | QrCode.java | 212 /** The index of the mask pattern used in this QR Code, which is between 0 and 7 (inclusive). 420 for (int index = 0, downIndex = size, end = size * size; index < end; ) { in getPenaltyScore() 426 for (int x = 0; x < size; x++, index++, downIndex++) { in getPenaltyScore() 427 int c = getBit(modules[index >>> 5], index); in getPenaltyScore() 458 for (int y = 0, index = x; y < size; y++, index += size) { in getPenaltyScore() 459 int c = getBit(modules[index >>> 5], index); in getPenaltyScore() [all...] |
/third_party/vk-gl-cts/external/vulkancts/vkscpc/ |
H A D | vkscpc.cpp | 117 deUint64 index; in importFilesForExternalCompiler() local 118 std::istringstream(membersNames[0]) >> index; in importFilesForExternalCompiler() 119 input.samplerYcbcrConversions[vk::VkSamplerYcbcrConversion(index)] = std::string(fileContents.begin() + value.getOffsetStart(), fileContents.begin() + value.getOffsetLimit()); in importFilesForExternalCompiler() 130 deUint64 index; in importFilesForExternalCompiler() local 131 std::istringstream(membersNames[0]) >> index; in importFilesForExternalCompiler() 132 input.samplers[vk::VkSampler(index)] = std::string(fileContents.begin() + value.getOffsetStart(), fileContents.begin() + value.getOffsetLimit()); in importFilesForExternalCompiler() 143 deUint64 index; in importFilesForExternalCompiler() local 144 std::istringstream(membersNames[0]) >> index; in importFilesForExternalCompiler() 145 input.descriptorSetLayouts[vk::VkDescriptorSetLayout(index)] = std::string(fileContents.begin() + value.getOffsetStart(), fileContents.begin() + value.getOffsetLimit()); in importFilesForExternalCompiler()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | f71882fg.c | 1375 int nr = to_sensor_dev_attr_2(devattr)->index; in show_fan() 1388 int nr = to_sensor_dev_attr_2(devattr)->index; in show_fan_full_speed() 1398 int err, nr = to_sensor_dev_attr_2(devattr)->index; in store_fan_full_speed() 1420 int nr = to_sensor_dev_attr_2(devattr)->index; in show_fan_beep() 1432 int err, nr = to_sensor_dev_attr_2(devattr)->index; in store_fan_beep() 1456 int nr = to_sensor_dev_attr_2(devattr)->index; in show_fan_alarm() 1468 int nr = to_sensor_dev_attr_2(devattr)->index; in show_in() 1510 int nr = to_sensor_dev_attr_2(devattr)->index; in show_in_beep() 1522 int err, nr = to_sensor_dev_attr_2(devattr)->index; in store_in_beep() 1553 int nr = to_sensor_dev_attr_2(devattr)->index; in show_in_alarm() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | buffer.c | 194 pgoff_t index; in __find_get_block_slow() local 201 index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); in __find_get_block_slow() 202 page = find_get_page_flags(bd_mapping, index, FGP_ACCESSED); in __find_get_block_slow() 955 pgoff_t index, int size, int sizebits, gfp_t gfp) in grow_dev_page() 974 page = find_or_create_page(inode->i_mapping, index, gfp_mask); in grow_dev_page() 982 (sector_t)index << sizebits, in grow_dev_page() 1002 end_block = init_page_buffers(page, bdev, (sector_t)index << sizebits, in grow_dev_page() 1020 pgoff_t index; in grow_buffers() local 1028 index = block >> sizebits; in grow_buffers() 1032 * pagecache index in grow_buffers() 954 grow_dev_page(struct block_device *bdev, sector_t block, pgoff_t index, int size, int sizebits, gfp_t gfp) grow_dev_page() argument 1611 pgoff_t index = block >> (PAGE_SHIFT - bd_inode->i_blkbits); clean_bdev_aliases() local 2112 pgoff_t index = pos >> PAGE_SHIFT; block_write_begin() local 2380 pgoff_t index, curidx; cont_expand_zero() local 2587 pgoff_t index; nobh_write_begin() local 2798 pgoff_t index = from >> PAGE_SHIFT; nobh_truncate_page() local 2876 pgoff_t index = from >> PAGE_SHIFT; block_truncate_page() local [all...] |