/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | OutputVulkanGLSL.cpp | 116 if (layoutQualifier.index <= 0) in writeLayoutQualifier() 118 // Note: for index == 1 (dual source blending), don't count locations as they are in writeLayoutQualifier()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cShaderSubroutineTests.cpp | 69 * @param index <index> parameter 73 void Utils::buffer::bindRange(glw::GLenum target, glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size) in bindRange() argument 77 gl.bindBufferRange(target, index, m_id, offset, size); in bindRange() 436 /** Get subroutine index 445 GLuint index = -1; in getSubroutineIndex() local 447 index = gl.getSubroutineIndex(m_program_object_id, shader_stage, subroutine_name); in getSubroutineIndex() 450 if (GL_INVALID_INDEX == index) in getSubroutineIndex() 458 return index; in getSubroutineIndex() 2008 gl.getActiveSubroutineName(m_po_id, GL_VERTEX_SHADER, 0, /* index */ in verifyGLGetActiveSubroutineNameFunctionality() 3079 GLuint index = gl.getProgramResourceIndex(program_id, program_interface, resource_name); checkProgramResourceiv() local 3152 checkActiveSubroutineUniformiv(GLuint program_id, GLuint index, GLenum pname, GLint expected) const checkActiveSubroutineUniformiv() argument 3190 GLuint index = gl.getProgramResourceIndex(program_id, program_interface, resource_name); getProgramResourceIndex() local 3217 GLuint index = -1; getSubroutineIndex() local 3384 GLuint index = getProgramResourceIndex(program_id, GL_VERTEX_SUBROUTINE_UNIFORM, uniform_name); inspectProgramResourceiv() local 10135 glw::GLuint index = 0; iterate() local 12293 GLuint index = 0; test() local [all...] |
H A D | gl4cEnhancedLayoutsTests.hpp | 182 void BindBase(glw::GLuint index) const; 184 void BindRange(glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size) const; 198 static void BindBase(const glw::Functions& gl, glw::GLuint id, BUFFERS buffer, glw::GLuint index); 200 static void BindRange(const glw::Functions& gl, glw::GLuint id, BUFFERS buffer, glw::GLuint index, 774 void GetResource(glw::GLenum interface, glw::GLuint index, glw::GLenum property, glw::GLsizei buf_size, 809 static void GetResource(const glw::Functions& gl, glw::GLuint id, glw::GLenum interface, glw::GLuint index, 932 void Attribute(glw::GLuint index, const Type& type, glw::GLuint n_array_elements, glw::GLboolean normalized, 938 static void AttribPointer(const glw::Functions& gl, glw::GLuint index, const Type& type, 944 static void Disable(const glw::Functions& gl, glw::GLuint index, const Type& type, glw::GLuint n_array_elements); 946 static void Divisor(const glw::Functions& gl, glw::GLuint index, gl [all...] |
/third_party/python/Python/ |
H A D | ceval.c | 1507 assert(cache->index < dict->ma_keys->dk_nentries); \ 1508 PyDictUnicodeEntry *ep = DK_UNICODE_ENTRIES(dict->ma_keys) + cache->index; \ 2177 Py_ssize_t index = ((PyLongObject*)sub)->ob_digit[0]; local 2178 DEOPT_IF(index >= PyList_GET_SIZE(list), BINARY_SUBSCR); 2180 PyObject *res = PyList_GET_ITEM(list, index); 2202 Py_ssize_t index = ((PyLongObject*)sub)->ob_digit[0]; local 2203 DEOPT_IF(index >= PyTuple_GET_SIZE(tuple), BINARY_SUBSCR); 2205 PyObject *res = PyTuple_GET_ITEM(tuple, index); 2343 Py_ssize_t index = ((PyLongObject*)sub)->ob_digit[0]; local 2344 // Ensure index < le 3618 Py_ssize_t index = cache->index; global() local 6087 get_exception_handler(PyCodeObject *code, int index, int *level, int *handler, int *lasti) global() argument [all...] |
/test/xts/acts/commonlibrary/ark_runtime/ark_runtime_jsvm_test/entry/src/main/cpp/napi/ |
H A D | napi_test.cpp | 3650 static JSVM_Value SetIndexPropertyCbInfo1(JSVM_Env env, JSVM_Value index, JSVM_Value property, JSVM_Value thisArg, in SetIndexPropertyCbInfo1() argument 3654 OH_JSVM_GetValueUint32(env, index, &value); in SetIndexPropertyCbInfo1() 3694 uint32_t index = 0; in IndexHandler1() local 3695 OH_JSVM_CreateUint32(env, index, &jsIndex); in IndexHandler1() 3751 static JSVM_Value SetIndexPropertyCbInfo2(JSVM_Env env, JSVM_Value index, JSVM_Value property, JSVM_Value thisArg, in SetIndexPropertyCbInfo2() argument 3780 uint32_t index = 0; in IndexHandler2() local 3781 OH_JSVM_CreateUint32(env, index, &jsIndex); in IndexHandler2() 4036 static JSVM_Value GetIndexPropertyCbInfo1(JSVM_Env env, JSVM_Value index, JSVM_Value thisArg, JSVM_Value data) in GetIndexPropertyCbInfo1() argument 4039 OH_JSVM_GetValueUint32(env, index, &value); in GetIndexPropertyCbInfo1() 4075 uint32_t index in IndexHandler3() local 4133 GetIndexPropertyCbInfo2(JSVM_Env env, JSVM_Value index, JSVM_Value thisArg, JSVM_Value data) GetIndexPropertyCbInfo2() argument 4166 uint32_t index = 0; IndexHandler4() local 4540 DeleterIndexedPropertyCbInfo1(JSVM_Env env, JSVM_Value index, JSVM_Value thisArg, JSVM_Value data) DeleterIndexedPropertyCbInfo1() argument 4582 uint32_t index = 0; IndexHandler5() local 4639 DeleterIndexedPropertyCbInfo2(JSVM_Env env, JSVM_Value index, JSVM_Value thisArg, JSVM_Value data) DeleterIndexedPropertyCbInfo2() argument 4672 uint32_t index = 0; IndexHandler6() local 4732 DeleterIndexedPropertyCbInfo3(JSVM_Env env, JSVM_Value index, JSVM_Value thisArg, JSVM_Value data) DeleterIndexedPropertyCbInfo3() argument 4765 uint32_t index = 0; IndexHandler7() local 5091 uint32_t index = 0; IndexHandler8() local 5211 uint32_t index = 0; IndexHandler9() local 6810 int32_t index = 0; SetElement() local 6838 uint32_t index; GetElement() local 6868 uint32_t index; HasElement() local 6899 uint32_t index; DeleteElement() local 6914 uint32_t index; DeleteElementAndCheck() local 7673 int32_t index = 0; SetTypeTagToObject() local 7690 int32_t index = 0; CheckObjectTypeTag() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | demux.c | 427 av_log(s, AV_LOG_DEBUG, "probing stream %d pp:%d\n", st->index, sti->probe_packets); in probe_codec() 435 st->index); in probe_codec() 447 "nothing to probe for stream %d\n", st->index); in probe_codec() 462 av_log(s, AV_LOG_DEBUG, "probed stream %d\n", st->index); in probe_codec() 464 av_log(s, AV_LOG_WARNING, "probed stream %d failed\n", st->index); in probe_codec() 614 "Invalid stream index.\n"); in ff_read_packet() 1118 presentation_delayed, delay, av_ts2str(pkt->pts), av_ts2str(pkt->dts), av_ts2str(sti->cur_dts), st->index, st->id); in compute_pkt_fields() 1203 out_pkt->stream_index = st->index; in parse_packet() 1266 parse_packet(s, pkt, st->index, 1); in read_frame_internal() 1340 ff_reduce_index(s, st->index); in read_frame_internal() [all...] |
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | evaluate.c | 567 struct expression *index = expr->right; in evaluate_ptr_add() local 600 if (index->type == EXPR_VALUE) { in evaluate_ptr_add() 602 unsigned long long v = index->value, mask; in evaluate_ptr_add() 618 index = cast_to(index, ssize_t_ctype); in evaluate_ptr_add() 629 mul->left = index; in evaluate_ptr_add() 631 index = mul; in evaluate_ptr_add() 634 expr->right = index; in evaluate_ptr_add() 973 struct expression *index = expr->left; in evaluate_binop() local 974 unrestrict(index, lclas in evaluate_binop() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | machine-operator-reducer.cc | 1302 Reduction MachineOperatorReducer::ReduceProjection(size_t index, Node* node) { in ReduceProjection() argument 1305 DCHECK(index == 0 || index == 1); in ReduceProjection() 1311 return ReplaceInt32(index == 0 ? val : ovf); in ReduceProjection() 1314 return Replace(index == 0 ? m.left().node() : m.right().node()); in ReduceProjection() 1319 DCHECK(index == 0 || index == 1); in ReduceProjection() 1325 return ReplaceInt32(index == 0 ? val : ovf); in ReduceProjection() 1328 return Replace(index == 0 ? m.left().node() : m.right().node()); in ReduceProjection() 1333 DCHECK(index in ReduceProjection() [all...] |
/third_party/mesa3d/src/gallium/drivers/crocus/ |
H A D | crocus_program.c | 259 nir_ssa_def *index = nir_ssa_for_src(b, deref->arr.index, 1); in get_aoa_deref_offset() local 260 assert(deref->arr.index.ssa); in get_aoa_deref_offset() 262 nir_imul(b, index, nir_imm_int(b, array_size))); in get_aoa_deref_offset() 269 /* Accessing an invalid surface index with the dataport can result in a in get_aoa_deref_offset() 270 * hang. According to the spec "if the index used to select an individual in get_aoa_deref_offset() 274 * Clamp the index to prevent access outside of the array bounds. in get_aoa_deref_offset() 314 nir_ssa_def *index = in crocus_lower_storage_image_derefs() local 317 nir_rewrite_image_intrinsic(intrin, index, false); in crocus_lower_storage_image_derefs() 739 int index in crocus_print_binding_table() local 761 uint32_t index = nir_src_as_uint(*src); rewrite_src_with_bti() local 781 uint64_t index = nir_src_as_uint(*src); mark_used_with_src() local [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-layout-gpos-table.hh | 790 unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint); in apply() local 791 if (likely (index == NOT_COVERED)) return_trace (false); in apply() 906 unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint); in apply() local 907 if (likely (index == NOT_COVERED)) return_trace (false); in apply() 909 if (likely (index >= valueCount)) return_trace (false); in apply() 912 &values[index * valueFormat.get_len ()], in apply() 1354 unsigned int index = (this+coverage).get_coverage (buffer->cur().codepoint); in apply() local 1355 if (likely (index == NOT_COVERED)) return_trace (false); in apply() 1361 return_trace ((this+pairSet[index]).apply (c, valueFormat, skippy_iter.idx)); in apply() 1547 unsigned int index in apply() local [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fSSBOLayoutCase.cpp | 1054 name << "." << structPtr->getMember(pathComp->index).getName(); in getAPIName() 1061 name << "[" << pathComp->index << "]"; in getAPIName() 1095 name << "." << structPtr->getMember(pathComp->index).getName(); in getShaderName() 1098 name << "[" << pathComp->index << "]"; in getShaderName() 1108 const int topLevelNdx = (accessPath.size() > 1 && accessPath.front().type == glu::VarTypeComponent::ARRAY_ELEMENT) ? accessPath.front().index : 0; in computeOffset() 1109 const int bottomLevelNdx = (!accessPath.empty() && accessPath.back().type == glu::VarTypeComponent::ARRAY_ELEMENT) ? accessPath.back().index : 0; in computeOffset() 1407 throw tcu::TestError("glGetProgramResourceName(GL_SHADER_STORAGE_BLOCK) returned invalid name. Expected null terminator at index " + de::toString(nameLen-1)); in getGLBufferLayout() 1470 throw tcu::TestError("glGetProgramResourceName(GL_BUFFER_VARIABLE) returned invalid name. Expected null terminator at index " + de::toString(nameLen-1)); in getGLBufferLayout() 1928 int index; member 1932 BlockLocation (int index_, int offset_, int size_) : index(index [all...] |
/device/soc/hisilicon/common/platform/wifi/hi3881v100/driver/hdfadapt/ |
H A D | net_adpater.c | 520 hi_u8 index; in wal_report_sta_disassoc_to_lwip() local 531 for (index = 0; index < LWIP_IPV6_NUM_ADDRESSES; index++) { in wal_report_sta_disassoc_to_lwip() 532 (hi_void)netifapi_netif_rmv_ip6_address(netdev->lwip_netif, &netdev->lwip_netif->ip6_addr[index]); in wal_report_sta_disassoc_to_lwip()
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | dmarx.c | 418 id = dev->hdr.index[HDR_DMA2]; in update_rawrd() 422 id = dev->hdr.index[HDR_DMA1]; in update_rawrd() 427 id = dev->hdr.index[HDR_DMA0]; in update_rawrd() 782 if (f->index >= stream->config->fmt_size) { in rkisp_enum_fmt_vid_out_mplane() 786 fmt = &stream->config->fmts[f->index]; in rkisp_enum_fmt_vid_out_mplane()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_atomic_uapi.c | 336 unsigned int index = drm_connector_index(connector); in set_out_fence_for_connector() local 346 state->connectors[index].out_fence_ptr = fence_ptr; in set_out_fence_for_connector() 353 unsigned int index = drm_connector_index(connector); in get_out_fence_for_connector() local 356 fence_ptr = state->connectors[index].out_fence_ptr; in get_out_fence_for_connector() 357 state->connectors[index].out_fence_ptr = NULL; in get_out_fence_for_connector()
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | dmarx.c | 402 id = dev->hdr.index[HDR_DMA2]; in update_rawrd() 406 id = dev->hdr.index[HDR_DMA1]; in update_rawrd() 411 id = dev->hdr.index[HDR_DMA0]; in update_rawrd() 798 if (f->index >= stream->config->fmt_size) in rkisp_enum_fmt_vid_out_mplane() 801 fmt = &stream->config->fmts[f->index]; in rkisp_enum_fmt_vid_out_mplane()
|
/test/xts/hats/hdf/audio/idl/common/adapter/src/ |
H A D | audio_adapter_common_test.cpp | 103 for (uint32_t index = 0; index < adapterDescs_->portsLen; index++) {
in InitDevDesc() 104 if (adapterDescs_->ports[index].dir == PORT_OUT) {
in InitDevDesc() 105 devDesc.portId = adapterDescs_->ports[index].portId;
in InitDevDesc()
|
/test/xts/hats/hdf/audio/idl/common/render/src/ |
H A D | audio_render_common_test.cpp | 111 for (uint32_t index = 0; index < desc_->portsLen; index++) { in InitRenderDevDesc() 112 if (desc_->ports[index].dir == PORT_OUT) { in InitRenderDevDesc() 113 devDesc.portId = desc_->ports[index].portId; in InitRenderDevDesc()
|
/third_party/ffmpeg/libavcodec/ |
H A D | snowdec.c | 127 /* If we are on the second or later slice, restore our index. */ in decode_subband_slice_buffered() 158 const int index= (x + y*w) << rem_depth; in decode_q_branch() local 160 const BlockNode *left = x ? &s->block[index-1] : &null_block; in decode_q_branch() 161 const BlockNode *top = y ? &s->block[index-w] : &null_block; in decode_q_branch() 162 const BlockNode *tl = y && x ? &s->block[index-w-1] : left; in decode_q_branch() 163 const BlockNode *tr = y && trx<w && ((x&1)==0 || level==0) ? &s->block[index-w+(1<<rem_depth)] : tl; //FIXME use lt in decode_q_branch()
|
H A D | takdec.c | 46 int8_t index; ///< index into array of decorrelation types member 812 s->mcdparams[i].index = get_bits(gb, 2); in tak_decode_frame() 820 if (s->mcdparams[i].index == 1) { in tak_decode_frame() 843 if (s->mcdparams[i].present && s->mcdparams[i].index == 1) in tak_decode_frame() 851 s->dmode = mc_dmodes[s->mcdparams[i].index]; in tak_decode_frame()
|
/third_party/ffmpeg/libavfilter/ |
H A D | af_astats.c | 267 int index; in update_stat() local 318 index = av_clip(lrint(av_clipd(FFABS(nd), 0.0, 1.0) * HISTOGRAM_MAX), 0, HISTOGRAM_MAX); in update_stat() 319 p->max_index = FFMAX(p->max_index, index); in update_stat() 320 p->histogram[index]++; in update_stat() 321 p->ehistogram[index]++; in update_stat()
|
/third_party/backends/backend/ |
H A D | lexmark.c | 585 SANE_Int index; in sane_get_devices() local 603 index = 0; in sane_get_devices() 609 sane_device_list[index] = &(lexmark_device->sane); in sane_get_devices() 610 index++; in sane_get_devices() 614 sane_device_list[index] = 0; in sane_get_devices()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | LongNameHandler.java | 44 // Returns the array index that corresponds to the given pluralKeyword. 321 int index = getIndex(keyString); in put() 322 if (outArray[index] != null) { in put() 327 outArray[index] = formatString; in put() 445 int index = getIndex(pluralKeyword); in getCurrencyLongNameData() 454 outArray[index] = simpleFormat; in getCurrencyLongNameData()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | Normalizer.java | 719 * @param srcStart Start index of the source 720 * @param srcLimit Limit index of the source 722 * @param destStart Start index of the destination buffer 723 * @param destLimit End index of the destination buffer 799 * @param srcStart Start index of the source 800 * @param srcLimit Limit index of the source 802 * @param destStart Start index of the destination buffer 803 * @param destLimit End index of the destination buffer 885 * @param srcStart Start index of the source 886 * @param srcLimit Limit index o 1553 setIndexOnly(int index) setIndexOnly() argument 1582 setIndex(int index) setIndex() argument [all...] |
/third_party/FreeBSD/sys/dev/usb/net/ |
H A D | if_cdce.c | 506 DPRINTFN(1, "index 0 = %d, index 1 = %d!\n", i, uaa->info.bIfaceIndex); in cdce_attach() 1091 cdce_ncm_fill_tx_frames(struct usb_xfer *xfer, uint8_t index) in cdce_ncm_fill_tx_frames() argument 1095 struct usb_page_cache *pc = usbd_xfer_get_frame(xfer, index); in cdce_ncm_fill_tx_frames() 1105 usbd_xfer_set_frame_offset(xfer, index * CDCE_NCM_TX_MAXLEN, index); in cdce_ncm_fill_tx_frames() 1203 usbd_xfer_set_frame_len(xfer, index, offset); in cdce_ncm_fill_tx_frames() 1337 DPRINTFN(1, "invalid DPT index: 0x%04x\n", temp); in cdce_ncm_bulk_read_callback()
|
/third_party/NuttX/drivers/usbdev/gadget/ |
H A D | rndis.c | 1077 size_t index = priv->current_rx_received - priv->current_rx_datagram_offset; in rndis_recvpacket() local 1078 size_t copysize = min(reqlen, priv->current_rx_datagram_size - index); in rndis_recvpacket() 1082 if ((RNDIS_PACKET_HDR_SIZE + index + copysize) <= CONFIG_NET_ETH_MTU) in rndis_recvpacket() 1084 ret = memcpy_s(&priv->rx_req->buf[RNDIS_PACKET_HDR_SIZE + index], in rndis_recvpacket() 1085 CONFIG_RNDIS_BULKIN_REQLEN - RNDIS_PACKET_HDR_SIZE - index, in rndis_recvpacket()
|