| /third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
| H A D | flagparser.cpp | 29 int32_t idx, i; in parseFlagsFile() local 72 idx = extractFlag(buffer, currentBufferSize, tmpFlagBuffer, flagBufferSize, flagNames, numOfFlags, status); in parseFlagsFile() 82 if (idx >= 0) { in parseFlagsFile() 83 uprv_strcpy(flagBuffer[idx], tmpFlagBuffer); in parseFlagsFile() 118 int32_t i, idx = -1; in extractFlag() local 153 idx = i; in extractFlag() 159 return idx; in extractFlag()
|
| /third_party/skia/modules/skparagraph/src/ |
| H A D | ParagraphCache.cpp | 363 for (size_t idx = 0; idx < value->fRuns.size(); ++idx) { in SetStoredLayoutImpl() 364 if (!value->fRuns[idx].isPlaceholder()) { in SetStoredLayoutImpl() 367 value->fRuns[idx].fFontMetrics = paragraph.fRuns[idx].fFontMetrics; in SetStoredLayoutImpl() 368 value->fRuns[idx].fCorrectAscent = paragraph.fRuns[idx].fCorrectAscent; in SetStoredLayoutImpl() 369 value->fRuns[idx].fCorrectDescent = paragraph.fRuns[idx] in SetStoredLayoutImpl() [all...] |
| /third_party/alsa-utils/alsactl/ |
| H A D | init_parse.c | 272 unsigned int idx, count; in get_ctl_value() local 283 for (idx = 0; idx < count; idx++) { in get_ctl_value() 284 if (idx > 0) in get_ctl_value() 286 strlcat(res, snd_ctl_elem_value_get_boolean(space->ctl_value, idx) ? "on" : "off", sizeof(res)); in get_ctl_value() 290 for (idx = 0; idx < count; idx++) { in get_ctl_value() 291 if (idx > in get_ctl_value() 343 unsigned int idx, idx2, count, items; set_ctl_value() local 671 unsigned int idx, items; elemid_get() local [all...] |
| /third_party/ltp/tools/sparse/sparse-src/validation/optim/ |
| H A D | merge_bbe-adjust_phi.c | 3 static inline int stupid_select(int idx) in stupid_select() argument 5 if (idx) in stupid_select() 6 idx = 0; in stupid_select() 7 return array[idx]; in stupid_select()
|
| /third_party/mesa3d/src/gallium/drivers/zink/ |
| H A D | zink_descriptors.c | 218 unsigned idx = 0; in descriptor_set_invalidate() local 224 if (zds->res_objs[idx]) in descriptor_set_invalidate() 225 pop_desc_set_ref(zds, &zds->res_objs[idx]->desc_set_refs.refs); in descriptor_set_invalidate() 226 zds->res_objs[idx] = NULL; in descriptor_set_invalidate() 229 if (zds->surfaces[idx].is_buffer) { in descriptor_set_invalidate() 230 if (zds->surfaces[idx].bufferview) in descriptor_set_invalidate() 231 pop_desc_set_ref(zds, &zds->surfaces[idx].bufferview->desc_set_refs.refs); in descriptor_set_invalidate() 232 zds->surfaces[idx].bufferview = NULL; in descriptor_set_invalidate() 234 if (zds->surfaces[idx].surface) in descriptor_set_invalidate() 235 pop_desc_set_ref(zds, &zds->surfaces[idx] in descriptor_set_invalidate() 984 zink_descriptor_surface_desc_set_add(struct zink_descriptor_surface *dsurf, struct zink_descriptor_set *zds, unsigned idx) zink_descriptor_surface_desc_set_add() argument 995 zink_image_view_desc_set_add(struct zink_image_view *image_view, struct zink_descriptor_set *zds, unsigned idx, bool is_buffer) zink_image_view_desc_set_add() argument 1005 zink_sampler_state_desc_set_add(struct zink_sampler_state *sampler_state, struct zink_descriptor_set *zds, unsigned idx) zink_sampler_state_desc_set_add() argument 1015 zink_resource_desc_set_add(struct zink_resource *res, struct zink_descriptor_set *zds, unsigned idx) zink_resource_desc_set_add() argument 1263 init_write_descriptor(struct zink_shader *shader, VkDescriptorSet desc_set, enum zink_descriptor_type type, int idx, VkWriteDescriptorSet *wd, unsigned num_wds) init_write_descriptor() argument 1613 calc_descriptor_state_hash_ubo(struct zink_context *ctx, struct zink_shader *zs, enum pipe_shader_type shader, int i, int idx, uint32_t hash, bool need_offset) calc_descriptor_state_hash_ubo() argument 1629 calc_descriptor_state_hash_ssbo(struct zink_context *ctx, struct zink_shader *zs, enum pipe_shader_type shader, int i, int idx, uint32_t hash) calc_descriptor_state_hash_ssbo() argument 1650 calc_descriptor_state_hash_sampler(struct zink_context *ctx, struct zink_shader *zs, enum pipe_shader_type shader, int i, int idx, uint32_t hash) calc_descriptor_state_hash_sampler() argument 1672 calc_descriptor_state_hash_image(struct zink_context *ctx, struct zink_shader *zs, enum pipe_shader_type shader, int i, int idx, uint32_t hash) calc_descriptor_state_hash_image() argument 1694 int idx = zs->bindings[type][i].index; update_descriptor_stage_state() local 1918 type_from_bindless_index(unsigned idx) type_from_bindless_index() argument [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
| H A D | TimeZoneNamesImpl.java | 867 for (int idx = 0; idx < zoneBundle.getSize(); idx++) { in createInstance() 868 UResourceBundle mz = zoneBundle.get(idx); in createInstance() 898 int idx; in parseDate() 902 for (idx = 0; idx <= 3; idx++) { in parseDate() 903 n = text.charAt(idx) - '0'; in parseDate() 911 for (idx in parseDate() [all...] |
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
| H A D | TimeZoneNamesImpl.java | 869 for (int idx = 0; idx < zoneBundle.getSize(); idx++) { in createInstance() 870 UResourceBundle mz = zoneBundle.get(idx); in createInstance() 900 int idx; in parseDate() 904 for (idx = 0; idx <= 3; idx++) { in parseDate() 905 n = text.charAt(idx) - '0'; in parseDate() 913 for (idx in parseDate() [all...] |
| /third_party/jerryscript/jerry-ext/handle-scope/ |
| H A D | handle-scope.c | 55 for (size_t idx = 0; idx < prelist_handle_count; idx++) in jerryx_handle_scope_release_handles() 57 jerry_release_value (scope->handle_prelist[idx]); in jerryx_handle_scope_release_handles() 122 * @param idx - expected index of the handle in the scope's prelist. 126 jerryx_hand_scope_escape_handle_from_prelist (jerryx_handle_scope scope, size_t idx) in jerryx_hand_scope_escape_handle_from_prelist() argument 128 jerry_value_t jval = scope->handle_prelist[idx]; in jerryx_hand_scope_escape_handle_from_prelist() 133 scope->handle_prelist[idx] = handle->jval; in jerryx_hand_scope_escape_handle_from_prelist() 138 if (idx < JERRYX_HANDLE_PRELIST_SIZE - 1) in jerryx_hand_scope_escape_handle_from_prelist() 140 scope->handle_prelist[idx] in jerryx_hand_scope_escape_handle_from_prelist() [all...] |
| /third_party/node/deps/brotli/c/common/ |
| H A D | transform.c | 238 int idx = 0; in BrotliTransformDictionaryWord() local 244 while (prefix_len--) { dst[idx++] = *prefix++; } in BrotliTransformDictionaryWord() 257 while (i < len) { dst[idx++] = word[i++]; } in BrotliTransformDictionaryWord() 259 ToUpperCase(&dst[idx - len]); in BrotliTransformDictionaryWord() 261 uint8_t* uppercase = &dst[idx - len]; in BrotliTransformDictionaryWord() 270 Shift(&dst[idx - len], len, param); in BrotliTransformDictionaryWord() 274 uint8_t* shift = &dst[idx - len]; in BrotliTransformDictionaryWord() 284 while (suffix_len--) { dst[idx++] = *suffix++; } in BrotliTransformDictionaryWord() 285 return idx; in BrotliTransformDictionaryWord()
|
| /third_party/mesa3d/src/gallium/drivers/freedreno/ |
| H A D | freedreno_query_acc.c | 218 int idx = pidx(query_type); in fd_acc_create_query() local 220 if ((idx < 0) || !ctx->acc_sample_providers[idx]) in fd_acc_create_query() 224 ctx->acc_sample_providers[idx]); in fd_acc_create_query() 259 int idx = pidx(provider->query_type); in fd_acc_query_register_provider() local 261 assert((0 <= idx) && (idx < MAX_HW_SAMPLE_PROVIDERS)); in fd_acc_query_register_provider() 262 assert(!ctx->acc_sample_providers[idx]); in fd_acc_query_register_provider() 264 ctx->acc_sample_providers[idx] = provider; in fd_acc_query_register_provider()
|
| /third_party/skia/src/gpu/ |
| H A D | GrProcessorUnitTest.cpp | 66 int idx = fRandom->nextULessThan(numAlphaOnly); in randomAlphaOnlyView() local 68 if (GrColorTypeIsAlphaOnly(ct) && !idx--) { in randomAlphaOnlyView() 88 uint32_t idx = data->fRandom->nextULessThan(GetFactories()->count()); in Make() local 89 return MakeIdx(idx, data); in Make() 93 ProcessorSmartPtr GrProcessorTestFactory<ProcessorSmartPtr>::MakeIdx(int idx, in MakeIdx() argument 95 SkASSERT(idx < GetFactories()->count()); in MakeIdx() 96 GrProcessorTestFactory<ProcessorSmartPtr>* factory = (*GetFactories())[idx]; in MakeIdx() 118 uint32_t idx = data->fRandom->nextRangeU(0, GetFactories()->count() - 1); in Get() local 119 const GrXPFactory* xpf = (*GetFactories())[idx]->fGetProc(data); in Get()
|
| /third_party/skia/third_party/externals/brotli/c/common/ |
| H A D | transform.c | 238 int idx = 0; in BrotliTransformDictionaryWord() local 244 while (prefix_len--) { dst[idx++] = *prefix++; } in BrotliTransformDictionaryWord() 257 while (i < len) { dst[idx++] = word[i++]; } in BrotliTransformDictionaryWord() 259 ToUpperCase(&dst[idx - len]); in BrotliTransformDictionaryWord() 261 uint8_t* uppercase = &dst[idx - len]; in BrotliTransformDictionaryWord() 270 Shift(&dst[idx - len], len, param); in BrotliTransformDictionaryWord() 274 uint8_t* shift = &dst[idx - len]; in BrotliTransformDictionaryWord() 284 while (suffix_len--) { dst[idx++] = *suffix++; } in BrotliTransformDictionaryWord() 285 return idx; in BrotliTransformDictionaryWord()
|
| /third_party/python/Modules/_sqlite/ |
| H A D | row.c | 93 PyObject* pysqlite_row_item(pysqlite_Row* self, Py_ssize_t idx) in pysqlite_row_item() argument 95 PyObject *item = PyTuple_GetItem(self->data, idx); in pysqlite_row_item() 128 pysqlite_row_subscript(pysqlite_Row *self, PyObject *idx) in pysqlite_row_subscript() argument 133 if (PyLong_Check(idx)) { in pysqlite_row_subscript() 134 _idx = PyNumber_AsSsize_t(idx, PyExc_IndexError); in pysqlite_row_subscript() 142 } else if (PyUnicode_Check(idx)) { in pysqlite_row_subscript() 149 int eq = equal_ignore_case(idx, obj); in pysqlite_row_subscript() 163 else if (PySlice_Check(idx)) { in pysqlite_row_subscript() 164 return PyObject_GetItem(self->data, idx); in pysqlite_row_subscript()
|
| /third_party/lwip/src/core/ |
| H A D | dns.c | 292 static void dns_call_found(u8_t idx, ip_addr_t *addr); 778 * @param idx the DNS table entry index for which to send a request 782 dns_send(u8_t idx) in dns_send() argument 792 struct dns_table_entry *entry = &dns_table[idx]; in dns_send() 804 dns_call_found(idx, NULL); in dns_send() 996 u8_t idx; in dns_alloc_pcb() local 1013 for (i = 0, idx = (u8_t)(dns_last_pcb_idx + 1); i < DNS_MAX_SOURCE_PORTS; i++, idx++) { in dns_alloc_pcb() 1014 if (idx >= DNS_MAX_SOURCE_PORTS) { in dns_alloc_pcb() 1015 idx in dns_alloc_pcb() 1035 dns_call_found(u8_t idx, ip_addr_t *addr) dns_call_found() argument 1230 dns_correct_response(u8_t idx, u32_t ttl) dns_correct_response() argument [all...] |
| /third_party/skia/third_party/externals/libwebp/src/enc/ |
| H A D | histogram_enc.c | 654 int idx; in HistogramCombineEntropyBin() local 662 for (idx = 0; idx < num_bins; ++idx) { in HistogramCombineEntropyBin() 663 bin_info[idx].first = -1; in HistogramCombineEntropyBin() 664 bin_info[idx].num_combine_failures = 0; in HistogramCombineEntropyBin() 668 for (idx = 0; idx < *num_used; ++idx) cluster_mappings[idx] in HistogramCombineEntropyBin() 1089 int idx; HistogramRemap() local [all...] |
| /third_party/skia/third_party/externals/harfbuzz/src/ |
| H A D | hb-buffer.cc | 167 out_len + num_out > idx + num_in) in make_room_for() 184 memmove (info + idx + count, info + idx, (len - idx) * sizeof (info[0])); in shift_forward() 185 if (idx + count > len) in shift_forward() 193 memset (info + len, 0, (idx + count - len) * sizeof (info[0])); in shift_forward() 196 idx += count; in shift_forward() 244 idx = 0; in clear() 292 idx = 0; in clear_output() 314 assert (idx < in swap_buffers() [all...] |
| /third_party/elfutils/libdwfl/ |
| H A D | dwfl_module_getsrc.c | 63 size_t idx = u - (u - l) / 2; in dwfl_module_getsrc() local 64 Dwarf_Line *line = &lines->info[idx]; in dwfl_module_getsrc() 66 u = idx - 1; in dwfl_module_getsrc() 68 l = idx; in dwfl_module_getsrc() 76 return &cu->lines->idx[l]; in dwfl_module_getsrc()
|
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
| H A D | StringTokenIterator.java | 82 int idx = start; in nextDelimiter() 83 outer: while (idx < _text.length()) { in nextDelimiter() 84 char c = _text.charAt(idx); in nextDelimiter() 90 idx++; in nextDelimiter() 92 return idx; in nextDelimiter()
|
| /third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
| H A D | StringTokenIterator.java | 86 int idx = start; in nextDelimiter() 87 outer: while (idx < _text.length()) { in nextDelimiter() 88 char c = _text.charAt(idx); in nextDelimiter() 94 idx++; in nextDelimiter() 96 return idx; in nextDelimiter()
|
| /third_party/jerryscript/tests/jerry/es2015/ |
| H A D | typedarray-prototype-slice-ext-arraybuffer.js | 38 for (var idx = 0; idx < typed.length; idx++) { 39 typed[idx] = idx;
|
| /third_party/openssl/test/ |
| H A D | x509_internal_test.c | 81 static int test_a2i_ipaddress(int idx) in test_a2i_ipaddress() argument 85 int len = a2i_ipaddress_tests[idx].length; in test_a2i_ipaddress() 87 ip = a2i_IPADDRESS(a2i_ipaddress_tests[idx].ipasc); in test_a2i_ipaddress() 91 TEST_note("'%s' should not be parsed as IP address", a2i_ipaddress_tests[idx].ipasc); in test_a2i_ipaddress() 97 a2i_ipaddress_tests[idx].data, len)) { in test_a2i_ipaddress()
|
| /third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/include/openssl/ |
| H A D | pkcs7.h | 68 #define sk_PKCS7_SIGNER_INFO_value(sk, idx) ((PKCS7_SIGNER_INFO *)OPENSSL_sk_value(ossl_check_const_PKCS7_SIGNER_INFO_sk_type(sk), (idx))) 82 #define sk_PKCS7_SIGNER_INFO_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), ossl_check_PKCS7_SIGNER_INFO_type(ptr), (idx)) 83 #define sk_PKCS7_SIGNER_INFO_set(sk, idx, ptr) ((PKCS7_SIGNER_INFO *)OPENSSL_sk_set(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), (idx), ossl_check_PKCS7_SIGNER_INFO_type(ptr))) 104 #define sk_PKCS7_RECIP_INFO_value(sk, idx) ((PKCS7_RECIP_INFO *)OPENSSL_sk_value(ossl_check_const_PKCS7_RECIP_INFO_sk_type(sk), (idx))) 118 #define sk_PKCS7_RECIP_INFO_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_PKCS7_RECIP_INFO_sk_type(sk), ossl_check_PKCS7_RECIP_INFO_type(ptr), (idx)) [all...] |
| /third_party/node/deps/openssl/config/archs/linux-elf/asm/include/openssl/ |
| H A D | pkcs7.h | 68 #define sk_PKCS7_SIGNER_INFO_value(sk, idx) ((PKCS7_SIGNER_INFO *)OPENSSL_sk_value(ossl_check_const_PKCS7_SIGNER_INFO_sk_type(sk), (idx))) 82 #define sk_PKCS7_SIGNER_INFO_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), ossl_check_PKCS7_SIGNER_INFO_type(ptr), (idx)) 83 #define sk_PKCS7_SIGNER_INFO_set(sk, idx, ptr) ((PKCS7_SIGNER_INFO *)OPENSSL_sk_set(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), (idx), ossl_check_PKCS7_SIGNER_INFO_type(ptr))) 104 #define sk_PKCS7_RECIP_INFO_value(sk, idx) ((PKCS7_RECIP_INFO *)OPENSSL_sk_value(ossl_check_const_PKCS7_RECIP_INFO_sk_type(sk), (idx))) 118 #define sk_PKCS7_RECIP_INFO_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_PKCS7_RECIP_INFO_sk_type(sk), ossl_check_PKCS7_RECIP_INFO_type(ptr), (idx)) [all...] |
| /third_party/node/deps/openssl/config/archs/darwin64-arm64-cc/asm/include/openssl/ |
| H A D | pkcs7.h | 68 #define sk_PKCS7_SIGNER_INFO_value(sk, idx) ((PKCS7_SIGNER_INFO *)OPENSSL_sk_value(ossl_check_const_PKCS7_SIGNER_INFO_sk_type(sk), (idx))) 82 #define sk_PKCS7_SIGNER_INFO_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), ossl_check_PKCS7_SIGNER_INFO_type(ptr), (idx)) 83 #define sk_PKCS7_SIGNER_INFO_set(sk, idx, ptr) ((PKCS7_SIGNER_INFO *)OPENSSL_sk_set(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), (idx), ossl_check_PKCS7_SIGNER_INFO_type(ptr))) 104 #define sk_PKCS7_RECIP_INFO_value(sk, idx) ((PKCS7_RECIP_INFO *)OPENSSL_sk_value(ossl_check_const_PKCS7_RECIP_INFO_sk_type(sk), (idx))) 118 #define sk_PKCS7_RECIP_INFO_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_PKCS7_RECIP_INFO_sk_type(sk), ossl_check_PKCS7_RECIP_INFO_type(ptr), (idx)) [all...] |
| /third_party/node/deps/openssl/config/archs/linux-aarch64/asm/include/openssl/ |
| H A D | pkcs7.h | 68 #define sk_PKCS7_SIGNER_INFO_value(sk, idx) ((PKCS7_SIGNER_INFO *)OPENSSL_sk_value(ossl_check_const_PKCS7_SIGNER_INFO_sk_type(sk), (idx))) 82 #define sk_PKCS7_SIGNER_INFO_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), ossl_check_PKCS7_SIGNER_INFO_type(ptr), (idx)) 83 #define sk_PKCS7_SIGNER_INFO_set(sk, idx, ptr) ((PKCS7_SIGNER_INFO *)OPENSSL_sk_set(ossl_check_PKCS7_SIGNER_INFO_sk_type(sk), (idx), ossl_check_PKCS7_SIGNER_INFO_type(ptr))) 104 #define sk_PKCS7_RECIP_INFO_value(sk, idx) ((PKCS7_RECIP_INFO *)OPENSSL_sk_value(ossl_check_const_PKCS7_RECIP_INFO_sk_type(sk), (idx))) 118 #define sk_PKCS7_RECIP_INFO_insert(sk, ptr, idx) OPENSSL_sk_insert(ossl_check_PKCS7_RECIP_INFO_sk_type(sk), ossl_check_PKCS7_RECIP_INFO_type(ptr), (idx)) [all...] |