/third_party/jerryscript/jerry-core/ecma/operations/ |
H A D | ecma-iterator-object.c | 53 ecma_value_t index_value) /**< iterator index */ in ecma_create_array_from_iter_element() 61 for (uint32_t index = 0; index < 2; index++) in ecma_create_array_from_iter_element() 63 ecma_string_t *index_string_p = ecma_new_ecma_string_from_uint32 (index); in ecma_create_array_from_iter_element() 68 (index == 0) ? index_value : value, in ecma_create_array_from_iter_element() 95 * on the iterator index */ in ecma_create_iter_result_object()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_io_to_temporaries.c | 152 (*old_interp_deref)->strct.index); in emit_interp() 155 (*old_interp_deref)->strct.index); in emit_interp() 158 if (nir_src_is_const((*old_interp_deref)->arr.index)) { in emit_interp() 161 (*old_interp_deref)->arr.index.ssa); in emit_interp() 164 (*old_interp_deref)->arr.index.ssa); in emit_interp() 168 * for every index. Recurse in case we have an array of arrays. in emit_interp()
|
H A D | nir_opt_combine_stores.c | 229 !nir_src_is_const(dst->arr.index) || in update_combined_store() 235 uint64_t index = nir_src_as_uint(dst->arr.index); in update_combined_store() local 238 if (index >= glsl_get_vector_elements(vec_dst->type)) { in update_combined_store() 239 /* Storing to an invalid index is a no-op. */ in update_combined_store() 245 vec_mask = 1 << index; in update_combined_store()
|
/third_party/mesa3d/src/compiler/ |
H A D | nir_types.h | 47 unsigned index); 50 unsigned index); 53 glsl_get_struct_field_data(const struct glsl_type *type, unsigned index); 80 glsl_get_function_param(const struct glsl_type *type, unsigned index); 110 unsigned index);
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | opt_function_inlining.cpp | 117 ir_variable *index; in visit_enter() local 120 index = new(ctx) ir_variable(deref->array_index->type, "saved_idx", ir_var_temporary); in visit_enter() 121 base_ir->insert_before(index); in visit_enter() 123 assignment = new(ctx) ir_assignment(new(ctx) ir_dereference_variable(index), in visit_enter() 127 deref->array_index = new(ctx) ir_dereference_variable(index); in visit_enter() 198 * (a) if an array index expressions refers to a variable that is in generate_inline() 201 * (b) if an array index expression has side effects, those side effects in generate_inline()
|
/third_party/node/src/ |
H A D | node_contextify.h | 129 uint32_t index, 132 uint32_t index, 136 uint32_t index, 139 uint32_t index, 143 uint32_t index,
|
/third_party/mesa3d/src/mesa/main/ |
H A D | pixeltransfer.c | 110 const GLuint index[], GLfloat rgba[][4] ) in _mesa_map_ci_to_rgba() 122 rgba[i][RCOMP] = rMap[index[i] & rmask]; in _mesa_map_ci_to_rgba() 123 rgba[i][GCOMP] = gMap[index[i] & gmask]; in _mesa_map_ci_to_rgba() 124 rgba[i][BCOMP] = bMap[index[i] & bmask]; in _mesa_map_ci_to_rgba() 125 rgba[i][ACOMP] = aMap[index[i] & amask]; in _mesa_map_ci_to_rgba() 194 * Apply color index shift and offset to an array of pixels. 224 * Apply stencil index shift, offset and table lookup to an array 109 _mesa_map_ci_to_rgba( const struct gl_context *ctx, GLuint n, const GLuint index[], GLfloat rgba[][4] ) _mesa_map_ci_to_rgba() argument
|
/third_party/mesa3d/src/panfrost/shared/ |
H A D | pan_tiling.c | 163 * be unrolled), calculating the index within the tile and writing. 184 unsigned index = expanded_y ^ (space_4[i] << shift); \ 186 *((pixel_t *) (dest + index)) = *(source++); \ 188 *(source++) = *((pixel_t *) (dest + index)); \ 209 unsigned index = expanded_y ^ space_4[x & mask]; \ 211 uint8_t *dest = dst + block_start_s + sizeof(pixel_t) * (block_x_s + index); \
|
/third_party/ltp/testcases/network/stress/route/ |
H A D | route-change-netlink.c | 36 unsigned int index; member 59 n->index = if_nametoindex(item); in save_iface() 60 if (!n->index) in save_iface() 288 rtnl_route(p_iface->index, p_dst->ip, gw ? p_gw->ip : NULL, in run() 291 rtnl_route(p_iface->index, p_dst->ip, gw ? p_gw->ip : NULL, in run()
|
/third_party/lwip/src/api/ |
H A D | netifapi.c | 114 msg->msg.ifs.index = netif_name_to_index(msg->msg.ifs.name); 129 if (!netif_index_to_name(msg->msg.ifs.index, msg->msg.ifs.name, get_curr_process_net_group())) { 131 if (!netif_index_to_name(msg->msg.ifs.index, msg->msg.ifs.name)) { 331 * @param idx output index of the found netif 350 *idx = NETIFAPI_VAR_REF(msg).msg.ifs.index; 361 * @param idx the interface index of the netif 372 NETIFAPI_VAR_REF(msg).msg.ifs.index = idx;
|
/third_party/node/deps/v8/src/codegen/ |
H A D | source-position-table.cc | 19 // - code_offset: An integer index into the BytecodeArray or code. 20 // - source_position: An integer index into the source string. 90 T DecodeInt(base::Vector<const byte> bytes, int* index) { in DecodeInt() argument 96 current = bytes[(*index)++]; in DecodeInt() 108 void DecodeEntry(base::Vector<const byte> bytes, int* index, in DecodeEntry() argument 110 int tmp = DecodeInt<int>(bytes, index); in DecodeEntry() 118 entry->source_position = DecodeInt<int64_t>(bytes, index); in DecodeEntry()
|
/third_party/node/deps/v8/src/baseline/ |
H A D | baseline-assembler.h | 14 #include "src/objects/tagged-index.h" 52 inline void JumpIfRoot(Register value, RootIndex index, Label* target, 54 inline void JumpIfNotRoot(Register value, RootIndex index, Label* target, 95 inline void LoadRoot(Register output, RootIndex index); 96 inline void LoadNativeContextSlot(Register output, uint32_t index); 167 int32_t index);
|
/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()
|