/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/ |
H A D | CollationLoader.java | 31 * Convenience string denoting the Collation data tree 62 * Simpler/faster methods for ASCII than ones based on Unicode data. 87 UResourceBundle data = ((ICUResourceBundle)bundle).getWithFallback( in loadRules() 89 String rules = data.getString("Sequence"); in loadRules() 101 // For now, collation resources does not contain such data, so the code below should work fine. in loadTailoring() 140 // Fetch the collation type from the locale ID and the default type from the data. in loadTailoring() 161 UResourceBundle data = findWithFallback(collations, type); in loadTailoring() 162 if (data == null && in loadTailoring() 167 data = findWithFallback(collations, type); in loadTailoring() 170 if (data in loadTailoring() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | CompactData.java | 20 * Datatype for compact notation data. Includes logic for data loading. 80 // The last fallback should be guaranteed to return data. in populate() 82 throw new ICUException("Could not load compact decimal data for locale " + locale); in populate() 163 CompactData data; field in CompactData.CompactDataSink 165 public CompactDataSink(CompactData data) { in CompactDataSink() argument 166 this.data = data; in CompactDataSink() 178 byte multiplier = data.multipliers[magnitude]; in put() 188 if (data in put() [all...] |
/third_party/mesa3d/src/compiler/glsl/ |
H A D | ast_array_index.cpp | 54 if (idx > (int)var->data.max_array_access) { in update_max_array_access() 55 var->data.max_array_access = idx; in update_max_array_access() 125 var->data.mode == ir_var_shader_in) { in get_implicit_array_size() 133 var->data.mode == ir_var_shader_in && in get_implicit_array_size() 134 !var->data.patch) { in get_implicit_array_size() 221 v->data.max_array_access = implicit_size - 1; in _mesa_ast_array_index_to_hir() 224 array->variable_referenced()->data.mode == ir_var_shader_out && in _mesa_ast_array_index_to_hir() 225 !array->variable_referenced()->data.patch) { in _mesa_ast_array_index_to_hir() 233 else if (array->variable_referenced()->data.mode != in _mesa_ast_array_index_to_hir() 252 && ((array->variable_referenced()->data in _mesa_ast_array_index_to_hir() [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_rand.c | 72 unsigned int data; in ares_rc4_generate_key() local 83 data = ares_u32_from_ptr(rc4_state); in ares_rc4_generate_key() 84 memcpy(key + len, &data, sizeof(data)); in ares_rc4_generate_key() 85 len += sizeof(data); in ares_rc4_generate_key() 87 data = ares_u32_from_ptr(&i); in ares_rc4_generate_key() 88 memcpy(key + len, &data, sizeof(data)); in ares_rc4_generate_key() 89 len += sizeof(data); in ares_rc4_generate_key() 92 data in ares_rc4_generate_key() [all...] |
/third_party/lwip/src/core/distributed_net/ |
H A D | distributed_net_core.c | 73 tcp_connect_data data = {0}; in distributed_net_connect() local 74 (void)memset_s(&data, sizeof(data), 0, sizeof(data)); in distributed_net_connect() 75 (void)strcpy_s(data.dest_addr, sizeof(data.dest_addr), inet_ntoa(addr_in.sin_addr)); in distributed_net_connect() 76 data.dest_port = ntohs(addr_in.sin_port); in distributed_net_connect() 78 if (lwip_send(sock, &data, sizeof(data), 0) < 0) { in distributed_net_connect() 242 udp_data *data in distributed_net_recvfrom() local [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | ByteStringTest.cs | 2 // Protocol Buffers - Google's data interchange format
105 byte[] data = new byte[1];
in CopyFromByteArrayCopiesContents() 106 data[0] = 10;
in CopyFromByteArrayCopiesContents() 107 ByteString bs = ByteString.CopyFrom(data);
in CopyFromByteArrayCopiesContents() 109 data[0] = 5;
in CopyFromByteArrayCopiesContents() 117 byte[] data = bs.ToByteArray();
in ToByteArrayCopiesContents() 118 Assert.AreEqual((byte)'H', data[0]);
in ToByteArrayCopiesContents() 120 data[0] = 0;
in ToByteArrayCopiesContents() 121 Assert.AreEqual(0, data[0]);
in ToByteArrayCopiesContents() 138 byte[] data in CopyFromPortion() [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/table/truetype/ |
H A D | loca_table.cc | 68 ReadableFontData* data, in LocaTable() 71 : Table(header, data), in LocaTable() 94 LocaTable::Builder::Builder(Header* header, WritableFontData* data) in Builder() argument 95 : Table::Builder(header, data), in Builder() 100 LocaTable::Builder::Builder(Header* header, ReadableFontData* data) in Builder() argument 101 : Table::Builder(header, data), in Builder() 110 WritableFontData* data) { in CreateBuilder() 112 builder = new LocaTable::Builder(header, data); in CreateBuilder() 165 FontDataTable* LocaTable::Builder::SubBuildTable(ReadableFontData* data) { in SubBuildTable() argument 167 new LocaTable(header(), data, format_version in SubBuildTable() 67 LocaTable(Header* header, ReadableFontData* data, int32_t format_version, int32_t num_glyphs) LocaTable() argument 109 CreateBuilder(Header* header, WritableFontData* data) CreateBuilder() argument 203 Initialize(ReadableFontData* data) Initialize() argument [all...] |
/third_party/python/Lib/ |
H A D | lzma.py | 8 container formats, as well as raw compressed data streams. 45 Note that LZMAFile provides a *binary* file interface - data read 46 is returned as bytes, and data to be written must be given as bytes. 183 """Return buffered data without advancing the file position. 185 Always returns at least one byte of data, unless at EOF. 205 buffer's worth of data if size is negative. 224 def write(self, data): 228 always the length of data in bytes. Note that due to buffering, 229 the file on disk may not reflect the data written until close() 233 if isinstance(data, (byte [all...] |
H A D | bz2.py | 33 Note that BZ2File provides a *binary* file interface - data read is 34 returned as bytes, and data to be written should be given as bytes. 42 object, which will be used to read or write the compressed data. 146 """Return buffered data without advancing the file position. 148 Always returns at least one byte of data, unless at EOF. 169 buffer's worth of data if size is negative. 214 def write(self, data): 218 always the length of data in bytes. Note that due to buffering, 219 the file on disk may not reflect the data written until close() 223 if isinstance(data, (byte [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | hwcontext.c | 123 static void hwdevice_ctx_free(void *opaque, uint8_t *data) in hwdevice_ctx_free() argument 125 AVHWDeviceContext *ctx = (AVHWDeviceContext*)data; in hwdevice_ctx_free() 203 AVHWDeviceContext *ctx = (AVHWDeviceContext*)ref->data; in av_hwdevice_ctx_init() 225 static void hwframe_ctx_free(void *opaque, uint8_t *data) in hwframe_ctx_free() argument 227 AVHWFramesContext *ctx = (AVHWFramesContext*)data; in hwframe_ctx_free() 250 AVHWDeviceContext *device_ctx = (AVHWDeviceContext*)device_ref_in->data; in av_hwframe_ctx_alloc() 308 AVHWFramesContext *ctx = (AVHWFramesContext*)ref->data; in hwframe_pool_prealloc() 336 AVHWFramesContext *ctx = (AVHWFramesContext*)ref->data; in av_hwframe_ctx_init() 386 AVHWFramesContext *ctx = (AVHWFramesContext*)hwframe_ref->data; in av_hwframe_transfer_get_formats() 396 AVHWFramesContext *ctx = (AVHWFramesContext*)src->hw_frames_ctx->data; in transfer_data_alloc() 719 ff_hwframe_unmap(void *opaque, uint8_t *data) ff_hwframe_unmap() argument [all...] |
/third_party/python/Modules/ |
H A D | binascii.c | 2 ** Routines to represent binary data in ASCII and vice-versa 7 ** First char encodes (binary) length, rest data 12 ** short binary data is zero-extended (so the bits are always in the 18 ** Short binary data is filled (in ASCII) with '='. 20 ** File starts with introductory text, real data starts and ends 24 ** The binary data is run-length encoded, and then ascii-fied: 28 ** Short binary data results in the runt ascii-byte being output with 34 ** Programs that encode binary data in ASCII are written in 49 ** of the character. It also specifies some other behavior to enable 8bit data 207 data 214 binascii_a2b_uu_impl(PyObject *module, Py_buffer *data) binascii_a2b_uu_impl() argument 312 binascii_b2a_uu_impl(PyObject *module, Py_buffer *data, int backtick) binascii_b2a_uu_impl() argument 388 binascii_a2b_base64_impl(PyObject *module, Py_buffer *data, int strict_mode) binascii_a2b_base64_impl() argument 530 binascii_b2a_base64_impl(PyObject *module, Py_buffer *data, int newline) binascii_b2a_base64_impl() argument 605 binascii_crc_hqx_impl(PyObject *module, Py_buffer *data, unsigned int crc) binascii_crc_hqx_impl() argument 768 binascii_crc32_impl(PyObject *module, Py_buffer *data, unsigned int crc) binascii_crc32_impl() argument 840 binascii_b2a_hex_impl(PyObject *module, Py_buffer *data, PyObject *sep, int bytes_per_sep) binascii_b2a_hex_impl() argument 858 binascii_hexlify_impl(PyObject *module, Py_buffer *data, PyObject *sep, int bytes_per_sep) binascii_hexlify_impl() argument 961 binascii_a2b_qp_impl(PyObject *module, Py_buffer *data, int header) binascii_a2b_qp_impl() argument 1066 binascii_b2a_qp_impl(PyObject *module, Py_buffer *data, int quotetabs, int istext, int header) binascii_b2a_qp_impl() argument [all...] |
/third_party/ltp/include/lapi/ |
H A D | ioprio.h | 31 # define IOPRIO_PRIO_CLASS(data) ((data) >> IOPRIO_CLASS_SHIFT) 32 # define IOPRIO_PRIO_VALUE(class, data) (((class) << IOPRIO_CLASS_SHIFT) | data) 44 # define IOPRIO_PRIO_LEVEL(data) ((data) & IOPRIO_PRIO_MASK)
|
/third_party/node/deps/brotli/c/common/ |
H A D | dictionary.c | 5890 /* data */ 5902 void BrotliSetDictionaryData(const uint8_t* data) { in BrotliSetDictionaryData() argument 5904 if (!!data && !kBrotliDictionary.data) { in BrotliSetDictionaryData() 5905 kBrotliDictionary.data = data; in BrotliSetDictionaryData() 5908 BROTLI_UNUSED(data); // Appease -Werror=unused-parameter in BrotliSetDictionaryData()
|
/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/ |
H A D | QR8bitByte.js | 3 function QR8bitByte(data) { 5 this.data = data; 11 return this.data.length; 15 for (var i = 0; i < this.data.length; i++) { 17 buffer.put(this.data.charCodeAt(i), 8);
|
/third_party/skia/third_party/externals/brotli/c/common/ |
H A D | dictionary.c | 5890 /* data */ 5902 void BrotliSetDictionaryData(const uint8_t* data) { in BrotliSetDictionaryData() argument 5904 if (!!data && !kBrotliDictionary.data) { in BrotliSetDictionaryData() 5905 kBrotliDictionary.data = data; in BrotliSetDictionaryData() 5908 BROTLI_UNUSED(data); // Appease -Werror=unused-parameter in BrotliSetDictionaryData()
|
/third_party/icu/tools/unicode/py/ |
H A D | preparseucd.py | 18 # to ICU's source/data/unidata/ and source/test/testdata/ 128 # These are type-specific values for properties that occur in the data. 217 # Character data ----------------------------------------------------------- *** 382 # parse the remainder of the line like regular data. 460 for data in ReadUCDLines(in_file, want_ranges=False, 462 if data[0] == "comment": 463 line = data[1] 474 aliases = data[2] 491 # data for them to ppucd.txt (e.g., lccc & tccc). 492 # We add others just to represent UCD data tha [all...] |
/third_party/selinux/libsepol/cil/src/ |
H A D | cil_verify.c | 153 if ((s[i] & CIL_SYN_STRING) && c->data != NULL && c->cl_head == NULL) { in __cil_verify_syntax() 156 } else if ((s[i] & CIL_SYN_LIST) && c->data == NULL && c->cl_head != NULL) { in __cil_verify_syntax() 159 } else if ((s[i] & CIL_SYN_EMPTY_LIST) && c->data == NULL && c->cl_head == NULL) { in __cil_verify_syntax() 164 if ((s[i] & CIL_SYN_N_LISTS) && c->data == NULL && c->cl_head != NULL) { in __cil_verify_syntax() 166 } else if ((s[i] & CIL_SYN_N_STRINGS) && c->data != NULL && c->cl_head == NULL) { in __cil_verify_syntax() 211 cil_log(CIL_ERR,"Invalid operator (%s) for set expression\n", (char*)current->data); in cil_verify_expr_syntax() 217 cil_log(CIL_ERR,"Invalid operator (%s) for boolean or tunable expression\n", (char*)current->data); in cil_verify_expr_syntax() 225 cil_log(CIL_ERR,"Operator (%s) only valid for catset and permissionx expression\n", (char*)current->data); in cil_verify_expr_syntax() 237 cil_log(CIL_ERR,"Unexpected value (%s) for expression operator\n", (char*)current->data); in cil_verify_expr_syntax() 349 cil_log(CIL_ERR, "Invalid operator (%s) for constraint expression\n", (char*)current->data); in cil_verify_constraint_expr_syntax() [all...] |
/third_party/PyYAML/yaml/ |
H A D | _yaml.pyx | 373 if token.data.stream_start.encoding == YAML_UTF8_ENCODING: 376 elif token.data.stream_start.encoding == YAML_UTF16LE_ENCODING: 378 elif token.data.stream_start.encoding == YAML_UTF16BE_ENCODING: 385 (token.data.version_directive.major, 386 token.data.version_directive.minor), 389 handle = PyUnicode_FromYamlString(token.data.tag_directive.handle) 390 prefix = PyUnicode_FromYamlString(token.data.tag_directive.prefix) 420 value = PyUnicode_FromYamlString(token.data.alias.value) 423 value = PyUnicode_FromYamlString(token.data.anchor.value) 426 handle = PyUnicode_FromYamlString(token.data [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | bbox.c | 25 const type *data, int linesize, int w, int h, \ 38 if ((data[y * linesize + start_x] > min_val)) \ 47 if ((data[y * linesize + end_x] > min_val)) \ 52 line = data; \ 62 line = data + (h-1)*linesize; \ 82 const uint8_t *data, int linesize, in ff_calculate_bounding_box() 87 return bbox_8(bbox, data, linesize, w, h, min_val); in ff_calculate_bounding_box() 89 return bbox_16(bbox, (const uint16_t *)data, linesize / 2, w, h, min_val); in ff_calculate_bounding_box() 81 ff_calculate_bounding_box(FFBoundingBox *bbox, const uint8_t *data, int linesize, int w, int h, int min_val, int depth) ff_calculate_bounding_box() argument
|
/third_party/curl/lib/ |
H A D | slist.c | 61 struct curl_slist *Curl_slist_append_nodup(struct curl_slist *list, char *data) in Curl_slist_append_nodup() argument 66 DEBUGASSERT(data); in Curl_slist_append_nodup() 73 new_item->data = data; in Curl_slist_append_nodup() 92 const char *data) in curl_slist_append() 94 char *dupdata = strdup(data); in curl_slist_append() 117 tmp = curl_slist_append(outlist, inlist->data); in Curl_slist_duplicate() 142 Curl_safefree(item->data); in curl_slist_free_all() 91 curl_slist_append(struct curl_slist *list, const char *data) curl_slist_append() argument
|
H A D | cf-socket.h | 41 * used to pass / receive data to/from the fopensocket callback if this has 64 CURLcode Curl_socket_open(struct Curl_easy *data, 70 int Curl_socket_close(struct Curl_easy *data, struct connectdata *conn, 75 experience slow performance when you copy data to a TCP server. 99 * The filter will not touch any connection/data flags and can be 104 struct Curl_easy *data, 112 * The filter will not touch any connection/data flags and can be 117 struct Curl_easy *data, 125 * The filter will not touch any connection/data flags and can be 130 struct Curl_easy *data, [all...] |
/third_party/curl/lib/vauth/ |
H A D | gsasl.c | 44 bool Curl_auth_gsasl_is_supported(struct Curl_easy *data, in Curl_auth_gsasl_is_supported() argument 52 failf(data, "gsasl init: %s\n", gsasl_strerror(res)); in Curl_auth_gsasl_is_supported() 65 CURLcode Curl_auth_gsasl_start(struct Curl_easy *data, in Curl_auth_gsasl_start() argument 77 failf(data, "setting AUTHID failed: %s\n", gsasl_strerror(res)); in Curl_auth_gsasl_start() 88 failf(data, "setting PASSWORD failed: %s\n", gsasl_strerror(res)); in Curl_auth_gsasl_start() 93 (void)data; in Curl_auth_gsasl_start() 98 CURLcode Curl_auth_gsasl_token(struct Curl_easy *data, in Curl_auth_gsasl_token() argument 111 failf(data, "GSASL step: %s\n", gsasl_strerror(res)); in Curl_auth_gsasl_token()
|
H A D | vauth.c | 152 * "sensitive data" can (still) be sent to this host. 154 bool Curl_auth_allowed_to_host(struct Curl_easy *data) in Curl_auth_allowed_to_host() argument 156 struct connectdata *conn = data->conn; in Curl_auth_allowed_to_host() 157 return (!data->state.this_is_a_follow || in Curl_auth_allowed_to_host() 158 data->set.allow_auth_to_other_hosts || in Curl_auth_allowed_to_host() 159 (data->state.first_host && in Curl_auth_allowed_to_host() 160 strcasecompare(data->state.first_host, conn->host.name) && in Curl_auth_allowed_to_host() 161 (data->state.first_remote_port == conn->remote_port) && in Curl_auth_allowed_to_host() 162 (data->state.first_remote_protocol == conn->handler->protocol))); in Curl_auth_allowed_to_host()
|
/third_party/gn/src/gn/ |
H A D | file_writer_unittest.cc | 19 const std::string data = "foo"; in TEST() local 25 EXPECT_TRUE(writer.Write(data)); in TEST() 28 EXPECT_TRUE(ContentsEqual(file_path, data)); in TEST() 35 const std::string data = "Hello World!"; in TEST() local 45 EXPECT_TRUE(ContentsEqual(file_path, data)); in TEST() 56 const std::string data = "Hello World!"; in TEST() local 64 EXPECT_TRUE(writer.Write(data)); in TEST() 67 EXPECT_TRUE(ContentsEqual(file_path, data)); in TEST()
|
/third_party/libsnd/src/ |
H A D | id3.c | 41 { struct id3v1_genre_handler_userdata *data = (struct id3v1_genre_handler_userdata *) userdata ; in id3v1_genre_handler() local 42 if (data->number == number) in id3v1_genre_handler() 43 data->ret = description ; in id3v1_genre_handler() 48 { struct id3v1_genre_handler_userdata data ; in id3_lookup_v1_genre() local 50 data.number = number ; in id3_lookup_v1_genre() 51 data.ret = NULL ; in id3_lookup_v1_genre() 52 id3tag_genre_list (id3v1_genre_handler, &data) ; in id3_lookup_v1_genre() 54 return data.ret ; in id3_lookup_v1_genre()
|