Home
last modified time | relevance | path

Searched refs:index (Results 5301 - 5325 of 10114) sorted by relevance

1...<<211212213214215216217218219220>>...405

/third_party/skia/src/utils/
H A DSkShadowTessellator.cpp526 int index = fCurrUmbraIndex; in getClosestUmbraIndex() local
528 int next = (index + dir) % umbraPolygon.count(); in getClosestUmbraIndex()
533 index = next; in getClosestUmbraIndex()
540 next = (index + dir) % umbraPolygon.count(); in getClosestUmbraIndex()
543 index = next; in getClosestUmbraIndex()
545 next = (index + dir) % umbraPolygon.count(); in getClosestUmbraIndex()
549 fCurrUmbraIndex = index; in getClosestUmbraIndex()
550 return index; in getClosestUmbraIndex()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
H A Dtinyxml.h1656 /** Return a handle to the "index" child with the given name.
1659 TiXmlHandle Child( const char* value, int index ) const;
1660 /** Return a handle to the "index" child.
1663 TiXmlHandle Child( int index ) const;
1664 /** Return a handle to the "index" child element with the given name.
1668 TiXmlHandle ChildElement( const char* value, int index ) const;
1669 /** Return a handle to the "index" child element.
1673 TiXmlHandle ChildElement( int index ) const;
1679 TiXmlHandle Child( const std::string& _value, int index ) const { return Child( _value.c_str(), index ); } in Child()
[all...]
/third_party/python/Modules/_ctypes/
H A Dcallproc.c190 get_error_internal(PyObject *self, PyObject *args, int index) in get_error_internal() argument
198 result = PyLong_FromLong(space[index]); in get_error_internal()
204 set_error_internal(PyObject *self, PyObject *args, int index) in set_error_internal() argument
216 old_errno = space[index]; in set_error_internal()
217 space[index] = new_errno; in set_error_internal()
648 static int ConvParam(PyObject *obj, Py_ssize_t index, struct argument *pa) in ConvParam() argument
732 result = ConvParam(arg, index, pa); in ConvParam()
738 Py_SAFE_DOWNCAST(index, Py_ssize_t, int)); in ConvParam()
/third_party/python/Objects/
H A Dodictobject.c43 While _Py_dict_lookup() does not give us the index into the array,
44 we make use of pointer arithmetic to get that index. An alternative would
45 be to refactor _Py_dict_lookup() to provide the index, explicitly exposing
528 /* Return the index into the hash table, regardless of a valid node. */
538 return keys->dk_nentries; /* index of new entry */ in _odict_get_index_raw()
542 /* We use pointer arithmetic to get the entry's index into the table. */ in _odict_get_index_raw()
584 /* Return the index into the hash table, regardless of a valid node. */
608 Py_ssize_t index; in _odict_find_node_hash() local
612 index = _odict_get_index(od, key, hash); in _odict_find_node_hash()
613 if (index < in _odict_find_node_hash()
622 Py_ssize_t index; _odict_find_node() local
[all...]
/third_party/protobuf/src/google/protobuf/
H A Dmap.h462 iterator_base(Node* n, const InnerMap* m, size_type index) in iterator_base() argument
463 : node_(n), m_(m), bucket_index_(index) {} in iterator_base()
465 iterator_base(TreeIterator tree_it, const InnerMap* m, size_type index) in iterator_base() argument
466 : node_(NodeFromTreeIterator(tree_it)), m_(m), bucket_index_(index) { in iterator_base()
847 void TransferList(void* const* table, size_type index) { in TransferList() argument
848 Node* node = static_cast<Node*>(table[index]); in TransferList()
856 void TransferTree(void* const* table, size_type index) { in TransferTree() argument
857 Tree* tree = static_cast<Tree*>(table[index]); in TransferTree()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/apple/
H A DRewriteRowMajorMatrices.cpp85 // Determine if the node is an index node (array index or struct field selection). For the purposes
86 // of this transformation, swizzle nodes are considered index nodes too.
134 // Swizzle nodes are converted EOpIndexDirect for simplicity, with one index per swizzle in GetIndex()
230 // If the last index overflows, element enumeration is done. in getNextElement()
269 for (size_t index = 1; index + 1 < arraySizes.size(); ++index) in constructReadTransformExpression()
271 accumulatedArraySizes[index] = accumulatedArraySizes[index in constructReadTransformExpression()
284 unsigned int index = *it; getCurrentElement() local
[all...]
/base/startup/appspawn/modules/sandbox/
H A Dappspawn_sandbox.c52 static inline void SetMountPathOperation(uint32_t *operation, uint32_t index) in SetMountPathOperation() argument
54 *operation |= (1 << index); in SetMountPathOperation()
57 static inline bool CheckSpawningMsgFlagSet(const SandboxContext *context, uint32_t index) in CheckSpawningMsgFlagSet() argument
60 return CheckAppSpawnMsgFlag(context->message, TLV_MSG_FLAGS, index); in CheckSpawningMsgFlagSet()
63 APPSPAWN_STATIC inline bool CheckSpawningPermissionFlagSet(const SandboxContext *context, uint32_t index) in CheckSpawningPermissionFlagSet() argument
67 return CheckAppSpawnMsgFlag(context->message, TLV_PERMISSION, index); in CheckSpawningPermissionFlagSet()
634 int index = GetPermissionIndexInQueue(&sandbox->permissionQueue, MOUNT_SHARED_MAP[i].permission); in MountDirToShared() local
635 APPSPAWN_LOGV("mount dir on lock mountPermissionFlags %{public}d", index); in MountDirToShared()
636 if (CheckSpawningPermissionFlagSet(context, index)) { in MountDirToShared()
1005 int index in IsADFPermission() local
[all...]
/base/telephony/cellular_call/services/manager/src/
H A Dcellular_call_service.cpp689 return csControl->SeparateConference(callInfo.slotId, callInfo.phoneNum, callInfo.index); in SeparateConference()
717 return imsControl->KickOutFromConference(callInfo.slotId, callInfo.phoneNum, callInfo.index); in KickOutFromConference()
1295 int32_t CellularCallService::ControlCamera(int32_t slotId, int32_t index, const std::string &cameraId) in ControlCamera() argument
1302 return videoCallControl->ControlCamera(slotId, index, cameraId); in ControlCamera()
1306 int32_t slotId, int32_t index, const std::string &surfaceId, sptr<Surface> surface) in SetPreviewWindow()
1313 return videoCallControl->SetPreviewWindow(slotId, index, surfaceId, surface); in SetPreviewWindow()
1317 int32_t slotId, int32_t index, const std::string &surfaceId, sptr<Surface> surface) in SetDisplayWindow()
1324 return videoCallControl->SetDisplayWindow(slotId, index, surfaceId, surface); in SetDisplayWindow()
1337 int32_t CellularCallService::SetPausePicture(int32_t slotId, int32_t index, const std::string &path) in SetPausePicture() argument
1344 return videoCallControl->SetPausePicture(slotId, index, pat in SetPausePicture()
1305 SetPreviewWindow( int32_t slotId, int32_t index, const std::string &surfaceId, sptr<Surface> surface) SetPreviewWindow() argument
1316 SetDisplayWindow( int32_t slotId, int32_t index, const std::string &surfaceId, sptr<Surface> surface) SetDisplayWindow() argument
[all...]
/test/xts/acts/multimedia/audio/audio_js_standard/OhAudioNdk/entry/src/main/cpp/
H A Dohaudiondk.cpp116 // 获取index下标的属性值
117 static int getParamAtIndex(int index, napi_env env, napi_callback_info info) in getParamAtIndex() argument
123 napi_typeof(env, args[index], &valuetype); in getParamAtIndex()
125 napi_get_value_int32(env, args[index], &value); in getParamAtIndex()
392 int index; in CreateAudioCapturerRecorder() local
393 napi_get_value_int32(env, args[PARAM_0], &index); in CreateAudioCapturerRecorder()
394 std::string pcmPath = prePath.append(pcmFileList[index]); in CreateAudioCapturerRecorder()
549 int index; in CreatAudioPlayerWithWavFile() local
550 napi_get_value_int32(env, args[PARAM_0], &index); in CreatAudioPlayerWithWavFile()
551 std::string videoFilePath = prePath.append(wavFileList[index]); in CreatAudioPlayerWithWavFile()
596 int index; CreatAudioPlayerWithFileAndParam() local
[all...]
/test/xts/acts/kernel_lite/ipc_posix/signal/
H A DSignalTest.cpp38 int index = GetParam(); in HWTEST_P() local
39 SignalAction a = ALL_SIGNALS[index].action; in HWTEST_P()
56 index, ALL_SIGNALS[index].signame, expectStop); in HWTEST_P()
57 DefaultActionTest(index, expectStop, coredump); in HWTEST_P()
68 int index = GetParam(); in HWTEST_P() local
70 if (index==SIGKILL || index==SIGSTOP || index==SIGCONT) { in HWTEST_P()
73 LOG("all supported signal SendAndRecv test %d: %s", index, ALL_SIGNAL in HWTEST_P()
[all...]
/third_party/ffmpeg/libavformat/
H A Dasfdec_o.c74 int index; // stream index in AVFormatContext, set in asf_read_stream_properties member
76 int indexed; // added index entries from the Simple Index Object or not
92 int is_simple_index; // is simple index present or not 1/0
432 st = s->streams[asf->asf_st[i]->index]; in find_stream()
664 asf_st->index = st->index; in asf_read_stream_properties()
746 st = s->streams[asf->asf_st[i]->index]; in asf_read_ext_stream_properties()
860 uint64_t interval; // index entry time interval in 100 ns units, usually it's 1s in asf_read_simple_index()
867 // simple index object in asf_read_simple_index()
[all...]
/third_party/alsa-lib/src/control/
H A Dcontrol.c44 giving -1 as card index and "ctl" as interface type. Each returned
47 Sound cards have an ID (a string), an index (an int, sometimes called
54 index [ID ] Driver - name
67 using the string "hw:<index>" (e.g. `hw:2`). The NAME hint - which is
120 - Its index
123 set of fields (interface type, device, subdevice, name, index).
145 functions complements the name, index, etc.
528 * identified by the combination of name and index, or by numid.
610 * identified by the combination of name and index, or by numid.
688 * identified by the combination of name and index, o
[all...]
/third_party/backends/backend/
H A Dmatsushita.c790 /* Lookup a string list from one array and return its index. */
794 int index; in get_string_list_index() local
796 index = 0; in get_string_list_index()
797 while (list[index] != NULL) in get_string_list_index()
799 if (strcmp (list[index], name) == 0) in get_string_list_index()
801 return (index); in get_string_list_index()
803 index++; in get_string_list_index()
813 /* Lookup an int list from one array and return its index. */
817 int index; in get_int_list_index() local
820 index in get_int_list_index()
[all...]
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_generic.c554 ugen_set_config(struct usb_fifo *f, uint8_t index) in ugen_set_config() argument
556 DPRINTFN(2, "index %u\n", index); in ugen_set_config()
570 if (usbd_start_set_config(f->udev, index) != 0) in ugen_set_config()
607 * at the given index.
726 /* invalid interface index */ in ugen_get_iface_driver()
913 ugen_fs_set_complete(struct usb_fifo *f, uint8_t index) in ugen_fs_set_complete() argument
926 *((uint8_t *)(m->cur_data_ptr)) = index; in ugen_fs_set_complete()
1519 /* store index of endpoint */ in ugen_ioctl()
1836 /* store port index arra in ugen_get_port_path()
2142 int index = f->udev->curr_config_index; ugen_ioctl_post() local
2148 int index; ugen_ioctl_post() local
[all...]
/third_party/mesa3d/src/compiler/nir/
H A Dnir_split_vars.c251 tail_field = &tail_field->fields[path.path[i]->strct.index]; in split_struct_derefs_impl()
465 !nir_src_is_const(p->arr.index)) in mark_array_deref_used()
640 if (nir_src_is_const(p->arr.index) && in array_path_is_out_of_bounds()
641 nir_src_as_uint(p->arr.index) >= info->levels[i].array_len) in array_path_is_out_of_bounds()
824 unsigned index = nir_src_as_uint(p->arr.index); in split_array_access_impl() local
825 assert(index < info->levels[i].array_len); in split_array_access_impl()
826 split = &split->splits[index]; in split_array_access_impl()
1112 max_used = nir_src_is_const(deref->arr.index) ? in mark_deref_used()
1113 nir_src_as_uint(deref->arr.index) in mark_deref_used()
[all...]
/third_party/node/src/
H A Dnode_contextify.cc104 Local<Name> Uint32ToName(Local<Context> context, uint32_t index) { in Uint32ToName() argument
105 return Uint32::New(context->GetIsolate(), index)->ToString(context) in Uint32ToName()
670 uint32_t index, in IndexedPropertyGetterCallback()
678 Uint32ToName(ctx->context(), index), args); in IndexedPropertyGetterCallback()
683 uint32_t index, in IndexedPropertySetterCallback()
692 Uint32ToName(ctx->context(), index), value, args); in IndexedPropertySetterCallback()
697 uint32_t index, in IndexedPropertyDescriptorCallback()
705 Uint32ToName(ctx->context(), index), args); in IndexedPropertyDescriptorCallback()
710 uint32_t index, in IndexedPropertyDefinerCallback()
719 Uint32ToName(ctx->context(), index), des in IndexedPropertyDefinerCallback()
669 IndexedPropertyGetterCallback( uint32_t index, const PropertyCallbackInfo<Value>& args) IndexedPropertyGetterCallback() argument
682 IndexedPropertySetterCallback( uint32_t index, Local<Value> value, const PropertyCallbackInfo<Value>& args) IndexedPropertySetterCallback() argument
696 IndexedPropertyDescriptorCallback( uint32_t index, const PropertyCallbackInfo<Value>& args) IndexedPropertyDescriptorCallback() argument
709 IndexedPropertyDefinerCallback( uint32_t index, const PropertyDescriptor& desc, const PropertyCallbackInfo<Value>& args) IndexedPropertyDefinerCallback() argument
723 IndexedPropertyDeleterCallback( uint32_t index, const PropertyCallbackInfo<Boolean>& args) IndexedPropertyDeleterCallback() argument
[all...]
/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4_generator.cpp292 /* Non-constant sampler index. */ in generate_tex()
793 * Inputs are a vertex index, and a byte offset from the beginning of in generate_tcs_input_urb_offsets()
823 * In order to start our region at g1.0, we add 8 to the vertex index, in generate_tcs_input_urb_offsets()
1084 struct brw_reg index) in generate_oword_dual_block_offsets()
1100 struct brw_reg index_0 = suboffset(vec1(index), 0); in generate_oword_dual_block_offsets()
1101 struct brw_reg index_4 = suboffset(vec1(index), 4); in generate_oword_dual_block_offsets()
1109 if (index.file == BRW_IMMEDIATE_VALUE) { in generate_oword_dual_block_offsets()
1142 struct brw_reg index) in generate_scratch_read()
1150 index); in generate_scratch_read()
1188 struct brw_reg index) in generate_scratch_write()
1082 generate_oword_dual_block_offsets(struct brw_codegen *p, struct brw_reg m1, struct brw_reg index) generate_oword_dual_block_offsets() argument
1139 generate_scratch_read(struct brw_codegen *p, vec4_instruction *inst, struct brw_reg dst, struct brw_reg index) generate_scratch_read() argument
1184 generate_scratch_write(struct brw_codegen *p, vec4_instruction *inst, struct brw_reg dst, struct brw_reg src, struct brw_reg index) generate_scratch_write() argument
1261 generate_pull_constant_load(struct brw_codegen *p, vec4_instruction *inst, struct brw_reg dst, struct brw_reg index, struct brw_reg offset) generate_pull_constant_load() argument
[all...]
/third_party/icu/icu4c/source/tools/tzcode/
H A Dtz2icu.cpp126 int32_t type; // index into 'ZoneInfo.types' 0..255
142 int32_t abbr; // index into ZoneInfo.abbrs 0..n-1
178 // contain their index numbers (each index >= 0).
188 void setAliasTo(int32_t index);
194 void addAlias(int32_t index);
214 void ZoneInfo::addAlias(int32_t index) {
215 assert(aliasTo < 0 && index >= 0 && aliases.find(index) == aliases.end());
216 aliases.insert(index);
501 int32_t index = x - abbroffset.begin(); readzoneinfo() local
[all...]
/third_party/libinput/src/
H A Devdev-tablet.c106 unsigned int index = (tablet->history.index + 1) % in tablet_history_push() local
109 tablet->history.samples[index] = *axes; in tablet_history_push()
110 tablet->history.index = index; in tablet_history_push()
119 * Return a previous axis state, where index of 0 means "most recent", 1 is
123 tablet_history_get(const struct tablet_dispatch *tablet, unsigned int index) in tablet_history_get() argument
127 assert(index < sz); in tablet_history_get()
128 assert(index < tablet->history.count); in tablet_history_get()
130 index in tablet_history_get()
[all...]
/third_party/node/deps/v8/src/compiler/
H A Dcompilation-dependencies.cc11 #include "src/objects/internal-index.h"
435 FieldIndex index, const ObjectRef& value) in OwnConstantDataPropertyDependency()
441 index_(index), in OwnConstantDataPropertyDependency()
503 InternalIndex index, in OwnConstantDictionaryPropertyDependency()
509 index_(index), in OwnConstantDictionaryPropertyDependency()
529 << "has a value that might not safe to read at index "
943 OwnConstantElementDependency(const JSObjectRef& holder, uint32_t index, in OwnConstantElementDependency() argument
947 index_(index), in OwnConstantElementDependency()
1157 const JSObjectRef& holder, uint32_t index, const ObjectRef& element) { in DependOnOwnConstantElement()
1159 zone_->New<OwnConstantElementDependency>(holder, index, elemen in DependOnOwnConstantElement()
431 OwnConstantDataPropertyDependency(JSHeapBroker* broker, const JSObjectRef& holder, const MapRef& map, Representation representation, FieldIndex index, const ObjectRef& value) OwnConstantDataPropertyDependency() argument
501 OwnConstantDictionaryPropertyDependency(JSHeapBroker* broker, const JSObjectRef& holder, InternalIndex index, const ObjectRef& value) OwnConstantDictionaryPropertyDependency() argument
1156 DependOnOwnConstantElement( const JSObjectRef& holder, uint32_t index, const ObjectRef& element) DependOnOwnConstantElement() argument
1162 DependOnOwnConstantDataProperty( const JSObjectRef& holder, const MapRef& map, Representation representation, FieldIndex index, const ObjectRef& value) DependOnOwnConstantDataProperty() argument
1169 DependOnOwnConstantDictionaryProperty( const JSObjectRef& holder, InternalIndex index, const ObjectRef& value) DependOnOwnConstantDictionaryProperty() argument
[all...]
H A Dint64-lowering.cc151 void Int64Lowering::GetIndexNodes(Node* index, Node** index_low, in GetIndexNodes() argument
154 *index_low = index; in GetIndexNodes()
155 *index_high = graph()->NewNode(machine()->Int32Add(), index, in GetIndexNodes()
158 *index_low = graph()->NewNode(machine()->Int32Add(), index, in GetIndexNodes()
160 *index_high = index; in GetIndexNodes()
169 Node* index = node->InputAt(1); in LowerLoadOperator() local
172 GetIndexNodes(index, &index_low, &index_high); in LowerLoadOperator()
202 Node* index = node->InputAt(1); in LowerStoreOperator() local
205 GetIndexNodes(index, &index_low, &index_high); in LowerStoreOperator()
1172 Node* index in LowerMemoryBaseAndIndex() local
[all...]
/third_party/node/deps/v8/src/regexp/
H A Dregexp-compiler-tonode.cc542 bool CharAtEquals(bool ignore_case, int index, const RegExpAtom* a, in CharAtEquals() argument
544 return Equals(ignore_case, a->data().at(index), b->data().at(index)); in CharAtEquals()
592 int index, const RegExpAtom* a, const RegExpAtom* b) { in CharAtEquals()
593 return Equals(ignore_case, canonicalize, a->data().at(index), in CharAtEquals()
594 b->data().at(index)); in CharAtEquals()
614 // i is length or it is the index of an atom. in SortConsecutiveAtoms()
952 RegExpCapture::StartRegister(index()), in RationalizeConsecutiveAtoms()
953 RegExpCapture::EndRegister(index()), flags_, compiler->read_backward(), in RationalizeConsecutiveAtoms()
1030 return ToNode(body(), index(), compile in RationalizeConsecutiveAtoms()
590 CharAtEquals(bool ignore_case, unibrow::Mapping<unibrow::Ecma262Canonicalize>* canonicalize, int index, const RegExpAtom* a, const RegExpAtom* b) CharAtEquals() argument
1033 ToNode(RegExpTree* body, int index, RegExpCompiler* compiler, RegExpNode* on_success) RationalizeConsecutiveAtoms() argument
[all...]
/third_party/python/Lib/collections/
H A D__init__.py346 _tuplegetter = lambda index, doc: property(_itemgetter(index), doc=doc)
381 for index, name in enumerate(field_names):
386 field_names[index] = f'_{index}'
497 for index, name in enumerate(field_names):
498 doc = _sys.intern(f'Alias for field number {index}')
499 class_namespace[name] = _tuplegetter(index, doc)
1309 def index(self, item, *args): member in UserList
1310 return self.data.index(ite
1466 def index(self, sub, start=0, end=_sys.maxsize): global() member in UserString
[all...]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
H A Dgen_builtin_symbols.py654 index = basic_types_enumeration.index(basic)
655 if index < 26:
656 return '0' + chr(ord('A') + index)
657 if index < 52:
658 return '0' + chr(ord('a') + index - 26)
659 if index < 78:
660 return '1' + chr(ord('A') + index - 52)
661 return '1' + chr(ord('a') + index - 78)
1308 return line[:line.index(',')]
[all...]
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcUniformBlockTests.cpp630 for (unsigned int index = 0; index < 2; ++index) in Link()
632 std::string shaderSource = version + "\n" + shaderDefinition[index].body; in Link()
635 glw::GLuint sh = gl.createShader(shaderDefinition[index].type); in Link()
651 m_context.getTestContext().getLog() << tcu::TestLog::Message << shaderDefinition[index].name in Link()
810 for (unsigned int index = 0; index < 2; ++index) in Test()
812 std::string shaderSource = version + "\n" + shaderDefinition[index] in Test()
[all...]

Completed in 52 milliseconds

1...<<211212213214215216217218219220>>...405