/kernel/linux/linux-6.6/sound/usb/usx2y/ |
H A D | us122l.c | 24 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-max */ variable 29 module_param_array(index, int, NULL, 0444); 30 MODULE_PARM_DESC(index, "Index value for "NAME_ALLCAPS"."); 492 int index = us122l->card_index; in snd_us122l_free() local 494 if (index >= 0 && index < SNDRV_CARDS) in snd_us122l_free() 495 snd_us122l_card_used[index] = 0; in snd_us122l_free() 512 err = snd_card_new(&intf->dev, index[dev], id[dev], THIS_MODULE, in usx2y_create_card()
|
/test/xts/acts/multimedia/av_codec/vcodec/encoder/src/ |
H A D | api_test.cpp | 48 void onNeedInputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, void *userData) in onNeedInputData() argument 55 signal->inIdxQueue_.push(index); in onNeedInputData() 61 void onNewOutputData(OH_AVCodec *codec, uint32_t index, OH_AVMemory *data, OH_AVCodecBufferAttr *attr, void *userData) in onNewOutputData() argument 69 signal->outIdxQueue_.push(index); in onNewOutputData() 637 uint32_t index = signal_->inIdxQueue_.front(); in HWTEST_F() local 644 ASSERT_EQ(AV_ERR_OK, OH_VideoEncoder_PushInputData(venc_, index, attr)); in HWTEST_F() 646 index = signal_->inIdxQueue_.front(); in HWTEST_F() 647 ASSERT_EQ(AV_ERR_INVALID_STATE, OH_VideoEncoder_PushInputData(venc_, index, attr)); in HWTEST_F()
|
/test/xts/device_attest_lite/services/core/network/ |
H A D | attest_coap.c | 141 static int32_t CoapEncodeExtensionMsg(uint8_t param, size_t contentLen, uint32_t *index, CoapRWBuffer *buf) in CoapEncodeExtensionMsg() argument 152 buf->rwBuffer[(*index)++] = (char)(contentLen - COAP_MESSAGE_DIFF_VALUE_BYTE); in CoapEncodeExtensionMsg() 158 buf->rwBuffer[(*index)++] = (char)((contentLen - COAP_MESSAGE_DIFF_VALUE_TWO_BYTES) >> BITS_PER_BYTE); in CoapEncodeExtensionMsg() 159 buf->rwBuffer[(*index)++] = (char)(0xFF & (contentLen - COAP_MESSAGE_DIFF_VALUE_TWO_BYTES)); in CoapEncodeExtensionMsg() 351 uint32_t index = 0; in CoapCopyMessage() local 356 outBuf->rwBuffer[index++] = (char)((uint8_t)(buf->rwBuffer[0] & 0x0F) | ((len & 0x0F) << COAP_BITS_HEADER_LEN)); in CoapCopyMessage() 361 if ((ret = CoapEncodeExtensionMsg(len, contentLen, &index, outBuf)) != 0) { in CoapCopyMessage() 365 ret = memcpy_s(outBuf->rwBuffer + index, pkt->len - LENTKL_LEN, in CoapCopyMessage()
|
/third_party/ffmpeg/libavcodec/arm/ |
H A D | mlpdsp_armv6.S | 24 .macro loadregoffsh2 group, index, base, offgroup, offindex 26 loadregoffsh2_ \group, %(\index), \base, \offgroup, %(\offindex) 30 .macro loadregoffsh2_ group, index, base, offgroup, offindex 31 ldr \group\index, [\base, \offgroup\offindex, lsl #2] 34 .macro eorlslreg check, data, group, index 36 eorlslreg_ \check, \data, \group, %(\index) 40 .macro eorlslreg_ check, data, group, index 41 eor \check, \check, \data, lsl \group\index
|
/third_party/ffmpeg/libavcodec/ |
H A D | dss_sp.c | 347 int index = 6; in dss_sp_unpack_coeffs() local 380 if (C72_binomials[index] <= combined_pulse_pos) { in dss_sp_unpack_coeffs() 381 combined_pulse_pos -= C72_binomials[index]; in dss_sp_unpack_coeffs() 383 fparam->sf[subframe_idx].pulse_pos[6 - index] = i; in dss_sp_unpack_coeffs() 385 if (!index) in dss_sp_unpack_coeffs() 387 --index; in dss_sp_unpack_coeffs() 390 if (index) { in dss_sp_unpack_coeffs() 392 for (a = 0; a < index; a++) in dss_sp_unpack_coeffs()
|
H A D | dxva2_h264.c | 44 unsigned index, unsigned flag) in fill_picture_entry() 46 assert((index&0x7f) == index && (flag&0x01) == flag); in fill_picture_entry() 47 pic->bPicEntry = index | (flag << 7); in fill_picture_entry() 253 unsigned index; in fill_slice_long() local 255 index = ff_dxva2_get_surface_index(avctx, ctx, r->f); in fill_slice_long() 257 index = get_refpic_index(pp, ff_dxva2_get_surface_index(avctx, ctx, r->f)); in fill_slice_long() 258 fill_picture_entry(&slice->RefPicList[list][i], index, in fill_slice_long() 43 fill_picture_entry(DXVA_PicEntry_H264 *pic, unsigned index, unsigned flag) fill_picture_entry() argument
|
/third_party/ffmpeg/libavformat/ |
H A D | mvdec.c | 41 int stream_index; ///< current stream index 477 const AVIndexEntry *index; in mv_read_packet() local 483 index = &sti->index_entries[frame]; in mv_read_packet() 485 if (index->pos > pos) in mv_read_packet() 486 avio_skip(pb, index->pos - pos); in mv_read_packet() 487 else if (index->pos < pos) { in mv_read_packet() 490 ret = avio_seek(pb, index->pos, SEEK_SET); in mv_read_packet() 494 ret = av_get_packet(pb, pkt, index->size); in mv_read_packet() 499 pkt->pts = index->timestamp; in mv_read_packet()
|
/third_party/alsa-utils/seq/aseqdump/ |
H A D | aseqdump.c | 413 channel, m->control_change.index, m->control_change.data); in dump_ump_midi1_event() 517 printf("Per-note RCC %2d, note %u, index %u, value 0x%x", in dump_ump_midi2_event() 519 m->per_note_rcc.index, m->per_note_rcc.data); in dump_ump_midi2_event() 522 printf("Per-note ACC %2d, note %u, index %u, value 0x%x", in dump_ump_midi2_event() 524 m->per_note_acc.index, m->per_note_acc.data); in dump_ump_midi2_event() 528 channel, m->rpn.bank, m->rpn.index, m->rpn.data); in dump_ump_midi2_event() 532 channel, m->rpn.bank, m->rpn.index, m->rpn.data); in dump_ump_midi2_event() 536 channel, m->rpn.bank, m->rpn.index, m->rpn.data); in dump_ump_midi2_event() 540 channel, m->rpn.bank, m->rpn.index, m->rpn.data); in dump_ump_midi2_event() 566 channel, m->control_change.index, in dump_ump_midi2_event() [all...] |
/third_party/FreeBSD/sys/dev/usb/net/ |
H A D | if_axge.c | 148 axge_write_mem(struct axge_softc *sc, uint8_t cmd, uint16_t index, in axge_write_mem() argument 156 USETW(req.wIndex, index); in axge_write_mem() 171 axge_write_cmd_2(struct axge_softc *sc, uint8_t cmd, uint16_t index, in axge_write_cmd_2() argument 177 axge_write_mem(sc, cmd, index, reg, &temp, 2); in axge_write_cmd_2() 182 axge_read_mem(struct axge_softc *sc, uint8_t cmd, uint16_t index, in axge_read_mem() argument 192 USETW(req.wIndex, index); in axge_read_mem() 208 axge_read_cmd_2(struct axge_softc *sc, uint8_t cmd, uint16_t index, uint16_t reg) in axge_read_cmd_2() argument 212 (void)axge_read_mem(sc, cmd, index, reg, &val, 2); in axge_read_cmd_2()
|
/third_party/icu/icu4c/source/i18n/ |
H A D | collationfastlatinbuilder.cpp | 61 * @return the index>=0 where the item was found, 62 * or the index<0 for inserting the string at ~index in sorted order 424 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE() local 425 U_ASSERT(index >= 0); in getMiniCE() 426 return miniCEs[index]; in getMiniCE() 609 for(int32_t index = (int32_t)ce & 0x7fffffff;; index += 3) { in encodeContractions() 610 int32_t x = static_cast<int32_t>(contractionCEs.elementAti(index)); in encodeContractions() 612 int64_t cce0 = contractionCEs.elementAti(index in encodeContractions() [all...] |
/third_party/libwebsockets/lib/core-net/ |
H A D | dummy-callback.c | 33 int temp_len, int index, unsigned char **p, unsigned char *end) in proxy_header() 35 int n = lws_hdr_total_length(par, (enum lws_token_indexes)index); in proxy_header() 38 lwsl_wsi_debug(wsi, "no index %d:", index); in proxy_header() 43 if (lws_hdr_copy(par, (char *)temp, temp_len, (enum lws_token_indexes)index) < 0) { in proxy_header() 45 index, n); in proxy_header() 49 lwsl_wsi_debug(wsi, "index %d: %s", index, (char *)temp); in proxy_header() 51 if (lws_add_http_header_by_token(wsi, (enum lws_token_indexes)index, temp, n, p, end)) { in proxy_header() 53 index, in proxy_header() 32 proxy_header(struct lws *wsi, struct lws *par, unsigned char *temp, int temp_len, int index, unsigned char **p, unsigned char *end) proxy_header() argument [all...] |
/third_party/mesa3d/src/freedreno/rnn/ |
H A D | headergen2.c | 266 if (elem->index) in printdelem() 267 fprintf(dst, "enum %s", elem->index->name); in printdelem() 281 if (elem->index) { in printdelem() 283 for (j = 0; j < elem->index->valsnum; j++) { in printdelem() 284 if (elem->index->vals[j]->value == i) { in printdelem() 285 val = elem->index->vals[j]; in printdelem() 310 if (elems[i]->index) in printdelem() 311 fprintf(dst, "enum %s ", elems[i]->index->name); in printdelem()
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | runtime.py | 205 index = blocks.index(current) + 1 206 blocks[index] 211 return BlockReference(name, self, blocks, index) 428 self._length = len(iterable) + self.index + (self._after is not missing) 441 def index(self): member in LoopContext 451 return self.length - self.index 567 return "<%s %d/%d>" % (self.__class__.__name__, self.index, self.length)
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | collationfastlatinbuilder.cpp | 61 * @return the index>=0 where the item was found, 62 * or the index<0 for inserting the string at ~index in sorted order 424 int32_t index = binarySearch(uniqueCEs.getBuffer(), uniqueCEs.size(), ce); in getMiniCE() local 425 U_ASSERT(index >= 0); in getMiniCE() 426 return miniCEs[index]; in getMiniCE() 609 for(int32_t index = (int32_t)ce & 0x7fffffff;; index += 3) { in encodeContractions() 610 int32_t x = static_cast<int32_t>(contractionCEs.elementAti(index)); in encodeContractions() 612 int64_t cce0 = contractionCEs.elementAti(index in encodeContractions() [all...] |
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-graph-printer.cc | 168 size_t index = AddTarget(targets, target); in AddTargetIfNotNext() 169 if (arrows_starting_here != nullptr) arrows_starting_here->insert(index); in AddTargetIfNotNext() 317 int index = 0; in PrintEagerDeopt() local 327 << ":" << deopt_info->input_locations[index].operand(); in PrintEagerDeopt() 328 index++; in PrintEagerDeopt() 357 int index = 0; in PrintLazyDeopt() local 371 << deopt_info->input_locations[index].operand(); in PrintLazyDeopt() 373 index++; in PrintLazyDeopt()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
H A D | i915_fpc_optimize.c | 396 struct i915_token_list *tokens, int index) in i915_fpc_optimize_mov_before_tex() 398 union i915_full_token *current = &tokens->Tokens[index - 1]; in i915_fpc_optimize_mov_before_tex() 399 union i915_full_token *next = &tokens->Tokens[index]; in i915_fpc_optimize_mov_before_tex() 409 unused_from(ctx, ¤t->FullInstruction.Dst[0], index)) { in i915_fpc_optimize_mov_before_tex() 590 int index) in i915_fpc_optimize_useless_mov_after_inst() 592 union i915_full_token *current = &tokens->Tokens[index - 1]; in i915_fpc_optimize_useless_mov_after_inst() 593 union i915_full_token *next = &tokens->Tokens[index]; in i915_fpc_optimize_useless_mov_after_inst() 603 unused_from(ctx, ¤t->FullInstruction.Dst[0], index) && in i915_fpc_optimize_useless_mov_after_inst() 395 i915_fpc_optimize_mov_before_tex(struct i915_optimize_context *ctx, struct i915_token_list *tokens, int index) i915_fpc_optimize_mov_before_tex() argument 588 i915_fpc_optimize_useless_mov_after_inst(struct i915_optimize_context *ctx, struct i915_token_list *tokens, int index) i915_fpc_optimize_useless_mov_after_inst() argument
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | regalloc.c | 109 printf("%03d:", instr->index); in ppir_regalloc_print_result() 115 printf(" (%d|", node->index); in ppir_regalloc_print_result() 208 load->index = -comp->prog->state.stack_size; /* index sizes are negative */ in ppir_update_spilled_src() 293 load->index = -comp->prog->state.stack_size; /* index sizes are negative */ in ppir_update_spilled_dest_load() 353 store->index = -comp->prog->state.stack_size; /* index sizes are negative */ in ppir_update_spilled_dest() 588 reg->index = ra_get_node_reg(g, n++); in ppir_regalloc_prog_try() 591 assert(!(reg->index in ppir_regalloc_prog_try() [all...] |
/third_party/mesa3d/src/gallium/drivers/vc4/ |
H A D | vc4_state.c | 388 enum pipe_shader_type shader, uint index, in vc4_set_constant_buffer() 399 so->enabled_mask &= ~(1 << index); in vc4_set_constant_buffer() 400 so->dirty_mask &= ~(1 << index); in vc4_set_constant_buffer() 404 if (index == 1 && so->cb[index].buffer_size != cb->buffer_size) in vc4_set_constant_buffer() 407 util_copy_constant_buffer(&so->cb[index], cb, take_ownership); in vc4_set_constant_buffer() 409 so->enabled_mask |= 1 << index; in vc4_set_constant_buffer() 410 so->dirty_mask |= 1 << index; in vc4_set_constant_buffer() 387 vc4_set_constant_buffer(struct pipe_context *pctx, enum pipe_shader_type shader, uint index, bool take_ownership, const struct pipe_constant_buffer *cb) vc4_set_constant_buffer() argument
|
/third_party/qrcodegen/rust-no-heap/src/ |
H A D | lib.rs | 375 let index = in error_correction_level() 379 [Medium, Low, High, Quartile][index] in error_correction_level() 407 let index = usize::from(y) * usize::from(*self.size) + usize::from(x); in get_module_bounded() 408 let byteindex: usize = index >> 3; in get_module_bounded() 409 let bitindex: usize = index & 7; in get_module_bounded() 427 let index = usize::from(y) * usize::from(*self.size) + usize::from(x); in set_module_bounded() 428 let byteindex: usize = index >> 3; in set_module_bounded() 429 let bitindex: usize = index & 7; in set_module_bounded() 649 let mut i: usize = 0; // Bit index into the data in draw_codewords() 997 // Version: (note that index [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | validationGL45_autogen.h | 153 GLuint index); 156 GLuint index); 277 GLuint index, 282 GLuint index, 290 GLuint index, 295 GLuint index, 556 GLuint index, 560 GLuint index,
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | runtime.py | 205 index = blocks.index(current) + 1 206 blocks[index] 211 return BlockReference(name, self, blocks, index) 428 self._length = len(iterable) + self.index + (self._after is not missing) 441 def index(self): member in LoopContext 451 return self.length - self.index 567 return "<%s %d/%d>" % (self.__class__.__name__, self.index, self.length)
|
/third_party/skia/src/sksl/ |
H A D | SkSLConstantFolder.cpp | 159 for (int index = 0; index < numSlots; ++index) { in contains_constant_zero() 160 skstd::optional<double> slotVal = expr.getConstantValue(index); in contains_constant_zero() 170 for (int index = 0; index < numSlots; ++index) { in is_constant_value() 171 skstd::optional<double> slotVal = expr.getConstantValue(index); in is_constant_value()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | duplicateLocalVariable1.js | 18 return (arg1.every(function (val, index) { return val === arg2[index] })); 183 fb.index = 0; 207 savedFile.index = 0; 288 }, "Invalid UTF8 byte sequence at index: 4")); 295 }, "Trailing byte invalid at index: 8")); 302 }, "Trailing byte invalid at index: 6")); 340 }, "Codepoint at index: 3 has control value: 8")); 367 return (arg1.every(function (val, index) { return val === arg2[index]; }));
[all...] |
/third_party/python/Lib/ |
H A D | tracemalloc.py | 203 def __getitem__(self, index): 204 if isinstance(index, slice): 205 return tuple(Frame(trace) for trace in self._frames[index]) 207 return Frame(self._frames[index]) 320 def __getitem__(self, index): 321 if isinstance(index, slice): 322 return tuple(Trace(trace) for trace in self._traces[index]) 324 return Trace(self._traces[index])
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fProgramInterfaceDefinition.cpp | 108 const int index = (int)(it - DE_ARRAY_BEGIN(s_shaderStageOrder)); in getShaderStageIndex() local 109 return index; in getShaderStageIndex() 502 const int index = getShaderStageIndex(m_shaders[shaderNdx]->getType()); 503 if (index != -1) 504 firstStage = de::min(firstStage, index); 520 const int index = getShaderStageIndex(m_shaders[shaderNdx]->getType()); 521 if (index != -1) 522 lastStage = de::max(lastStage, index);
|