/third_party/ffmpeg/tools/ |
H A D | target_dec_fuzzer.c | 63 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size); 129 frame->extended_data = frame->data; in fuzz_video_get_buffer() 134 frame->data[i] = frame->buf[i]->data; in fuzz_video_get_buffer() 137 frame->data[i] = NULL; in fuzz_video_get_buffer() 161 int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { in LLVMFuzzerTestOneInput() argument 168 const uint8_t *last = data; in LLVMFuzzerTestOneInput() 169 const uint8_t *end = data + size; in LLVMFuzzerTestOneInput() 325 bytestream2_init(&gbc, data + size, 1024); in LLVMFuzzerTestOneInput() 418 memcpy(ctx->extradata, data in LLVMFuzzerTestOneInput() [all...] |
/third_party/ffmpeg/tests/ |
H A D | Makefile | 16 AREF = tests/data/asynth1.sw 26 FATE_OUTDIRS = tests/data tests/data/fate tests/data/filtergraphs tests/data/lavf tests/data/lavf-fate tests/data/pixfmt tests/vsynth1 $(APITESTSDIR) 32 $(AREF): tests/audiogen$(HOSTEXESUF) | tests/data 35 tests/data/asynth-%.wav: tests/audiogen$(HOSTEXESUF) | tests/data [all...] |
/third_party/curl/lib/ |
H A D | md4.c | 101 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) in MD4_Update() argument 103 md4_update(ctx, size, data); in MD4_Update() 123 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) in MD4_Update() argument 125 (void)CC_MD4_Update(ctx, data, (CC_LONG)size); in MD4_Update() 159 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) in MD4_Update() argument 161 CryptHashData(ctx->hHash, (BYTE *)data, (unsigned int) size, 0); in MD4_Update() 182 void *data; member 189 ctx->data = NULL; in MD4_Init() 194 static void MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) in MD4_Update() argument 196 if(!ctx->data) { in MD4_Update() 317 body(MD4_CTX *ctx, const void *data, unsigned long size) body() argument 419 MD4_Update(MD4_CTX *ctx, const void *data, unsigned long size) MD4_Update() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ucptrie.cpp | 23 const void *data, int32_t length, int32_t *pActualLength, in ucptrie_openFromBinary() 29 if (length <= 0 || (U_POINTER_MASK_LSB(data, 3) != 0) || in ucptrie_openFromBinary() 36 // Enough data for a trie header? in ucptrie_openFromBinary() 43 const UCPTrieHeader *header = (const UCPTrieHeader *)data; in ucptrie_openFromBinary() 110 // Set the pointers to its index and data arrays. in ucptrie_openFromBinary() 115 // Get the data. in ucptrie_openFromBinary() 122 trie->data.ptr16 = p16; in ucptrie_openFromBinary() 123 trie->nullValue = trie->data.ptr16[nullValueOffset]; in ucptrie_openFromBinary() 126 trie->data.ptr32 = (const uint32_t *)p16; in ucptrie_openFromBinary() 127 trie->nullValue = trie->data in ucptrie_openFromBinary() 22 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth, const void *data, int32_t length, int32_t *pActualLength, UErrorCode *pErrorCode) ucptrie_openFromBinary() argument 216 getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) getValue() argument 470 ucptrie_toBinary(const UCPTrie *trie, void *data, int32_t capacity, UErrorCode *pErrorCode) ucptrie_toBinary() argument [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucptrie.cpp | 23 const void *data, int32_t length, int32_t *pActualLength, in ucptrie_openFromBinary() 29 if (length <= 0 || (U_POINTER_MASK_LSB(data, 3) != 0) || in ucptrie_openFromBinary() 36 // Enough data for a trie header? in ucptrie_openFromBinary() 43 const UCPTrieHeader *header = (const UCPTrieHeader *)data; in ucptrie_openFromBinary() 110 // Set the pointers to its index and data arrays. in ucptrie_openFromBinary() 115 // Get the data. in ucptrie_openFromBinary() 122 trie->data.ptr16 = p16; in ucptrie_openFromBinary() 123 trie->nullValue = trie->data.ptr16[nullValueOffset]; in ucptrie_openFromBinary() 126 trie->data.ptr32 = (const uint32_t *)p16; in ucptrie_openFromBinary() 127 trie->nullValue = trie->data in ucptrie_openFromBinary() 22 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth, const void *data, int32_t length, int32_t *pActualLength, UErrorCode *pErrorCode) ucptrie_openFromBinary() argument 216 getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) getValue() argument 470 ucptrie_toBinary(const UCPTrie *trie, void *data, int32_t capacity, UErrorCode *pErrorCode) ucptrie_toBinary() argument [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucptrie.cpp | 23 const void *data, int32_t length, int32_t *pActualLength, in ucptrie_openFromBinary() 29 if (length <= 0 || (U_POINTER_MASK_LSB(data, 3) != 0) || in ucptrie_openFromBinary() 36 // Enough data for a trie header? in ucptrie_openFromBinary() 43 const UCPTrieHeader *header = (const UCPTrieHeader *)data; in ucptrie_openFromBinary() 110 // Set the pointers to its index and data arrays. in ucptrie_openFromBinary() 115 // Get the data. in ucptrie_openFromBinary() 122 trie->data.ptr16 = p16; in ucptrie_openFromBinary() 123 trie->nullValue = trie->data.ptr16[nullValueOffset]; in ucptrie_openFromBinary() 126 trie->data.ptr32 = (const uint32_t *)p16; in ucptrie_openFromBinary() 127 trie->nullValue = trie->data in ucptrie_openFromBinary() 22 ucptrie_openFromBinary(UCPTrieType type, UCPTrieValueWidth valueWidth, const void *data, int32_t length, int32_t *pActualLength, UErrorCode *pErrorCode) ucptrie_openFromBinary() argument 216 getValue(UCPTrieData data, UCPTrieValueWidth valueWidth, int32_t dataIndex) getValue() argument 470 ucptrie_toBinary(const UCPTrie *trie, void *data, int32_t capacity, UErrorCode *pErrorCode) ucptrie_toBinary() argument [all...] |
/test/xts/acts/distributeddatamgr/UDMFtest/UDMFndktestHvigor/entry/src/main/cpp/ |
H A D | udmf_ndk_test.cpp | 380 OH_UdmfData *data = OH_UdmfData_Create();
in OH_Udmf_CreatePropertiesFromUnifiedData001() local 381 OH_UdmfProperty *properties = OH_UdmfProperty_Create(data);
in OH_Udmf_CreatePropertiesFromUnifiedData001() 386 OH_UdmfData_Destroy(data);
in OH_Udmf_CreatePropertiesFromUnifiedData001() 393 OH_UdmfData *data = OH_UdmfData_Create();
in OH_Udmf_SetPropertiesTag001() local 394 OH_UdmfProperty *properties = OH_UdmfProperty_Create(data);
in OH_Udmf_SetPropertiesTag001() 399 OH_UdmfData_Destroy(data);
in OH_Udmf_SetPropertiesTag001() 406 OH_UdmfData *data = OH_UdmfData_Create();
in OH_Udmf_GetPropertiesTag001() local 407 OH_UdmfProperty *properties = OH_UdmfProperty_Create(data);
in OH_Udmf_GetPropertiesTag001() 415 OH_UdmfData_Destroy(data);
in OH_Udmf_GetPropertiesTag001() 422 OH_UdmfData *data in OH_Udmf_SetPropertiesShareOption001() local 435 OH_UdmfData *data = OH_UdmfData_Create(); OH_Udmf_GetPropertiesShareOption001() local 449 OH_UdmfData *data = OH_UdmfData_Create(); OH_Udmf_SetPropertiesShareOption002() local 462 OH_UdmfData *data = OH_UdmfData_Create(); OH_Udmf_GetPropertiesShareOption002() local 476 OH_UdmfData *data = OH_UdmfData_Create(); OH_Udmf_SetPropertiesShareOption003() local 489 OH_UdmfData *data = OH_UdmfData_Create(); OH_Udmf_SetPropertiesExtrasIntParam001() local 502 OH_UdmfData *data = OH_UdmfData_Create(); OH_Udmf_GetPropertiesExtrasIntParam001() local 516 OH_UdmfData *data = OH_UdmfData_Create(); OH_Udmf_SetPropertiesExtrasStringParam001() local 529 OH_UdmfData *data = OH_UdmfData_Create(); OH_Udmf_GetPropertiesExtrasStringParam001() local [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/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/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...] |
/test/testfwk/xdevice/src/xdevice/_core/context/ |
H A D | life_stage.py | 46 data = self._covert_data() 47 data.update({"type": self._event_type}) 48 return data 67 data = { 72 return data 102 data = { 111 return data 149 data = { 155 return data 171 data [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | asfcrypt.c | 105 * @param data data to encrypt 106 * @return encrypted data 109 uint64_t key, uint64_t data) in multiswap_enc() 111 uint32_t a = data; in multiswap_enc() 112 uint32_t b = data >> 32; in multiswap_enc() 129 * @param data data to decrypt 130 * @return decrypted data 133 uint64_t key, uint64_t data) in multiswap_dec() 108 multiswap_enc(const uint32_t keys[12], uint64_t key, uint64_t data) multiswap_enc() argument 132 multiswap_dec(const uint32_t keys[12], uint64_t key, uint64_t data) multiswap_dec() argument 148 ff_asfcrypt_dec(const uint8_t key[20], uint8_t *data, int len) ff_asfcrypt_dec() argument [all...] |
/third_party/curl/lib/vauth/ |
H A D | krb5_gssapi.c | 67 * data [in] - The session handle. 75 * krb5 [in/out] - The Kerberos 5 data struct being used and modified. 80 CURLcode Curl_auth_create_gssapi_user_message(struct Curl_easy *data, in Curl_auth_create_gssapi_user_message() argument 115 Curl_gss_log_error(data, "gss_import_name() failed: ", in Curl_auth_create_gssapi_user_message() 128 infof(data, "GSSAPI handshake failure (empty challenge message)"); in Curl_auth_create_gssapi_user_message() 135 major_status = Curl_gss_init_sec_context(data, in Curl_auth_create_gssapi_user_message() 150 Curl_gss_log_error(data, "gss_init_sec_context() failed: ", in Curl_auth_create_gssapi_user_message() 174 * data [in] - The session handle. 177 * krb5 [in/out] - The Kerberos 5 data struct being used and modified. 182 CURLcode Curl_auth_create_gssapi_security_message(struct Curl_easy *data, in Curl_auth_create_gssapi_security_message() argument [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/ |
H A D | CldrDataProcessorTest.java | 103 (map, data) -> map.put(data.key, data)); in createTestVisitor() 106 (data, value) -> data.name = value.getValue()); in createTestVisitor() 109 (data, value) -> data.symbol = value.getValue()); in createTestVisitor() 116 CldrData data = CldrDataSupplier.forValues(Arrays.asList( in testTwoLevelProcessing() 121 State state = VISITOR.process(data, new State(), CldrData.PathOrder.DTD); in testTwoLevelProcessing() 133 CldrData data in testThreeLevelProcessing() [all...] |
/third_party/lzma/CPP/7zip/Crypto/ |
H A D | MyAes.cpp | 41 Z7_COM7F_IMF2(UInt32, CAesCoder::Filter(Byte *data, UInt32 size))
in Z7_COM7F_IMF2() argument 52 // (data) must be aligned for 16-bytes here
in Z7_COM7F_IMF2() 53 _codeFunc(Aes(), data, size);
in Z7_COM7F_IMF2() local 58 Z7_COM7F_IMF(CAesCoder::SetKey(const Byte *data, UInt32 size))
in SetKey() argument 64 _setKeyFunc(Aes() + 4, data, size);
in SetKey() 69 Z7_COM7F_IMF(CAesCoder::SetInitVector(const Byte *data, UInt32 size))
in SetInitVector() argument 73 memcpy(_iv, data, size);
in SetInitVector() 91 Z7_COM7F_IMF2(UInt32, CAesCtrCoder::Filter(Byte *data, UInt32 size))
in Z7_COM7F_IMF2() argument 110 data[num++] ^= ctr[i];
in Z7_COM7F_IMF2() 114 we can filter more data wit in Z7_COM7F_IMF2() 146 _codeFunc(Aes(), data, size); Z7_COM7F_IMF2() local [all...] |
/third_party/node/deps/v8/third_party/zlib/google/ |
H A D | compression_utils.cc | 28 bit_cast<const Bytef*>(input.data()), in GzipCompress() 57 bit_cast<const Bytef*>(input.data()), in GzipCompress() 84 bit_cast<Bytef*>(uncompressed_output.data()), &uncompressed_size, in GzipUncompress() 85 bit_cast<const Bytef*>(input.data()), in GzipUncompress() 104 bit_cast<Bytef*>(output.data()), &uncompressed_size, in GzipUncompress() 105 bit_cast<const Bytef*>(input.data()), in GzipUncompress() 114 // Disallow in-place usage, i.e., |input| using |*output| as underlying data. in GzipUncompress() 115 DCHECK_NE(reinterpret_cast<const char*>(input.data()), output->data()); in GzipUncompress() 119 bit_cast<Bytef*>(output->data()), in GzipUncompress() [all...] |
/third_party/ltp/testcases/open_posix_testsuite/stress/semaphores/ |
H A D | multi_con_pro.c | 8 * This is a test about multiple producers and consumers. Producers send data 9 * to a buffer. Consumers keeps reading data from the buffer. 42 int data; in producer() local 62 data = 100 * ThreadID + i; in producer() 63 buf->buffer[in] = data; in producer() 65 ThreadID, data, in); in producer() 89 data = -1; in producer() 90 buf->buffer[in] = data; in producer() 92 data, in); in producer() 108 int data; in consumer() local [all...] |
/third_party/node/deps/v8/src/handles/ |
H A D | persistent-handles.cc | 136 HandleScopeData* data = impl_->isolate()->handle_scope_data(); in PersistentHandlesScope() local 143 DCHECK(data->limit == &impl_->blocks()->back()[kHandleBlockSize]); in PersistentHandlesScope() 147 prev_level_ = data->level; in PersistentHandlesScope() 149 data->level++; in PersistentHandlesScope() 150 prev_limit_ = data->limit; in PersistentHandlesScope() 151 prev_next_ = data->next; in PersistentHandlesScope() 152 data->next = new_next; in PersistentHandlesScope() 153 data->limit = new_limit; in PersistentHandlesScope() 164 HandleScopeData* data = impl_->isolate()->handle_scope_data(); in Detach() local 165 data in Detach() [all...] |
/third_party/qrcodegen/java/src/main/java/io/nayuki/qrcodegen/ |
H A D | QrSegment.java | 34 * A segment of character/binary/control data in a QR Code symbol. 36 * <p>The mid-level way to create a segment is to take the payload data and call a 41 * Even in the most favorable conditions, a QR Code can only hold 7089 characters of data. 51 * Returns a segment representing the specified binary data 55 * @param data the binary data (not {@code null}) 56 * @return a segment (not {@code null}) containing the data 59 public static QrSegment makeBytes(byte[] data) { in makeBytes() argument 60 Objects.requireNonNull(data); in makeBytes() 62 for (byte b : data) in makeBytes() 204 final BitBuffer data; global() field in QrSegment 219 QrSegment(Mode md, int numCh, BitBuffer data) QrSegment() argument [all...] |
/third_party/python/Tools/peg_generator/ |
H A D | Makefile | 15 TESTFILE = data/cprog.py 16 TIMEFILE = data/xxl.py 20 data/xxl.py: 21 $(PYTHON) -m zipfile -e data/xxl.zip data 30 -rm -f data/xxl.py 66 stats: peg_extension/parse.c data/xxl.py 67 $(PYTHON) -c "from peg_extension import parse; t = parse.parse_file('$(TIMEFILE)', mode=0); parse.dump_memo_stats()" >@data 68 $(PYTHON) scripts/joinstats.py @data 72 time_compile: venv data/xx [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-sine.c | 123 pa_sink_input_new_data data; in pa__init() local 158 pa_sink_input_new_data_init(&data); in pa__init() 159 data.driver = __FILE__; in pa__init() 160 data.module = m; in pa__init() 161 pa_sink_input_new_data_set_sink(&data, sink, false, true); in pa__init() 162 pa_proplist_setf(data.proplist, PA_PROP_MEDIA_NAME, "%u Hz Sine", frequency); in pa__init() 163 pa_proplist_sets(data.proplist, PA_PROP_MEDIA_ROLE, "abstract"); in pa__init() 164 pa_proplist_setf(data.proplist, "sine.hz", "%u", frequency); in pa__init() 165 pa_sink_input_new_data_set_sample_spec(&data, &ss); in pa__init() 167 pa_sink_input_new(&u->sink_input, m->core, &data); in pa__init() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | RobustClientMemoryTest.cpp | 75 resultBuf.data()); in TEST_P() 82 static_cast<GLsizei>(resultBuf.size()), &length, resultBuf.data()); in TEST_P() 119 rgbaData.data()); in TEST_P() 124 rgbaData.data()); in TEST_P() 127 // Test with a data size that is too small in TEST_P() 130 rgbaData.data()); in TEST_P() 135 rgbaData.data()); in TEST_P() 144 rgbaData.data()); in TEST_P() 169 rgbaData.data()); in TEST_P() 178 &length, &width, &height, rgbaData.data()); in TEST_P() [all...] |
/third_party/skia/src/codec/ |
H A D | SkWbmpCodec.cpp | 40 static bool read_byte(SkStream* stream, uint8_t* data) in read_byte() argument 42 return stream->read(data, 1) == 1; in read_byte() 48 uint8_t data; in read_mbf() local 55 if (stream->read(&data, 1) != 1) { in read_mbf() 58 n = (n << 7) | (data & 0x7F); in read_mbf() 59 } while (data & 0x80); in read_mbf() 66 uint8_t data; in read_header() local 67 if (!read_byte(stream, &data) || data != 0) { // unknown type in read_header() 70 if (!read_byte(stream, &data) || (dat in read_header() [all...] |