/third_party/protobuf/src/google/protobuf/compiler/java/ |
H A D | java_extension.cc | 74 vars["index"] = StrCat(descriptor->index()); in InitTemplateVars() 141 " $index$,\n" in Generate() 154 "$name$.internalInit(descriptor.getExtensions().get($index$));\n", in GenerateNonNestedInitializationCode() 155 "name", UnderscoresToCamelCaseCheckReserved(descriptor_), "index", in GenerateNonNestedInitializationCode() 156 StrCat(descriptor_->index())); in GenerateNonNestedInitializationCode()
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | Message.java | 196 Builder getRepeatedFieldBuilder(Descriptors.FieldDescriptor field, int index); in getRepeatedFieldBuilder() argument 224 Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value); in setRepeatedField() argument
|
/third_party/protobuf/objectivec/ |
H A D | GPBMessage.h | 444 * Replaces the value at the given index with the given value for the extension 449 * @param index The index of the extension to be replaced. 453 index:(NSUInteger)index
|
/third_party/protobuf/ruby/src/main/java/com/google/protobuf/jruby/ |
H A D | RubyOneofDescriptor.java | 105 public DescriptorProtos.OneofDescriptorProto build(int index) { in build() argument 107 field.setOneofIndex(index); in build()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-devd-detect.c | 67 pa_hashmap_put(u->devices, (void *)(uintptr_t)devnum, (void *)(uintptr_t)m->index); in line_callback() 68 pa_log_info("Card %u module loaded (%u).", devnum, m->index); in line_callback()
|
/third_party/rust/crates/minimal-lexical/etc/ |
H A D | bellerophon_table.py | 109 def print_array(base, string, fps, index): 114 value = " {},".format(fp[index])
|
/third_party/rust/crates/clap/src/ |
H A D | mkeymap.rs | 11 index: usize, 108 .map(|k| &self.args[k.index]) 150 fn index(&self, key: &KeyType) -> &Self::Output { in index() functions 156 fn append_keys(keys: &mut Vec<Key>, arg: &Arg, index: usize) { in append_keys() 157 if let Some(pos_index) = arg.index { in append_keys() 159 keys.push(Key { key, index }); in append_keys() 163 keys.push(Key { key, index }); in append_keys() 167 keys.push(Key { key, index }); in append_keys() 172 keys.push(Key { key, index }); in append_keys() 176 keys.push(Key { key, index }); in append_keys() [all...] |
/third_party/skia/modules/skplaintexteditor/include/ |
H A D | editor.h | 56 int lineHeight(size_t index) const { return fLines[index].fHeight; } in lineHeight() 59 size_t fTextByteIndex = SIZE_MAX; // index into UTF-8 representation of line.
|
/third_party/skia/include/private/ |
H A D | SkSLLayout.h | 37 Layout(int flags, int location, int offset, int binding, int index, int set, int builtin, in Layout() 43 , fIndex(index) in Layout() 83 result += separator() + "index = " + to_string(fIndex); in description()
|
/third_party/skia/include/ports/ |
H A D | SkFontMgr_indirect.h | 36 void onGetFamilyName(int index, SkString* familyName) const override; 37 SkFontStyleSet* onCreateStyleSet(int index) const override; 93 * typefaces with that data id. By storing the index next to the typeface,
|
/third_party/vk-gl-cts/modules/gles2/scripts/ |
H A D | gen-qualification_order.py | 111 if paramList.index(p) != len(paramList)-1: 146 if paramList.index(p) != len(paramList)-1:
|
/foundation/multimedia/av_session/frameworks/js/napi/session/src/ |
H A D | napi_utils.cpp | 262 int index = 0; in SetOutPutDeviceIdValue() local 266 status = napi_set_element(env, out, index++, element); in SetOutPutDeviceIdValue() 607 int index = 0; in SetValue() local 611 status = napi_set_element(env, out, index++, element); in SetValue() 686 int index = 0; in SetValue() local 690 status = napi_set_element(env, out, index++, element); in SetValue() 763 int index = 0; in SetValue() local 767 status = napi_set_element(env, out, index++, element); in SetValue() 777 for (size_t index = 0; index < element in TypedArray2Vector() 996 int index = 0; SetValue() local 1011 int index = 0; SetValue() local 1102 int index = 0; SetValue() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/cloud/ |
H A D | cloud_syncer.cpp | 277 int CloudSyncer::PrepareAndUpload(const CloudTaskInfo &taskInfo, size_t index) in PrepareAndUpload() argument 281 currentContext_.tableName = taskInfo.table[index]; in PrepareAndUpload() 292 errCode = DoUpload(taskInfo.taskId, index == (taskInfo.table.size() - 1u), taskInfo.lockAction); in PrepareAndUpload() 297 taskInfo.table[index], false); in PrepareAndUpload() 298 LOGI("[CloudSyncer] upload version conflict, index:%zu", index); in PrepareAndUpload() 320 LOGD("[CloudSyncer] try upload table, index: %zu", i); in DoUploadInNeed() 525 LOGE("[CloudSyncer] updateIndex is invalid. index=%zu, size=%zu", updateIndex, size); in UpdateChangedData() 542 if (assetField.type == TYPE_INDEX<Assets> && data[assetField.colName].index() == TYPE_INDEX<Assets>) { in IsDataContainDuplicateAsset() 725 if (field.type == TYPE_INDEX<Asset> && data[field.colName].index() in GetAssetsFromVBucket() 1659 int index = 1; CleanCloudData() local 1767 GetLocalInfo(size_t index, SyncParam ¶m, DataInfoWithLog &logInfo, std::map<std::string, LogInfo> &localLogInfoCache, VBucket &localAssetInfo) GetLocalInfo() argument 2099 size_t index = 0u; GetDownloadAssetIndex() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 1303 struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_rq_indicate_buf() 1414 skb_mark_napi_id(skb, &enic->napi[rq->index]); in enic_rq_indicate_buf() 1448 unsigned int intr = enic_msix_rq_intr(enic, rq->index); in enic_set_int_moderation() 1449 struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_set_int_moderation() 1461 struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_calc_int_moderation() 1463 int index; in enic_calc_int_moderation() local 1488 for (index = 0; index < ENIC_MAX_COALESCE_TIMERS; index++) in enic_calc_int_moderation() 1489 if (traffic < mod_table[index] in enic_calc_int_moderation() 1825 int index = -1; enic_set_rx_coal_setting() local [all...] |
/kernel/linux/linux-5.10/sound/pci/ |
H A D | maestro3.c | 50 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 56 module_param_array(index, int, NULL, 0444); 57 MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); 715 int index[3]; member 937 * index addresses 16bit words. 939 static u16 snd_m3_assp_read(struct snd_m3 *chip, u16 region, u16 index) in snd_m3_assp_read() argument 942 snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX); in snd_m3_assp_read() 946 static void snd_m3_assp_write(struct snd_m3 *chip, u16 region, u16 index, u16 data) in snd_m3_assp_write() argument 949 snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX); in snd_m3_assp_write() 982 static void snd_m3_remove_list(struct snd_m3 *chip, struct m3_list *list, int index) in snd_m3_remove_list() argument 2173 snd_m3_assp_client_init(struct snd_m3 *chip, struct m3_dma *s, int index) snd_m3_assp_client_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
H A D | gf100.c | 194 args->v0.index = ret; in gf100_fermi_mthd_zbc_color() 299 gf100_gr_object_get(struct nvkm_gr *base, int index, struct nvkm_sclass *sclass) in gf100_gr_object_get() argument 305 if (c++ == index) { in gf100_gr_object_get() 306 *sclass = gr->func->sclass[index]; in gf100_gr_object_get() 308 return index; in gf100_gr_object_get() 958 int index, c = ltc->zbc_min, d = ltc->zbc_min, s = ltc->zbc_min; in gf100_gr_zbc_init() local 974 for (index = c; index <= ltc->zbc_max; index++) in gf100_gr_zbc_init() 975 gr->func->zbc->clear_color(gr, index); in gf100_gr_zbc_init() 2090 gf100_gr_new_(const struct gf100_gr_fwif *fwif, struct nvkm_device *device, int index, struct nvkm_gr **pgr) gf100_gr_new_() argument 2486 gf100_gr_new(struct nvkm_device *device, int index, struct nvkm_gr **pgr) gf100_gr_new() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/engleder/ |
H A D | tsnep_main.c | 368 static void tsnep_tx_activate(struct tsnep_tx *tx, int index, int length, in tsnep_tx_activate() argument 371 struct tsnep_tx_entry *entry = &tx->entry[index]; in tsnep_tx_activate() 404 if (index == tx->increment_owner_counter) { in tsnep_tx_activate() 476 static int tsnep_tx_unmap(struct tsnep_tx *tx, int index, int count) in tsnep_tx_unmap() argument 484 entry = &tx->entry[(index + i) & TSNEP_RING_MASK]; in tsnep_tx_unmap() 1060 static int tsnep_rx_alloc_buffer(struct tsnep_rx *rx, int index) in tsnep_rx_alloc_buffer() argument 1062 struct tsnep_rx_entry *entry = &rx->entry[index]; in tsnep_rx_alloc_buffer() 1073 static void tsnep_rx_reuse_buffer(struct tsnep_rx *rx, int index) in tsnep_rx_reuse_buffer() argument 1075 struct tsnep_rx_entry *entry = &rx->entry[index]; in tsnep_rx_reuse_buffer() 1082 static void tsnep_rx_activate(struct tsnep_rx *rx, int index) in tsnep_rx_activate() argument 1112 int i, index; tsnep_rx_alloc() local 1157 tsnep_rx_reuse_buffer_zc(struct tsnep_rx *rx, int index) tsnep_rx_reuse_buffer_zc() argument 1173 int index = (rx->write + i) & TSNEP_RING_MASK; tsnep_rx_alloc_zc() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | enic_main.c | 1303 struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_rq_indicate_buf() 1414 skb_mark_napi_id(skb, &enic->napi[rq->index]); in enic_rq_indicate_buf() 1448 unsigned int intr = enic_msix_rq_intr(enic, rq->index); in enic_set_int_moderation() 1449 struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_set_int_moderation() 1461 struct vnic_cq *cq = &enic->cq[enic_cq_rq(enic, rq->index)]; in enic_calc_int_moderation() 1463 int index; in enic_calc_int_moderation() local 1488 for (index = 0; index < ENIC_MAX_COALESCE_TIMERS; index++) in enic_calc_int_moderation() 1489 if (traffic < mod_table[index] in enic_calc_int_moderation() 1825 int index = -1; enic_set_rx_coal_setting() local [all...] |
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | lm90.c | 656 * temperature register index 1309 static int lm90_temp_get_resolution(struct lm90_data *data, int index) in lm90_temp_get_resolution() argument 1311 switch (index) { in lm90_temp_get_resolution() 1350 static int lm90_get_temp(struct lm90_data *data, int index, int channel) in lm90_get_temp() argument 1352 int temp = lm90_temp_from_reg(data->flags, data->temp[index], in lm90_get_temp() 1353 lm90_temp_get_resolution(data, index)); in lm90_get_temp() 1381 static int lm90_set_temp(struct lm90_data *data, int index, int channel, long val) in lm90_set_temp() argument 1398 u8 regh = regs[index]; in lm90_set_temp() 1403 if (index == REMOTE_LOW || index in lm90_set_temp() 1430 lm90_get_temphyst(struct lm90_data *data, int index, int channel) lm90_get_temphyst() argument 1448 lm90_get_temp_offset(struct lm90_data *data, int index) lm90_get_temp_offset() argument 1455 lm90_set_temp_offset(struct lm90_data *data, int index, int channel, long val) lm90_set_temp_offset() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/ |
H A D | maestro3.c | 45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */ variable 51 module_param_array(index, int, NULL, 0444); 52 MODULE_PARM_DESC(index, "Index value for " CARD_NAME " soundcard."); 710 int index[3]; member 932 * index addresses 16bit words. 934 static u16 snd_m3_assp_read(struct snd_m3 *chip, u16 region, u16 index) in snd_m3_assp_read() argument 937 snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX); in snd_m3_assp_read() 941 static void snd_m3_assp_write(struct snd_m3 *chip, u16 region, u16 index, u16 data) in snd_m3_assp_write() argument 944 snd_m3_outw(chip, index, DSP_PORT_MEMORY_INDEX); in snd_m3_assp_write() 977 static void snd_m3_remove_list(struct snd_m3 *chip, struct m3_list *list, int index) in snd_m3_remove_list() argument 2165 snd_m3_assp_client_init(struct snd_m3 *chip, struct m3_dma *s, int index) snd_m3_assp_client_init() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationESEXT_autogen.h | 165 GLuint index, 362 GLuint index, 369 GLuint index, 376 GLuint index, 530 GLuint index, 544 GLuint index, 551 GLuint index, 580 GLuint index, 635 GLuint index, 642 GLuint index, [all...] |
/third_party/vixl/src/aarch64/ |
H A D | macro-assembler-sve-aarch64.cc | 608 int index, \ 615 ASMFN(ztmp, zn, zm, index, rot); \ 620 ASMFN(zd, zn, zm, index, rot); \ 931 index(zd, start_enc.GetImm5(), step_enc.GetImm5()); in Index() 933 index(zd, start_enc.GetImm5(), step_enc.GetRegister()); in Index() 937 index(zd, start_enc.GetRegister(), step_enc.GetImm5()); in Index() 939 index(zd, start_enc.GetRegister(), step_enc.GetRegister()); in Index() 1672 int index) { in SVEDotIndexHelper() 1676 (this->*fn)(zd, zn, zm, index); in SVEDotIndexHelper() 1679 // zdn = za + (zdn . zm[index]) in SVEDotIndexHelper() 1667 SVEDotIndexHelper(ZZZImmFn fn, const ZRegister& zd, const ZRegister& za, const ZRegister& zn, const ZRegister& zm, int index) SVEDotIndexHelper() argument 1891 Sdot(const ZRegister& zd, const ZRegister& za, const ZRegister& zn, const ZRegister& zm, int index) Sdot() argument 1900 Udot(const ZRegister& zd, const ZRegister& za, const ZRegister& zn, const ZRegister& zm, int index) Udot() argument 1909 Sudot(const ZRegister& zd, const ZRegister& za, const ZRegister& zn, const ZRegister& zm, int index) Sudot() argument 1918 Usdot(const ZRegister& zd, const ZRegister& za, const ZRegister& zn, const ZRegister& zm, int index) Usdot() argument 1927 Cdot(const ZRegister& zd, const ZRegister& za, const ZRegister& zn, const ZRegister& zm, int index, int rot) Cdot() argument [all...] |
/third_party/python/Objects/ |
H A D | memoryobject.c | 2283 lookup_dimension(const Py_buffer *view, char *ptr, int dim, Py_ssize_t index) in lookup_dimension() argument 2291 if (index < 0) { in lookup_dimension() 2292 index += nitems; in lookup_dimension() 2294 if (index < 0 || index >= nitems) { in lookup_dimension() 2296 "index out of bounds on dimension %d", dim + 1); in lookup_dimension() 2300 ptr += view->strides[dim] * index; in lookup_dimension() 2307 /* Get the pointer to the item at index. */ 2309 ptr_from_index(const Py_buffer *view, Py_ssize_t index) in ptr_from_index() argument 2312 return lookup_dimension(view, ptr, 0, index); in ptr_from_index() 2330 Py_ssize_t index; ptr_from_tuple() local 2346 memory_item(PyMemoryViewObject *self, Py_ssize_t index) memory_item() argument 2497 Py_ssize_t index; memory_subscript() local 2568 Py_ssize_t index; memory_ass_sub() local [all...] |
/third_party/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_message.cc | 102 int has_bit_index = has_bit_indices[field->index()]; in PrintPresenceCheck() 421 // Returns a bit mask based on has_bit index of "fields" that are typically on 427 int first_index_offset = has_bit_indices[fields.front()->index()] / 32; in GenChunkMask() 430 // "index" defines where in the _has_bits_ the field appears. in GenChunkMask() 431 int index = has_bit_indices[field->index()]; in GenChunkMask() local 432 GOOGLE_CHECK_EQ(first_index_offset, index / 32); in GenChunkMask() 433 chunk_mask |= static_cast<uint32>(1) << (index % 32); in GenChunkMask() 475 return has_bit_indices_[chunks_[chunk][offset]->index()] / 32; in HasbitWord() 522 // Emit has_bit check for each has_bit_dword index in OnStartChunk() 2450 const std::string index = GenerateOffsets() local [all...] |
/third_party/skia/modules/skparagraph/src/ |
H A D | ParagraphImpl.cpp | 1056 auto runIndex = run.index(); in GetLineFontMetrics() 1121 SkScalar ParagraphImpl::detectIndents(size_t index) in GetLineFontMetrics() argument 1124 if (fIndents.size() > 0 && index < fIndents.size()) { in GetLineFontMetrics() 1125 indent = fIndents[index]; in GetLineFontMetrics() 1414 for (int index = 0; index < fTextStyles.size(); ++index) { in GetLineFontMetrics() 1415 auto& block = fTextStyles[index]; in GetLineFontMetrics() 1423 begin = index; in GetLineFontMetrics() 1425 end = index; in GetLineFontMetrics() 2219 prefixByteCountUntilChar(size_t index) GetLineFontMetrics() argument [all...] |