/third_party/icu/icu4c/source/i18n/ |
H A D | rbt_pars.cpp | 361 * @return the index after the terminating character, or 396 * @return the index after the terminating character, or 930 // The compound filter offset is an index into idBlockResult. in parseRules() 1230 * @return the position index after the final ';' of the pragma, 1276 * at pos. Return the index after the last character parsed. Do not 1605 int32_t index = getSegmentStandin(seg, status) - curData->variablesBase; in setSegmentObject() local 1607 variablesVector.elementAt(index) != NULL) { in setSegmentObject() 1614 variablesVector.setElementAt(adopted, index); in setSegmentObject() 1685 int32_t index; in utrans_stripRules() local 1692 index in utrans_stripRules() [all...] |
/third_party/node/lib/internal/ |
H A D | url.js | 1284 index: 0, 1302 index, 1306 if (index >= len) { 1313 const name = values[index]; 1314 const value = values[index + 1]; 1315 this[context].index = index + 2; 1345 index, 1348 ArrayPrototypeSlice(target[searchParams], index), 1356 ArrayPrototypePush(prev, [target[searchParams][index [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | rbt_pars.cpp | 361 * @return the index after the terminating character, or 396 * @return the index after the terminating character, or 930 // The compound filter offset is an index into idBlockResult. in parseRules() 1230 * @return the position index after the final ';' of the pragma, 1276 * at pos. Return the index after the last character parsed. Do not 1605 int32_t index = getSegmentStandin(seg, status) - curData->variablesBase; in setSegmentObject() local 1607 variablesVector.elementAt(index) != nullptr) { in setSegmentObject() 1614 variablesVector.setElementAt(adopted, index); in setSegmentObject() 1685 int32_t index; in utrans_stripRules() local 1692 index in utrans_stripRules() [all...] |
/third_party/node/deps/icu-small/source/tools/icuexportdata/ |
H A D | icuexportdata.cpp | 409 // If there is, then use its index. in dumpScriptExtensions() 427 // the index into the companion array in dumpScriptExtensions() 442 // The new trie value is the index into the new array with the high order bits set in dumpScriptExtensions() 713 // Find the slice `needle` within `storage` and return its index, failing which, 714 // append all elements of `needle` to `storage` and return the index of it at the end. 717 // Last index where we might find the start of the complete needle. in findOrAppend() 730 // We didn't find anything. Append, keeping the append index in mind. in findOrAppend() 731 size_t index = storage.size(); in findOrAppend() local 736 return index; in findOrAppend() 937 // Let's add 1 to index t in computeDecompositions() 939 uint32_t index = nonRecursive32.size() + 1; computeDecompositions() local 1056 size_t index = 0; computeDecompositions() local [all...] |
/third_party/node/deps/v8/src/compiler/backend/ |
H A D | instruction.cc | 115 int index_hi = loc.index(); in InterferesWith() 119 int other_index_hi = other_loc.index(); in InterferesWith() 204 os << "[stack:" << allocated.index(); in operator <<() 206 os << "[fp_stack:" << allocated.index(); in operator <<() 390 if (op.IsStackSlot() && LocationOperand::cast(op).index() < 0) return; 907 int index = static_cast<int>(instructions_.size()); 913 reference_map->set_instruction_position(index); 917 return index; 989 RpoNumber InstructionSequence::InputRpo(Instruction* instr, size_t index) { 990 InstructionOperand* operand = instr->InputAt(index); [all...] |
/third_party/node/deps/v8/src/debug/ |
H A D | liveedit.cc | 395 int GetLineStart(int index) { return index == 0 ? 0 : GetLineEnd(index - 1); } in GetLineStart() argument 396 int GetLineEnd(int index) { in GetLineEnd() argument 397 if (index == ends_array_->length()) { in GetLineEnd() 403 return GetPosAfterNewLine(index); in GetLineEnd() 411 int GetPosAfterNewLine(int index) { in GetPosAfterNewLine() argument 412 return Smi::ToInt(ends_array_->get(index)) + 1; in GetPosAfterNewLine() 665 vars[var->index()] = var->name(); in HasChangedScope() 669 auto it = vars.find(var->index()); in HasChangedScope() [all...] |
/third_party/node/deps/v8/src/execution/ |
H A D | messages.cc | 405 Handle<String> MessageFormatter::Format(Isolate* isolate, MessageTemplate index, in Format() argument 423 isolate, index, arg0_string, arg1_string, arg2_string); in Format() 438 const char* MessageFormatter::TemplateString(MessageTemplate index) { in TemplateString() argument 439 switch (index) { in TemplateString() 452 MessageTemplate index, in Format() 456 const char* template_string = TemplateString(index); in Format() 668 Handle<String> DoFormatMessage(Isolate* isolate, MessageTemplate index, in DoFormatMessage() argument 678 if (!MessageFormatter::Format(isolate, index, arg0_str, arg1_str, arg2_str) in DoFormatMessage() 693 Isolate* isolate, Handle<JSFunction> constructor, MessageTemplate index, in MakeGenericError() 702 Handle<String> msg = DoFormatMessage(isolate, index, arg in MakeGenericError() 451 Format(Isolate* isolate, MessageTemplate index, Handle<String> arg0, Handle<String> arg1, Handle<String> arg2) Format() argument 692 MakeGenericError( Isolate* isolate, Handle<JSFunction> constructor, MessageTemplate index, Handle<Object> arg0, Handle<Object> arg1, Handle<Object> arg2, FrameSkipMode mode) MakeGenericError() argument [all...] |
/third_party/node/deps/v8/src/snapshot/ |
H A D | deserializer.cc | 56 int index) { in ForSlotIndex() 57 return SlotAccessorForHeapObject(object, index * kTaggedSize); in ForSlotIndex() 253 // actual index and an empty backing store (serialized as in Deserializer() 393 uint32_t index = string.GetResourceRefForDeserialization(); in PostProcessExternalString() local 395 static_cast<Address>(isolate->api_external_references()[index]); in PostProcessExternalString() 1045 int index = source_.GetInt(); in ReadSingleBytecodeData() local 1046 Handle<HeapObject> heap_object = attached_objects_[index]; in ReadSingleBytecodeData() 1071 int index = source_.GetInt(); in ReadSingleBytecodeData() local 1072 auto& forward_ref = unresolved_forward_refs_[index]; in ReadSingleBytecodeData() 1245 int index in ReadSingleBytecodeData() local 55 ForSlotIndex(Handle<HeapObject> object, int index) ForSlotIndex() argument [all...] |
/third_party/pulseaudio/src/modules/dbus/ |
H A D | iface-stream.c | 191 idx = (s->type == STREAM_TYPE_PLAYBACK) ? s->sink_input->index : s->source_output->index; in handle_get_index() 199 return pa_sprintf_malloc("Playback stream %u", (unsigned) s->sink_input->index); in stream_to_string() 201 return pa_sprintf_malloc("Record stream %u", (unsigned) s->source_output->index); in stream_to_string() 543 idx = s->sink_input->index; in handle_get_all() 553 idx = s->source_output->index; in handle_get_all() 628 "Moving playback stream %u to sink %s failed.", s->sink_input->index, sink->name); in handle_move() 641 "Moving record stream %u to source %s failed.", s->source_output->index, source->name); in handle_move() 899 s->path = pa_sprintf_malloc("%s/%s%u", PA_DBUS_CORE_OBJECT_PATH, PLAYBACK_OBJECT_NAME, sink_input->index); in pa_dbusiface_stream_new_playback() 942 s->path = pa_sprintf_malloc("%s/%s%u", PA_DBUS_CORE_OBJECT_PATH, RECORD_OBJECT_NAME, source_output->index); in pa_dbusiface_stream_new_record() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | ProgramExecutable.cpp | 136 if (outputVariable.index != -1) 138 ASSERT(outputVariable.index == 0 || outputVariable.index == 1); 139 return (outputVariable.index == 1); 144 // Index layout qualifier from the shader takes precedence, so the index from the API is 145 // checked only if the index was not set in the shader. This is not specified in the EXT 149 // EXT_blend_func_extended: Outputs get index 0 by default. 406 output.index = stream->readInt<int>(); 416 stream->readInt(&locationData.index); 443 stream->readInt(&locationData.index); [all...] |
H A D | GLES1Renderer.cpp | 596 GLint index = it.first; in linkProgram() local 598 programObject->bindAttributeLocation(index, name.c_str()); in linkProgram() 1063 int index = VertexArrayIndex(attrib, glState->gles1()); in setAttributesEnabled() local 1065 if (mask.test(index)) in setAttributesEnabled() 1068 context->enableVertexAttribArray(index); in setAttributesEnabled() 1073 context->disableVertexAttribArray(index); in setAttributesEnabled() 1079 int index = TexCoordArrayIndex(i); in setAttributesEnabled() local 1081 if (mask.test(index)) in setAttributesEnabled() 1084 context->enableVertexAttribArray(index); in setAttributesEnabled() 1089 context->disableVertexAttribArray(index); in setAttributesEnabled() [all...] |
/third_party/skia/src/core/ |
H A D | SkGpuBlurUtils.cpp | 898 int index = radius; in Compute1DLinearGaussianKernel() local 909 temp_kernel[index] * 0.5f, temp_kernel[index + 1]); in Compute1DLinearGaussianKernel() 912 index++; in Compute1DLinearGaussianKernel() 917 kernel[halfradius] = temp_kernel[index]; in Compute1DLinearGaussianKernel() 920 index++; in Compute1DLinearGaussianKernel() 923 for (int i = halfradius + 1; i < halfsize; index += 2, i++, low_index--) { in Compute1DLinearGaussianKernel() 924 get_new_weight(&kernel[i], &offset[i], temp_kernel[index], temp_kernel[index + 1]); in Compute1DLinearGaussianKernel() 925 offset[i] += static_cast<float>(index in Compute1DLinearGaussianKernel() [all...] |
H A D | SkRRect.cpp | 269 int index; in checkCornerContainment() local 273 index = kUpperLeft_Corner; // any corner will do in this case in checkCornerContainment() 278 index = kUpperLeft_Corner; in checkCornerContainment() 285 index = kLowerLeft_Corner; in checkCornerContainment() 292 index = kUpperRight_Corner; in checkCornerContainment() 299 index = kLowerRight_Corner; in checkCornerContainment() 315 SkScalar dist = SkScalarSquare(canonicalPt.fX) * SkScalarSquare(fRadii[index].fY) + in checkCornerContainment() 316 SkScalarSquare(canonicalPt.fY) * SkScalarSquare(fRadii[index].fX); in checkCornerContainment() 317 return dist <= SkScalarSquare(fRadii[index].fX * fRadii[index] in checkCornerContainment() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | rbt_pars.cpp | 361 * @return the index after the terminating character, or 396 * @return the index after the terminating character, or 930 // The compound filter offset is an index into idBlockResult. in parseRules() 1212 * @return the position index after the final ';' of the pragma, 1258 * at pos. Return the index after the last character parsed. Do not 1580 int32_t index = getSegmentStandin(seg, status) - curData->variablesBase; in setSegmentObject() local 1582 variablesVector.elementAt(index) != NULL) { in setSegmentObject() 1588 variablesVector.setElementAt(adopted, index); in setSegmentObject() 1659 int32_t index; in utrans_stripRules() local 1666 index in utrans_stripRules() [all...] |
/third_party/python/Modules/ |
H A D | _operator.c | 499 Return the first index of b in a. 684 _operator.index 977 Py_ssize_t index; // -1 unless *item* is a single non-negative integer index member 994 Py_ssize_t index; in itemgetter_new() local 1016 ig->index = -1; in itemgetter_new() 1018 index = PyLong_AsSsize_t(item); in itemgetter_new() 1019 if (index < 0) { in itemgetter_new() 1020 /* If we get here, then either the index conversion failed in itemgetter_new() 1021 * due to being out of range, or the index wa in itemgetter_new() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | parserRealSource14.js | 28 static reverseIndexOf(items: any[], index: number): any { 29 return (items === null || items.length <= index) ? null : items[items.length - index - 1]; 87 public get(index: number): TypeScript.AST { 88 return this.asts[index]; 605 AstPath.reverseIndexOf = function (items, index) {
606 return (items === null || items.length <= index) ? null : items[items.length - index - 1];
653 AstPath.prototype.get = function (index) {
654 return this.asts[index];
[all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | FieldSet.java | 326 public Object getRepeatedField(final T descriptor, final int index) { in getRepeatedField() argument 337 return ((List<?>) value).get(index); in getRepeatedField() 346 public void setRepeatedField(final T descriptor, final int index, final Object value) { in setRepeatedField() argument 358 ((List<Object>) list).set(index, value); in setRepeatedField() 1129 public Object getRepeatedField(final T descriptor, final int index) { in getRepeatedField() argument 1133 Object value = getRepeatedFieldAllowBuilders(descriptor, index); in getRepeatedField() 1141 Object getRepeatedFieldAllowBuilders(final T descriptor, final int index) { in getRepeatedFieldAllowBuilders() argument 1152 return ((List<?>) value).get(index); in getRepeatedFieldAllowBuilders() 1161 public void setRepeatedField(final T descriptor, final int index, final Object value) { in setRepeatedField() argument 1176 ((List<Object>) list).set(index, valu in setRepeatedField() [all...] |
/third_party/rust/crates/nom/src/number/ |
H A D | streaming.rs | 390 for (index, byte) in input.iter_indices().take(bound) { in le_u16() 391 res += (byte as u16) << (8 * index); in le_u16() 423 for (index, byte) in input.iter_indices().take(bound) { in le_u24() 424 res += (byte as u32) << (8 * index); in le_u24() 456 for (index, byte) in input.iter_indices().take(bound) { in le_u32() 457 res += (byte as u32) << (8 * index); in le_u32() 489 for (index, byte) in input.iter_indices().take(bound) { in le_u64() 490 res += (byte as u64) << (8 * index); in le_u64() 522 for (index, byte) in input.iter_indices().take(bound) { in le_u128() 523 res += (byte as u128) << (8 * index); in le_u128() [all...] |
H A D | complete.rs | 413 for (index, byte) in input.iter_indices().take(bound) { in le_u16() 414 res += (byte as u16) << (8 * index); in le_u16() 446 for (index, byte) in input.iter_indices().take(bound) { in le_u24() 447 res += (byte as u32) << (8 * index); in le_u24() 479 for (index, byte) in input.iter_indices().take(bound) { in le_u32() 480 res += (byte as u32) << (8 * index); in le_u32() 512 for (index, byte) in input.iter_indices().take(bound) { in le_u64() 513 res += (byte as u64) << (8 * index); in le_u64() 545 for (index, byte) in input.iter_indices().take(bound) { in le_u128() 546 res += (byte as u128) << (8 * index); in le_u128() [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | interface_var_sroa.cpp | 119 load, [&users, composite_construct](Instruction* user, uint32_t index) { in ReplaceLoadWithCompositeConstruct() 120 user->GetOperand(index).words[0] = composite_construct->result_id(); in ReplaceLoadWithCompositeConstruct() 277 for (uint32_t index = 0; index < extra_array_length; ++index) { in ReplaceInterfaceVarWith() 281 interface_var_component_indices, &index, in ReplaceInterfaceVarWith() 488 uint32_t component_type_id, Instruction* var, uint32_t index, in CreateAccessChainWithIndex() 492 uint32_t index_id = context()->get_constant_mgr()->GetUIntConstId(index); in CreateAccessChainWithIndex() 516 // index that is for the extra arrayness. in ReplaceAccessChainWith() 687 for (uint32_t index in CreateCompositeExtract() 487 CreateAccessChainWithIndex( uint32_t component_type_id, Instruction* var, uint32_t index, Instruction* insert_before) CreateAccessChainWithIndex() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineCreationFeedbackTests.cpp | 789 const deUint32 index = VK_MAX_SHADER_STAGES * pipelineCacheNdx + shader; in verifyTestResult() local 795 if (m_pipelineStageCreationFeedbacks[index].flags & isZeroOutFeedbackCout) in verifyTestResult() 802 if (!(m_pipelineStageCreationFeedbacks[index].flags & VK_PIPELINE_CREATION_FEEDBACK_VALID_BIT_EXT)) in verifyTestResult() 807 if (m_pipelineStageCreationFeedbacks[index].flags) in verifyTestResult() 816 if (m_param->isCacheDisabled() && m_pipelineStageCreationFeedbacks[index].flags & VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT) in verifyTestResult() 823 if (pipelineCacheNdx == PIPELINE_CACHE_NDX_CACHED && !m_param->isCacheDisabled() && (m_pipelineStageCreationFeedbacks[index].flags & VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT) == 0) in verifyTestResult() 828 if (cachedPipelineWarning && m_pipelineStageCreationFeedbacks[index].flags & VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT) in verifyTestResult() 834 message << "\t\t Hit cache ? \t\t\t" << (m_pipelineStageCreationFeedbacks[index].flags & VK_PIPELINE_CREATION_FEEDBACK_APPLICATION_PIPELINE_CACHE_HIT_BIT_EXT ? "yes" : "no") << "\n"; in verifyTestResult() 835 message << "\t\t Base Pipeline Acceleration ? \t" << (m_pipelineStageCreationFeedbacks[index].flags & VK_PIPELINE_CREATION_FEEDBACK_BASE_PIPELINE_ACCELERATION_BIT_EXT ? "yes" : "no") << "\n"; in verifyTestResult() 836 message << "\t\t Duration (ns): \t\t" << m_pipelineStageCreationFeedbacks[index] in verifyTestResult() [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | isp1362-hcd.c | 156 static inline int get_ptd_offset(struct isp1362_ep_queue *epq, u8 index) in get_ptd_offset() argument 160 if (index * epq->blk_size > epq->buf_size) { in get_ptd_offset() 161 pr_warn("%s: Bad %s index %d(%d)\n", in get_ptd_offset() 162 __func__, epq->name, index, in get_ptd_offset() 166 offset = epq->buf_start + index * epq->blk_size; in get_ptd_offset() 167 DBG(3, "%s: %s PTD[%02x] # %04x\n", __func__, epq->name, index, offset); in get_ptd_offset() 401 int index; in remove_ptd() local 416 index = ep->ptd_index; in remove_ptd() 417 if (index < 0) in remove_ptd() 422 index, e in remove_ptd() 661 int index = ep->ptd_index; finish_unlinks() local 716 int index; submit_req() local 952 int index = ep->ptd_index; finish_transfers() local [all...] |
/kernel/linux/linux-5.10/fs/btrfs/ |
H A D | scrub.c | 85 int index; member 598 sbio->index = i; in scrub_setup_ctx() 2159 int index; in scrub_pages() local 2175 for (index = 0; len > 0; index++) { in scrub_pages() 2188 BUG_ON(index >= SCRUB_MAX_PAGES_PER_BLOCK); in scrub_pages() 2190 sblock->pagev[index] = spage; in scrub_pages() 2223 for (index = 0; index < sblock->page_count; index in scrub_pages() 2370 unsigned long index; scrub_find_csum() local 2464 int index; scrub_pages_for_parity() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/enetc/ |
H A D | enetc.c | 48 int index = &priv->tx_ring[tx_ring->index] - priv->xdp_tx_ring; in enetc_rx_ring_from_xdp_tx_ring() local 50 return priv->rx_ring[index]; in enetc_rx_ring_from_xdp_tx_ring() 530 /* Advance the index in the BDR */ in enetc_map_tx_tso_buffs() 608 netif_stop_subqueue(ndev, tx_ring->index); in enetc_start_xmit() 622 netif_stop_subqueue(ndev, tx_ring->index); in enetc_start_xmit() 640 netif_stop_subqueue(ndev, tx_ring->index); in enetc_start_xmit() 890 enetc_wr_reg_hot(tx_ring->idr, BIT(tx_ring->index) | in enetc_clean_tx_ring() 891 BIT(16 + tx_ring->index)); in enetc_clean_tx_ring() 904 __netif_subqueue_stopped(ndev, tx_ring->index) in enetc_clean_tx_ring() [all...] |
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | relocation.c | 195 struct btrfs_backref_edge *edges[], int *index) in walk_up_backref() 198 int idx = *index; in walk_up_backref() 207 *index = idx; in walk_up_backref() 215 struct btrfs_backref_edge *edges[], int *index) in walk_down_backref() 219 int idx = *index; in walk_down_backref() 231 *index = idx; in walk_down_backref() 234 *index = 0; in walk_down_backref() 2161 int index = 0; in select_reloc_root() local 2167 next = walk_up_backref(next, edges, &index); in select_reloc_root() 2245 next = walk_down_backref(edges, &index); in select_reloc_root() 193 walk_up_backref( struct btrfs_backref_node *node, struct btrfs_backref_edge *edges[], int *index) walk_up_backref() argument 214 walk_down_backref( struct btrfs_backref_edge *edges[], int *index) walk_down_backref() argument 2285 int index = 0; select_one_root() local 2329 int index = 0; calcu_metadata_size() local 2609 int index = 0; update_processed_blocks() local 3126 unsigned long index; relocate_file_extent_cluster() local [all...] |