/third_party/node/deps/v8/src/objects/ |
H A D | elements.h | 10 #include "src/objects/internal-index.h" 38 // Returns true if a holder contains an element with the specified index 43 // the PropertyAttributes of the element at the given index are compared 44 // to the given |filter|. If they match/overlap, the given index is ignored. 48 virtual bool HasElement(JSObject holder, uint32_t index, 52 inline bool HasElement(JSObject holder, uint32_t index, 107 Handle<JSObject> object, uint32_t index) = 0; 116 uint32_t index, 152 // Check an Object's own elements for the index of an element (using SameValue 190 // ElementsAccessor, entries are mapped to an index usin [all...] |
/third_party/node/deps/v8/src/strings/ |
H A D | uri.cc | 78 int index, bool is_uri, std::vector<T>* buffer) { in AddToBuffer() 81 base::uc16 first = uri_content->Get(index + 1); in AddToBuffer() 82 base::uc16 second = uri_content->Get(index + 2); in AddToBuffer() 93 bool IntoTwoByte(int index, bool is_uri, int uri_length, in IntoTwoByte() argument 96 for (int k = index; k < uri_length; k++) { in IntoTwoByte() 428 int index; in UnescapePrivate() local 432 index = search.Search(source->GetCharVector<Char>(no_gc), 0); in UnescapePrivate() 433 if (index < 0) return source; in UnescapePrivate() 435 return UnescapeSlow<Char>(isolate, source, index); in UnescapePrivate() 77 AddToBuffer(base::uc16 decoded, String::FlatContent* uri_content, int index, bool is_uri, std::vector<T>* buffer) AddToBuffer() argument
|
/third_party/node/deps/v8/src/torque/ |
H A D | utils.cc | 258 for (size_t index = 0; index < camellified_string.size(); ++index) { in CapifyStringWithUnderscores() 259 char current = camellified_string[index]; in CapifyStringWithUnderscores() 262 index == js_position + strlen("JS"))) { in CapifyStringWithUnderscores()
|
/third_party/mesa3d/src/gallium/drivers/lima/ir/pp/ |
H A D | node_to_instr.c | 157 dest->ssa.index = -1; in ppir_do_one_node_to_instr() 171 move->index, node->index); in ppir_do_one_node_to_instr() 187 move->index, node->index); in ppir_do_one_node_to_instr()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_prim_restart.c | 94 * Translate an index buffer for primitive restart. 95 * Create a new index buffer which is a copy of the original index buffer 98 * Also, index buffers using 1-byte indexes are converted to 2-byte indexes. 126 /* Create new index buffer */ in util_translate_prim_restart_ib() 133 /* Map new / dest index buffer */ in util_translate_prim_restart_ib() 140 src_map = (unsigned char*)info->index.user + start * src_index_size; in util_translate_prim_restart_ib() 142 /* Map original / src index buffer */ in util_translate_prim_restart_ib() 143 src_map = pipe_buffer_map_range(context, info->index.resource, in util_translate_prim_restart_ib() 270 assert(!"Bad index siz in util_prim_restart_convert_to_direct() [all...] |
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/ |
H A D | fd4_image.c | 243 unsigned index = u_bit_scan(&enabled_mask); in fd4_emit_images() local 246 translate_image(&img, &so->si[index]); in fd4_emit_images() 248 if (m->image_to_tex[index] != IBO_INVALID) in fd4_emit_images() 249 emit_image_tex(ring, m->image_to_tex[index] + m->tex_base, &img, shader); in fd4_emit_images() 250 emit_image_ssbo(ring, v->num_ssbos + index, &img, shader); in fd4_emit_images()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_draw_elements.c | 41 * Return a new index buffer which contains a translation of the original 42 * index buffer. An example of a translation is converting from QUAD 46 * Before generating the new index buffer we'll check if the incoming 51 * \param offset offset in bytes to first index to translate in src buffer 56 * \param index_size bytes per index (2 or 4) 58 * \param out_buf returns the new/translated index buffer 85 src_sbuf = svga_buffer(info->index.resource); in translate_indices() 91 /* Check if we already have a translated index buffer */ in translate_indices() 124 src_map = pipe_buffer_map(pipe, info->index.resource, in translate_indices() 131 /* Allocate upload buffer space. Align to the index siz in translate_indices() [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_query.c | 35 nvc0_create_query(struct pipe_context *pipe, unsigned type, unsigned index) in nvc0_create_query() argument 40 q = nvc0_sw_create_query(nvc0, type, index); in nvc0_create_query() 42 q = nvc0_hw_create_query(nvc0, type, index); in nvc0_create_query() 82 int index, in nvc0_get_query_result_resource() 92 index, resource, offset); in nvc0_get_query_result_resource() local 78 nvc0_get_query_result_resource(struct pipe_context *pipe, struct pipe_query *pq, enum pipe_query_flags flags, enum pipe_query_value_type result_type, int index, struct pipe_resource *resource, unsigned offset) nvc0_get_query_result_resource() argument
|
/third_party/python/Lib/idlelib/ |
H A D | squeezer.py | 163 index = self.text.index(self) 164 self.base_text.insert(index, self.s, self.tags) 166 self.editwin.on_squeezed_expand(index, self.s, self.tags) 312 end = self.text.index("%s-1c" % end)
|
/third_party/skia/src/core/ |
H A D | SkStrikeCache.cpp | 66 SkDebugf("index %d\n", counter); in Dump() 99 for (size_t index = 0; index < fontName.size(); ++index) { in DumpMemoryStatistics() 100 if (!std::isalnum(fontName[index])) { in DumpMemoryStatistics() 101 fontName[index] = '_'; in DumpMemoryStatistics()
|
/third_party/skia/src/gpu/ |
H A D | GrDirectContextPriv.cpp | 164 unsigned int index) { in testingOnly_getFontAtlasImage() 172 if (index >= numActiveProxies || !views || !views[index].proxy()) { in testingOnly_getFontAtlasImage() 177 SkASSERT(views[index].proxy()->priv().isExact()); in testingOnly_getFontAtlasImage() 180 views[index], in testingOnly_getFontAtlasImage() 163 testingOnly_getFontAtlasImage(GrMaskFormat format, unsigned int index) testingOnly_getFontAtlasImage() argument
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | dominator_tree.cpp | 37 // preorder and postorder index of each node. We use these indexes to compare 361 int index = 0; in ResetDFNumbering() local 362 auto preFunc = [&index](const DominatorTreeNode* node) { in ResetDFNumbering() 363 const_cast<DominatorTreeNode*>(node)->dfs_num_pre_ = ++index; in ResetDFNumbering() 366 auto postFunc = [&index](const DominatorTreeNode* node) { in ResetDFNumbering() 367 const_cast<DominatorTreeNode*>(node)->dfs_num_post_ = ++index; in ResetDFNumbering()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | dominator_tree.cpp | 37 // preorder and postorder index of each node. We use these indexes to compare 361 int index = 0; in ResetDFNumbering() local 362 auto preFunc = [&index](const DominatorTreeNode* node) { in ResetDFNumbering() 363 const_cast<DominatorTreeNode*>(node)->dfs_num_pre_ = ++index; in ResetDFNumbering() 366 auto postFunc = [&index](const DominatorTreeNode* node) { in ResetDFNumbering() 367 const_cast<DominatorTreeNode*>(node)->dfs_num_post_ = ++index; in ResetDFNumbering()
|
/third_party/skia/src/utils/ |
H A D | SkParsePath.cpp | 54 for (int index = 0; index < count; index++) { in find_points() 55 value[index].fX += relative->fX; in find_points() 56 value[index].fY += relative->fY; in find_points()
|
/third_party/skia/tests/ |
H A D | PaintTest.cpp | 99 #define FOR_SETUP(index, array, setter) \ in DEF_TEST() 100 for (size_t index = 0; index < SK_ARRAY_COUNT(array); ++index) { \ in DEF_TEST() 101 paint.setter(array[index]); in DEF_TEST()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-shape-complex-use-machine.hh | 401 { unsigned index = (*it).first; if (index < n) it += n - index; else if (index > n) it -= index - n; } in operator =() local
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
H A D | NVPTXUtilities.cpp | 50 // start index = 1, to skip the global variable key in cacheAnnotationFromMD() 284 bool getAlign(const Function &F, unsigned index, unsigned &align) { in getAlign() argument 291 if ((v >> 16) == index) { in getAlign() 299 bool getAlign(const CallInst &I, unsigned index, unsigned &align) { in getAlign() argument 305 if ((v >> 16) == index) { in getAlign() 309 if ((v >> 16) > index) { in getAlign()
|
/third_party/python/Python/ |
H A D | bootstrap_hash.c | 417 size_t index; in lcg_urandom() local 421 for (index=0; index < size; index++) { in lcg_urandom() 425 buffer[index] = (x >> 16) & 0xff; in lcg_urandom()
|
/third_party/python/Objects/ |
H A D | iterobject.c | 61 "iter index too large"); in iter_iternext() 123 Py_ssize_t index = PyLong_AsSsize_t(state); in iter_setstate() local 124 if (index == -1 && PyErr_Occurred()) in iter_setstate() 127 if (index < 0) in iter_setstate() 128 index = 0; in iter_setstate() 129 it->it_index = index; in iter_setstate()
|
/third_party/rust/crates/clap/tests/builder/ |
H A D | possible_values.rs | 9 .arg(Arg::new("positional").index(1).value_parser(["test123"])) in possible_values_of_positional() 27 .index(1) in possible_value_arg_value() 47 .arg(Arg::new("positional").index(1).value_parser(["test123"])) in possible_values_of_positional_fail() 59 .index(1) in possible_values_of_positional_multiple() 84 .index(1) in possible_values_of_positional_multiple_fail()
|
/third_party/skia/gm/ |
H A D | texteffects.cpp | 34 for (int index = 0; index < intersections.count(); index += 2) { in create_underline() 35 SkScalar start = intersections[index] - uWidth; in create_underline() 36 end = intersections[index + 1] + uWidth; in create_underline()
|
/third_party/skia/modules/particles/src/ |
H A D | SkParticleBinding.cpp | 72 skvm::I32 index = trunc(clamp(arguments[0] * fPath.size(), 0, fPath.size() - 1)); variable 74 outResult[0] = builder->gatherF(ptr, (index<<2)+0); 75 outResult[1] = builder->gatherF(ptr, (index<<2)+1); 76 outResult[2] = builder->gatherF(ptr, (index<<2)+2); 77 outResult[3] = builder->gatherF(ptr, (index<<2)+3);
|
/third_party/spirv-tools/source/opt/ |
H A D | dominator_tree.cpp | 37 // preorder and postorder index of each node. We use these indexes to compare 348 int index = 0; in ResetDFNumbering() local 349 auto preFunc = [&index](const DominatorTreeNode* node) { in ResetDFNumbering() 350 const_cast<DominatorTreeNode*>(node)->dfs_num_pre_ = ++index; in ResetDFNumbering() 353 auto postFunc = [&index](const DominatorTreeNode* node) { in ResetDFNumbering() 354 const_cast<DominatorTreeNode*>(node)->dfs_num_post_ = ++index; in ResetDFNumbering()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 387 int index = 0; in fec_dump() local 397 index, in fec_dump() 403 txq->tx_buf[index].buf_p); in fec_dump() 405 index++; in fec_dump() 487 unsigned int index; in fec_enet_txq_submit_frag_skb() local 525 index = fec_enet_get_bd_index(bdp, &txq->bd); in fec_enet_txq_submit_frag_skb() 528 memcpy(txq->tx_bounce[index], bufaddr, frag_len); in fec_enet_txq_submit_frag_skb() 529 bufaddr = txq->tx_bounce[index]; in fec_enet_txq_submit_frag_skb() 574 unsigned int index; in fec_enet_txq_submit_skb() local 601 index in fec_enet_txq_submit_skb() 689 fec_enet_txq_put_data_tso(struct fec_enet_priv_tx_q *txq, struct sk_buff *skb, struct net_device *ndev, struct bufdesc *bdp, int index, char *data, int size, bool last_tcp, bool is_last) fec_enet_txq_put_data_tso() argument 749 fec_enet_txq_put_hdr_tso(struct fec_enet_priv_tx_q *txq, struct sk_buff *skb, struct net_device *ndev, struct bufdesc *bdp, int index) fec_enet_txq_put_hdr_tso() argument 810 unsigned int index = 0; fec_enet_txq_submit_tso() local 1388 int index = 0; fec_enet_tx_queue() local 1544 fec_enet_update_cbd(struct fec_enet_priv_rx_q *rxq, struct bufdesc *bdp, int index) fec_enet_update_cbd() argument 1643 int index = 0; fec_enet_rx_queue() local 3787 fec_enet_xdp_get_tx_queue(struct fec_enet_private *fep, int index) fec_enet_xdp_get_tx_queue() argument 3800 unsigned int index, status, estatus; fec_enet_txq_xmit_frame() local [all...] |
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/ |
H A D | appevent_watcher_impl.cpp | 335 void FreeRetValue(RetAppEventGroup* retValue, size_t index) in FreeRetValue() argument 340 for (size_t i = 0; i < index; i++) { in FreeRetValue() 369 size_t index = 0; in getEventGroups() local 372 retValue1[index].name = MallocCString(it.first); in getEventGroups() 378 free(retValue1[index].name); in getEventGroups() 389 retValue1[index++].appEventInfos = appEventInfos; in getEventGroups() 392 FreeRetValue(retValue1, index); in getEventGroups()
|