/third_party/python/Modules/_sre/ |
H A D | sre.c | 519 state_getslice(SRE_STATE* state, Py_ssize_t index, PyObject* string, int empty) in state_getslice() argument 523 index = (index - 1) * 2; in state_getslice() 525 if (string == Py_None || index >= state->lastmark || !state->mark[index] || !state->mark[index+1]) { in state_getslice() 533 i = STATE_OFFSET(state, state->mark[index]); in state_getslice() 534 j = STATE_OFFSET(state, state->mark[index+1]); in state_getslice() 2022 match_getslice_by_index(MatchObject* self, Py_ssize_t index, PyObject* def) in match_getslice_by_index() argument 2031 assert(0 <= index in match_getslice_by_index() 2055 match_getindex(MatchObject* self, PyObject* index) match_getindex() argument 2088 match_getslice(MatchObject* self, PyObject* index, PyObject* def) match_getslice() argument 2173 Py_ssize_t index; _sre_SRE_Match_groups_impl() local 2250 Py_ssize_t index = match_getindex(self, group); _sre_SRE_Match_start_impl() local 2273 Py_ssize_t index = match_getindex(self, group); _sre_SRE_Match_end_impl() local 2323 Py_ssize_t index = match_getindex(self, group); _sre_SRE_Match_span_impl() local 2338 Py_ssize_t index; match_regs() local [all...] |
/third_party/node/deps/v8/src/execution/arm64/ |
H A D | simulator-arm64.h | 390 int64_t Int(VectorFormat vform, int index) const { in Int() 394 element = register_.Get<int8_t>(index); in Int() 397 element = register_.Get<int16_t>(index); in Int() 400 element = register_.Get<int32_t>(index); in Int() 403 element = register_.Get<int64_t>(index); in Int() 412 uint64_t Uint(VectorFormat vform, int index) const { in Uint() 416 element = register_.Get<uint8_t>(index); in Uint() 419 element = register_.Get<uint16_t>(index); in Uint() 422 element = register_.Get<uint32_t>(index); in Uint() 425 element = register_.Get<uint64_t>(index); in Uint() 445 SetInt(VectorFormat vform, int index, int64_t value) const SetInt() argument 472 SetUint(VectorFormat vform, int index, uint64_t value) const SetUint() argument 509 SetFloat(int index, T value) const SetFloat() argument 536 GetSignedSaturation(int index) GetSignedSaturation() argument 540 GetUnsignedSaturation(int index) GetUnsignedSaturation() argument 545 ClearSat(int index) ClearSat() argument 547 SetSignedSat(int index, bool positive) SetSignedSat() argument 551 SetUnsignedSat(int index, bool positive) SetUnsignedSat() argument 555 SetSatFlag(int index, Saturation sat) SetSatFlag() argument 587 GetRounding(int index) GetRounding() argument 590 SetRounding(int index, bool round) SetRounding() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Program.cpp | 119 for (size_t index = 0; index < list.size(); index++) in GetResourceIndexFromName() 121 const VarT &resource = list[index]; in GetResourceIndexFromName() 124 return static_cast<GLuint>(index); in GetResourceIndexFromName() 146 const sh::ShaderVariable &variable = list[variableLocation.index]; in GetVariableLocation() 179 const LinkedUniform &variable = list[variableLocation.index]; in GetVariableLocation() 346 void GetInterfaceBlockName(const UniformBlockIndex index, in GetInterfaceBlockName() argument 352 ASSERT(index.value < list.size()); in GetInterfaceBlockName() 354 const auto &block = list[index in GetInterfaceBlockName() 862 size_t index = 0; getLog() local 1047 VariableLocation(unsigned int arrayIndex, unsigned int index) VariableLocation() argument 1073 bindLocation(GLuint index, const std::string &name) bindLocation() argument 1109 bindLocation(GLuint index, const std::string &name) bindLocation() argument 1272 GLuint index = getUniformIndexFromLocation(location); getSamplerIndex() local 1467 bindAttributeLocation(GLuint index, const char *name) bindAttributeLocation() argument 1479 bindFragmentOutputLocation(GLuint index, const char *name) bindFragmentOutputLocation() argument 1484 bindFragmentOutputIndex(GLuint index, const char *name) bindFragmentOutputIndex() argument 2065 getActiveAttribute(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const getActiveAttribute() argument 2279 const GLuint index = getInputResourceIndex(name); getInputResourceLocation() local 2292 const GLuint index = getOutputResourceIndex(name); getOutputResourceLocation() local 2351 getInputResourceName(GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) const getInputResourceName() argument 2360 getOutputResourceName(GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) const getOutputResourceName() argument 2369 getUniformResourceName(GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) const getUniformResourceName() argument 2379 getBufferVariableResourceName(GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name) const getBufferVariableResourceName() argument 2482 getActiveUniform(GLuint index, GLsizei bufsize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) const getActiveUniform() argument 3176 getTransformFeedbackVarying(GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) const getTransformFeedbackVarying() argument [all...] |
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_deref.c | 133 !nir_src_is_const(instr->arr.index)) in nir_deref_instr_has_indirect() 147 nir_src_is_const(instr->arr.index) && in nir_deref_instr_is_known_out_of_bounds() 148 nir_src_as_uint(instr->arr.index) >= in nir_deref_instr_is_known_out_of_bounds() 170 /* If a deref shows up in an array index or something like that, it's in nir_deref_instr_has_complex_use() 314 offset += nir_src_as_uint((*p)->arr.index) * in nir_deref_instr_get_const_offset() 321 (*p)->strct.index); in nir_deref_instr_get_const_offset() 349 nir_ssa_def *index = nir_ssa_for_src(b, (*p)->arr.index, 1); in nir_build_deref_offset() local 351 offset = nir_iadd(b, offset, nir_amul_imm(b, index, stride)); in nir_build_deref_offset() 359 (*p)->strct.index); in nir_build_deref_offset() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | bytecode-analysis.cc | 36 bit_vector_->Add(parameter_count_ + r.index()); in Add() 43 DCHECK(interpreter::Register(r.index() + i).is_parameter()); in AddList() 48 DCHECK(!interpreter::Register(r.index() + i).is_parameter()); in AddList() 49 bit_vector_->Add(parameter_count_ + r.index() + i); in AddList() 59 bool BytecodeLoopAssignments::ContainsParameter(int index) const { in ContainsParameter() 60 DCHECK_GE(index, 0); in ContainsParameter() 61 DCHECK_LT(index, parameter_count()); in ContainsParameter() 62 return bit_vector_->Contains(index); in ContainsParameter() 65 bool BytecodeLoopAssignments::ContainsLocal(int index) const { in ContainsLocal() 66 DCHECK_GE(index, in ContainsLocal() [all...] |
H A D | load-elimination.cc | 151 Node* object, Node* index, MachineRepresentation representation) const { in Lookup() 154 DCHECK_NOT_NULL(element.index); in Lookup() 156 if (MustAlias(object, element.object) && MustAlias(index, element.index) && in Lookup() 165 LoadElimination::AbstractElements::Kill(Node* object, Node* index, in Kill() argument 173 DCHECK_NOT_NULL(element2.index); in Kill() 176 !NodeProperties::GetType(index).Maybe( in Kill() 177 NodeProperties::GetType(element2.index))) { in Kill() 198 this_element.index == that_element.index in Equals() 150 Lookup( Node* object, Node* index, MachineRepresentation representation) const Lookup() argument 512 LookupElement( Node* object, Node* index, MachineRepresentation representation) const LookupElement() argument 521 AddElement(Node* object, Node* index, Node* value, MachineRepresentation representation, Zone* zone) const AddElement() argument 537 KillElement(Node* object, Node* index, Zone* zone) const KillElement() argument 1056 Node* const index = NodeProperties::GetValueInput(node, 1); ReduceLoadElement() local 1106 Node* const index = NodeProperties::GetValueInput(node, 1); ReduceStoreElement() local 1341 Node* const index = NodeProperties::GetValueInput(current, 1); ComputeLoopState() local [all...] |
H A D | access-builder.h | 62 const MapRef& map, int index, 73 // Provides access to JSCollectionIterator::index() field. 161 static FieldAccess ForJSDateField(JSDate::FieldIndex index); 271 // Provides access to JSStringIterator::index() field. 283 size_t index, WriteBarrierKind write_barrier_kind = kFullWriteBarrier); 285 static FieldAccess ForFeedbackVectorSlot(int index); 291 static FieldAccess ForContextSlot(size_t index); 294 static FieldAccess ForContextSlotKnownPointer(size_t index); 298 static FieldAccess ForWeakFixedArraySlot(int index);
|
/third_party/node/deps/v8/src/runtime/ |
H A D | runtime-scopes.cc | 149 int index; in RUNTIME_FUNCTION() 152 index = Smi::ToInt(decl); in RUNTIME_FUNCTION() 158 index = Smi::ToInt(declarations->get(++i)); in RUNTIME_FUNCTION() 166 Cell::cast(exports->get(index - 1)).set_value(value); in RUNTIME_FUNCTION() 206 int index = Smi::ToInt(declarations->get(++i)); in RUNTIME_FUNCTION() 208 closure_feedback_cell_array->GetFeedbackCell(index); in RUNTIME_FUNCTION() 250 int index; in DeclareEvalHelper() local 256 Context::Lookup(context, name, DONT_FOLLOW_CHAINS, &index, &attributes, in DeclareEvalHelper() 288 if (index != Context::kNotFound) { in DeclareEvalHelper() 290 context->set(index, *valu in DeclareEvalHelper() 429 int index = argument_count - 1; NewSloppyArguments() local 474 operator [](int index) operator []() argument 483 operator [](int index) operator []() argument 630 int index; RUNTIME_FUNCTION() local 667 int index; LoadLookupSlot() local 767 int index; StoreLookupSlot() local 781 index, value); StoreLookupSlot() local [all...] |
/third_party/skia/src/sksl/ir/ |
H A D | SkSLFunctionCall.cpp | 68 for (int index = 0; index < numSlots; ++index) { in assemble_compound() 69 array.push_back(Literal::Make(line, value[index], &returnType.componentType())); in assemble_compound() 106 for (int index = 0; index < vecType.columns(); ++index) { in coalesce_n_way_vector() 181 for (int index = 0; index < type.columns(); ++index) { in optimize_comparison() 674 int index = 0; optimize_intrinsic_call() local 684 int index = 0; optimize_intrinsic_call() local [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | descriptor_database.cc | 396 // to the index. 448 StringPiece name(const DescriptorIndex& index) const { in name() 449 return index.DecodeString(encoded_name, data_offset); in name() 453 const DescriptorIndex& index; member 456 return a.name(index) < b.name(index); in operator ()() 459 return a.name(index) < b; in operator ()() 462 return a < b.name(index); in operator ()() 472 StringPiece package(const DescriptorIndex& index) const { in package() 473 return index in package() 487 const DescriptorIndex& index; global() member 534 const DescriptorIndex& index; global() member 667 CheckForMutualSubsymbols(StringPiece symbol_name, Iter* iter, Iter2 end, const Index& index) CheckForMutualSubsymbols() argument [all...] |
H A D | reflection.h | 76 T Get(int index) const { return accessor_->template Get<T>(data_, index); } in Get() 112 T Get(int index) const { return accessor_->template Get<T>(data_, index); } in Get() 114 void Set(int index, const T& value) const { in Set() argument 115 accessor_->template Set<T>(data_, index, value); in Set() 172 // const Message& item = h.Get(index, scratch_space.get()); 173 const T& Get(int index, T* scratch_space) const { in Get() argument 174 return *static_cast<const T*>(accessor_->Get(data_, index, scratch_space)); in Get() 224 const T& Get(int index, argument 231 Set(int index, const T& value) const Set() argument 358 Set(Field* data, int index, const ValueType& value) const Set() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | sga.c | 78 for (int index = 0; index < 16; index++) { in decode_palette() 80 pal[15 - index] |= color << (5 + 16); in decode_palette() 85 for (int index = 0; index < 16; index++) { in decode_palette() 87 pal[15 - index] |= color << (5 + 8); in decode_palette() 92 for (int index = 0; index < 1 in decode_palette() [all...] |
H A D | mlp_parser.c | 81 mp->pc.index + i >= 7) { in mlp_parse() 107 mp->pc.buffer[mp->pc.index++]= mp->pc.buffer[mp->pc.overread_index++]; in mlp_parse() 110 if (mp->pc.index + buf_size < 2) { in mlp_parse() 116 mp->bytes_left = ((mp->pc.index > 0 ? mp->pc.buffer[0] : buf[0]) << 8) in mlp_parse() 117 | (mp->pc.index > 1 ? mp->pc.buffer[1] : buf[1-mp->pc.index]); in mlp_parse() 122 mp->bytes_left -= mp->pc.index; in mlp_parse()
|
/third_party/python/Include/cpython/ |
H A D | unicodeobject.h | 369 index is the index in the string (starts at 0) and value is the new 372 Py_ssize_t index, Py_UCS4 value) in PyUnicode_WRITE() 376 _Py_STATIC_CAST(Py_UCS1*, data)[index] = _Py_STATIC_CAST(Py_UCS1, value); in PyUnicode_WRITE() 380 _Py_STATIC_CAST(Py_UCS2*, data)[index] = _Py_STATIC_CAST(Py_UCS2, value); in PyUnicode_WRITE() 385 _Py_STATIC_CAST(Py_UCS4*, data)[index] = value; in PyUnicode_WRITE() 389 #define PyUnicode_WRITE(kind, data, index, value) \ 391 (index), _Py_STATIC_CAST(Py_UCS4, value)) 397 const void *data, Py_ssize_t index) in PyUnicode_READ() 400 return _Py_STATIC_CAST(const Py_UCS1*, data)[index]; in PyUnicode_READ() 371 PyUnicode_WRITE(int kind, void *data, Py_ssize_t index, Py_UCS4 value) PyUnicode_WRITE() argument 396 PyUnicode_READ(int kind, const void *data, Py_ssize_t index) PyUnicode_READ() argument 419 PyUnicode_READ_CHAR(PyObject *unicode, Py_ssize_t index) PyUnicode_READ_CHAR() argument [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontMgr_android.cpp | 58 int index, in SkTypeface_AndroidSystem() 67 , fIndex(index) in SkTypeface_AndroidSystem() 247 void getStyle(int index, SkFontStyle* style, SkString* name) override { 248 if (index < 0 || fStyles.count() <= index) { 252 *style = fStyles[index]->fontStyle(); 258 SkTypeface_AndroidSystem* createTypeface(int index) override { 259 if (index < 0 || fStyles.count() <= index) { 262 return SkRef(fStyles[index] 56 SkTypeface_AndroidSystem(const SkString& pathName, const bool cacheFontFiles, int index, const SkFixed* axes, int axesCount, const SkFontStyle& style, bool isFixedPitch, const SkString& familyName, const SkTArray<SkLanguage, true>& lang, FontVariant variantStyle) SkTypeface_AndroidSystem() argument [all...] |
/third_party/skia/experimental/wasm-skp-debugger/ |
H A D | debugger_bindings.cpp | 110 void drawTo(SkSurface* surface, int32_t index) { in drawTo() argument 113 fLayerManager->setCommand(fInspectedLayer, fp, index); in drawTo() 115 index = constrainFrameCommand(index); in drawTo() 125 frames[fp]->drawTo(surface->getCanvas(), index); in drawTo() 198 void deleteCommand(int index) { in deleteCommand() argument 199 visibleCanvas()->deleteDrawCommandAt(index); in deleteCommand() 201 void setCommandVisibility(int index, bool visible) { in setCommandVisibility() argument 202 visibleCanvas()->toggleCommand(index, visible); in setCommandVisibility() 253 void changeFrame(int index) { in changeFrame() argument 261 getImageResource(int index) getImageResource() argument 276 getImageInfo(int index) getImageInfo() argument 439 constrainFrameCommand(int index) constrainFrameCommand() argument [all...] |
/third_party/alsa-lib/src/control/ |
H A D | control_remap.c | 351 unsigned int index; in snd_ctl_remap_elem_list() local 358 for (index = 0; index < list->used; index++) { in snd_ctl_remap_elem_list() 359 id = &list->pids[index]; in snd_ctl_remap_elem_list() 375 for ( ; index < list->space && index2 < priv->map_items; index2++, index++) { in snd_ctl_remap_elem_list() 376 id = &list->pids[index]; in snd_ctl_remap_elem_list() 484 size_t item, index; in remap_map_elem_read() local 503 for (index in remap_map_elem_read() 547 size_t item, index; remap_map_elem_write() local 801 size_t count, index, head; remap_event_for_all_map_controls() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | c93.c | 28 uint16_t index; member 49 int index = 1; in probe() local 53 if (AV_RL16(p->buf + i) != index || !p->buf[i + 2] || !p->buf[i + 3]) in probe() 55 index += p->buf[i + 2]; in probe() 69 c93->block_records[i].index = avio_rl16(pb); in read_header() 143 avio_seek(pb, br->index * 2048, SEEK_SET); in read_packet() 149 avio_seek(pb,br->index * 2048 + in read_packet()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/ |
H A D | LocaleIdResolver.java | 68 Multimaps.index(minimalConfigIds, s -> s.charAt(0)); in resolve() 119 int index = parentId.indexOf("_"); in addWildcardMatches() 120 String parentIdLang = (index < 0)? parentId: parentId.substring(0, index); in addWildcardMatches() 121 index = id.indexOf("_"); in addWildcardMatches() 122 String idLang = (index < 0)? id: id.substring(0, index); in addWildcardMatches()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DateFormatMiscTests.java | 142 // don't use hard-coded index! in Test4117335() 144 int index = -1; in Test4117335() 147 index = i; in Test4117335() 152 if (index == -1) { in Test4117335() 155 assertEquals("Long zone name = ", jstLong, zones[index][1]); in Test4117335() 156 assertEquals("Short zone name = ", jstShort, zones[index][2]); in Test4117335() 157 assertEquals("Long zone name (3) = ", jdtLong, zones[index][3]); in Test4117335() 158 assertEquals("Short zone name (4) = ", jdtShort, zones[index][4]); in Test4117335()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | DateFormatMiscTests.java | 145 // don't use hard-coded index! in Test4117335() 147 int index = -1; in Test4117335() 150 index = i; in Test4117335() 155 if (index == -1) { in Test4117335() 158 assertEquals("Long zone name = ", jstLong, zones[index][1]); in Test4117335() 159 assertEquals("Short zone name = ", jstShort, zones[index][2]); in Test4117335() 160 assertEquals("Long zone name (3) = ", jdtLong, zones[index][3]); in Test4117335() 161 assertEquals("Short zone name (4) = ", jdtShort, zones[index][4]); in Test4117335()
|
/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-objects.h | 36 ecma_value_t ecma_op_object_find_by_uint32_index (ecma_object_t *object_p, uint32_t index); 37 ecma_value_t ecma_op_object_find_by_number_index (ecma_object_t *object_p, ecma_number_t index); 43 ecma_value_t ecma_op_object_get_by_uint32_index (ecma_object_t *object_p, uint32_t index); 57 ecma_value_t ecma_op_object_put_by_uint32_index (ecma_object_t *object_p, uint32_t index, 59 ecma_value_t ecma_op_object_put_by_number_index (ecma_object_t *object_p, ecma_number_t index, 62 ecma_value_t ecma_op_object_delete_by_uint32_index (ecma_object_t *obj_p, uint32_t index, bool is_throw); 63 ecma_value_t ecma_op_object_delete_by_number_index (ecma_object_t *obj_p, ecma_number_t index, bool is_throw);
|
/third_party/ltp/testcases/kernel/mem/mtest07/ |
H A D | shm_test.c | 179 int shmndx = 0; /* index to the number of attach and detach */ in shmat_rd_wr() 180 int index = 0; /* index to the number of blocks touched */ in shmat_rd_wr() local 223 index = 0; in shmat_rd_wr() 225 while (index < args->map_size) { in shmat_rd_wr() 228 index++; in shmat_rd_wr() 234 index = 0; in shmat_rd_wr() 236 while (index < args->map_size) { in shmat_rd_wr() 238 index++; in shmat_rd_wr()
|
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/ |
H A D | RangeTreeFactorizer.java | 78 int index = 1; in factor() 79 while (index < factors.size()) { in factor() 81 RangeTree r = factors.get(index); in factor() 82 for (int n = 0; n < index && !r.isEmpty(); n++) { in factor() 89 // All ranges merged, so remove the original factor (index now references the next factor). in factor() 90 factors.remove(index); in factor() 93 factors.set(index, r); in factor() 94 index++; in factor()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | thread-win32.c | 40 DWORD index; member 175 t->index = TlsAlloc(); in pa_tls_new() 178 if (t->index == TLS_OUT_OF_INDEXES) { in pa_tls_new() 189 TlsFree(t->index); in pa_tls_free() 196 return TlsGetValue(t->index); in pa_tls_get() 204 r = TlsGetValue(t->index); in pa_tls_set() 206 TlsSetValue(t->index, userdata); in pa_tls_set()
|