Home
last modified time | relevance | path

Searched refs:bytes (Results 226 - 250 of 2603) sorted by relevance

12345678910>>...105

/third_party/curl/lib/
H A Dcurl_des.c47 * bytes [in/out] - The data whose parity bits are to be adjusted for
51 void Curl_des_set_odd_parity(unsigned char *bytes, size_t len) in Curl_des_set_odd_parity() argument
56 unsigned char b = bytes[i]; in Curl_des_set_odd_parity()
63 bytes[i] |= 0x01; in Curl_des_set_odd_parity()
65 bytes[i] &= 0xfe; in Curl_des_set_odd_parity()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
H A DRawCollationKey.java34 * // do something with key.bytes
64 bytes = new byte[capacity]; in RawCollationKey()
68 * RawCollationKey created, adopting bytes as the internal byte array.
70 * @param bytes byte array to be adopted by RawCollationKey
73 public RawCollationKey(byte[] bytes) in RawCollationKey() argument
75 this.bytes = bytes; in RawCollationKey()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DRawCollationKey.java35 * // do something with key.bytes
63 bytes = new byte[capacity]; in RawCollationKey()
67 * RawCollationKey created, adopting bytes as the internal byte array.
69 * @param bytes byte array to be adopted by RawCollationKey
71 public RawCollationKey(byte[] bytes) in RawCollationKey() argument
73 this.bytes = bytes; in RawCollationKey()
H A DSpoofChecker.java1806 private SpoofData(ByteBuffer bytes) throws java.io.IOException { in SpoofData() argument
1807 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in SpoofData()
1808 bytes.mark(); in SpoofData()
1809 readData(bytes); in SpoofData()
1838 private void readData(ByteBuffer bytes) throws java.io.IOException { in readData() argument
1839 int magic = bytes.getInt(); in readData()
1844 int dataFormatVersion = bytes.getInt(); in readData()
1846 int dataLength = bytes.getInt(); in readData()
1848 int CFUKeysOffset = bytes.getInt(); in readData()
1849 int CFUKeysSize = bytes in readData()
[all...]
/third_party/skia/modules/skottie/fuzz/
H A DFuzzSkottieJSON.cpp14 void FuzzSkottieJSON(sk_sp<SkData> bytes) { in FuzzSkottieJSON() argument
15 SkMemoryStream stream(bytes); in FuzzSkottieJSON()
26 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput() local
27 FuzzSkottieJSON(bytes); in LLVMFuzzerTestOneInput()
/third_party/skia/fuzz/oss_fuzz/
H A DFuzzSkDescriptorDeserialize.cpp11 void FuzzSkDescriptorDeserialize(sk_sp<SkData> bytes) { in FuzzSkDescriptorDeserialize() argument
13 bool ok = SkFuzzDeserializeSkDescriptor(bytes, &aDesc); in FuzzSkDescriptorDeserialize()
35 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput() local
36 FuzzSkDescriptorDeserialize(bytes); in LLVMFuzzerTestOneInput()
H A DFuzzImage.cpp14 bool FuzzImageDecode(sk_sp<SkData> bytes) { in FuzzImageDecode() argument
15 auto img = SkImage::MakeFromEncoded(bytes); in FuzzImageDecode()
36 auto bytes = SkData::MakeWithoutCopy(data, size); in LLVMFuzzerTestOneInput() local
37 FuzzImageDecode(bytes); in LLVMFuzzerTestOneInput()
/third_party/mesa3d/src/amd/compiler/
H A Daco_lower_to_hw_instr.cpp868 assert(input_data.bytes() <= 4); in emit_gfx10_wave64_bpermute()
937 assert(input.bytes() <= 4); in emit_gfx6_bpermute()
963 unsigned bytes; member
984 /* make sure the size is a power of two and reg % bytes == 0 */ in split_copy()
985 unsigned bytes = 1; in split_copy() local
986 for (; bytes <= max_size; bytes *= 2) { in split_copy()
987 unsigned next = bytes * 2u; in split_copy()
989 offset + next <= src.bytes && next <= max_size; in split_copy()
992 for (unsigned i = 0; !ignore_uses && can_increase && (i < bytes); in split_copy()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dlibvorbisenc.c183 /* How many bytes are needed for a buffer of length 'l' */
244 avctx->extradata_size = 1 + xiph_len(header.bytes) + in libvorbis_encode_init()
245 xiph_len(header_comm.bytes) + in libvorbis_encode_init()
246 header_code.bytes; in libvorbis_encode_init()
255 offset += av_xiphlacing(&p[offset], header.bytes); in libvorbis_encode_init()
256 offset += av_xiphlacing(&p[offset], header_comm.bytes); in libvorbis_encode_init()
257 memcpy(&p[offset], header.packet, header.bytes); in libvorbis_encode_init()
258 offset += header.bytes; in libvorbis_encode_init()
259 memcpy(&p[offset], header_comm.packet, header_comm.bytes); in libvorbis_encode_init()
260 offset += header_comm.bytes; in libvorbis_encode_init()
[all...]
/third_party/ffmpeg/libavcodec/x86/
H A Dvp9dsp_init.h117 #define filter_8tap_2d_fn(op, sz, f, f_opt, fname, align, bpp, bytes, opt) \
122 LOCAL_ALIGNED_##align(uint8_t, temp, [71 * 64 * bytes]); \
123 ff_vp9_put_8tap_1d_h_##sz##_##bpp##_##opt(temp, 64 * bytes, src - 3 * src_stride, \
126 ff_vp9_##op##_8tap_1d_v_##sz##_##bpp##_##opt(dst, dst_stride, temp + 3 * bytes * 64, \
127 64 * bytes, h, \
131 #define filters_8tap_2d_fn(op, sz, align, bpp, bytes, opt, f_opt) \
132 filter_8tap_2d_fn(op, sz, FILTER_8TAP_REGULAR, f_opt, regular, align, bpp, bytes, opt) \
133 filter_8tap_2d_fn(op, sz, FILTER_8TAP_SHARP, f_opt, sharp, align, bpp, bytes, opt) \
134 filter_8tap_2d_fn(op, sz, FILTER_8TAP_SMOOTH, f_opt, smooth, align, bpp, bytes, opt)
136 #define filters_8tap_2d_fn2(op, align, bpp, bytes, opt
[all...]
/third_party/python/Lib/
H A Dntpath.py36 if isinstance(path, bytes):
59 if isinstance(s, bytes):
76 if isinstance(s, bytes):
90 if isinstance(s, bytes):
109 if isinstance(path, bytes):
175 if isinstance(p, bytes):
233 if isinstance(p, bytes):
324 if isinstance(path, bytes):
347 if isinstance(target_user, bytes):
361 if isinstance(path, bytes)
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
H A Dctrl_iface_named_pipe.c89 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes,
96 static VOID WINAPI global_iface_read_completed(DWORD err, DWORD bytes,
254 static VOID WINAPI ctrl_iface_write_completed(DWORD err, DWORD bytes, in ctrl_iface_write_completed() argument
259 "err=%d bytes=%d", dst, (int) err, (int) bytes); in ctrl_iface_write_completed()
345 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes, in ctrl_iface_read_completed() argument
350 "bytes=%d", dst, (int) err, (int) bytes); in ctrl_iface_read_completed()
351 if (err == 0 && bytes > 0) in ctrl_iface_read_completed()
352 wpa_supplicant_ctrl_iface_rx(dst, bytes); in ctrl_iface_read_completed()
360 DWORD bytes; wpa_supplicant_ctrl_iface_receive() local
685 global_iface_write_completed(DWORD err, DWORD bytes, LPOVERLAPPED overlap) global_iface_write_completed() argument
761 global_iface_read_completed(DWORD err, DWORD bytes, LPOVERLAPPED overlap) global_iface_read_completed() argument
777 DWORD bytes; wpa_supplicant_global_iface_receive() local
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dctrl_iface_named_pipe.c89 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes,
96 static VOID WINAPI global_iface_read_completed(DWORD err, DWORD bytes,
254 static VOID WINAPI ctrl_iface_write_completed(DWORD err, DWORD bytes, in ctrl_iface_write_completed() argument
259 "err=%d bytes=%d", dst, (int) err, (int) bytes); in ctrl_iface_write_completed()
345 static VOID WINAPI ctrl_iface_read_completed(DWORD err, DWORD bytes, in ctrl_iface_read_completed() argument
350 "bytes=%d", dst, (int) err, (int) bytes); in ctrl_iface_read_completed()
351 if (err == 0 && bytes > 0) in ctrl_iface_read_completed()
352 wpa_supplicant_ctrl_iface_rx(dst, bytes); in ctrl_iface_read_completed()
360 DWORD bytes; wpa_supplicant_ctrl_iface_receive() local
688 global_iface_write_completed(DWORD err, DWORD bytes, LPOVERLAPPED overlap) global_iface_write_completed() argument
764 global_iface_read_completed(DWORD err, DWORD bytes, LPOVERLAPPED overlap) global_iface_read_completed() argument
780 DWORD bytes; wpa_supplicant_global_iface_receive() local
[all...]
/third_party/backends/backend/
H A Dhp3500.c116 typedef int (*rts8801_callback) (void *param, unsigned bytes, void *data);
798 * area that is at least maxlen bytes long. The number of bytes
803 * When the call succeeds, the number of bytes returned can be
804 * anywhere in the range from 0 to maxlen bytes.
817 DBG (30, "sane_read: read %ld bytes of %ld\n", in sane_read()
1236 size_t bytes; in rt_execute_commands() local
1241 bytes = command_bytes_outstanding; in rt_execute_commands()
1243 result = sanei_usb_write_bulk (udh, /* 0x02, */ command_buffer, &bytes); in rt_execute_commands()
1252 bytes in rt_execute_commands()
1282 rt_queue_command(int command, int reg, int count, int bytes, void const *data_, int readbytes, void *readdata) rt_queue_command() argument
1331 rt_send_command_immediate(int command, int reg, int count, int bytes, void *data, int readbytes, void *readdata) rt_send_command_immediate() argument
1342 rt_queue_read_register(int reg, int bytes, void *data) rt_queue_read_register() argument
1348 rt_read_register_immediate(int reg, int bytes, void *data) rt_read_register_immediate() argument
1356 rt_queue_set_register(int reg, int bytes, void *data) rt_queue_set_register() argument
1362 rt_set_register_immediate(int reg, int bytes, void *data) rt_set_register_immediate() argument
1389 rt_write_sram(int bytes, void *data_) rt_write_sram() argument
1426 rt_read_sram(int bytes, void *data_) rt_read_sram() argument
1531 rt_get_data(int bytes, void *data) rt_get_data() argument
2240 rt_nvram_read(int block, int location, unsigned char *data, int bytes) rt_nvram_read() argument
3227 accumfunc(struct dcalibdata *dcd, int bytes, char *data) accumfunc() argument
3275 storefunc(struct calibdata *cd, int bytes, char *data) storefunc() argument
3760 writefunc(struct hp3500_write_info *winfo, int bytes, char *data) writefunc() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DSpoofChecker.java1879 private SpoofData(ByteBuffer bytes) throws java.io.IOException { in SpoofData() argument
1880 ICUBinary.readHeader(bytes, DATA_FORMAT, IS_ACCEPTABLE); in SpoofData()
1881 bytes.mark(); in SpoofData()
1882 readData(bytes); in SpoofData()
1911 private void readData(ByteBuffer bytes) throws java.io.IOException { in readData() argument
1912 int magic = bytes.getInt(); in readData()
1917 int dataFormatVersion = bytes.getInt(); in readData()
1919 int dataLength = bytes.getInt(); in readData()
1921 int CFUKeysOffset = bytes.getInt(); in readData()
1922 int CFUKeysSize = bytes in readData()
[all...]
/third_party/icu/tools/multi/proj/provider/
H A Dcolldiff.cpp68 uint8_t bytes[200]; in main() local
78 int32_t len = col->getSortKey(stuff, -1, bytes, 200); in main()
106 int32_t len = ucol_getSortKey(col, stuff, -1, bytes, 200); in main()
114 if(i<oldLen&&bytes[i]!=oldBytes[i]) { in main()
120 printf("%02X", (0xFF&bytes[i])); in main()
139 if(i<len&&bytes[i]!=bytesb[i]) { in main()
164 memcpy(oldBytes, bytes, len); in main()
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Ducm.cpp23 * as well as byte sequences with more than 4 bytes or more than one complete
45 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) { in printMapping() argument
55 fprintf(f, "\\x%02X", bytes[j]); in printMapping()
161 /* compare the bytes */ in compareBytes()
182 /* Unicode then bytes */ in compareMappings()
188 /* bytes then Unicode */ in compareMappings()
211 /* sorting by bytes first sorts the reverseMap; use indirection to mappings */
256 /* 2. sort reverseMap by mappings bytes first */ in ucm_sortTable()
634 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1) in ucm_mergeTables()
668 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[ in ucm_mergeTables()
748 ucm_parseBytes(uint8_t bytes[UCNV_EXT_MAX_BYTES], const char *line, const char **ps) ucm_parseBytes() argument
785 ucm_parseMappingLine(UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES], const char *line) ucm_parseMappingLine() argument
917 ucm_addMapping(UCMTable *table, UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES]) ucm_addMapping() argument
1045 ucm_mappingType(UCMStates *baseStates, UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES]) ucm_mappingType() argument
1093 ucm_addMappingAuto(UCMFile *ucm, UBool forBase, UCMStates *baseStates, UCMapping *m, UChar32 codePoints[UCNV_EXT_MAX_UCHARS], uint8_t bytes[UCNV_EXT_MAX_BYTES]) ucm_addMappingAuto() argument
1135 uint8_t bytes[UCNV_EXT_MAX_BYTES]; ucm_addMappingFromLine() local
[all...]
/third_party/elfutils/libasm/
H A Dasm_fill.c42 asm_fill (AsmScn_t *asmscn, void *bytes, size_t len) in asm_fill() argument
51 if (bytes == NULL) in asm_fill()
62 memcpy (pattern->bytes, bytes, len); in asm_fill()
/third_party/icu/icu4c/source/python/icutools/databuilder/
H A Dcomment_stripper.py14 bytes = self.f.read(size)
15 # TODO: Do we need to read more bytes if comments were stripped
17 return "".join(self._strip_comments(bytes))
19 def _strip_comments(self, bytes):
20 for byte in bytes:
/third_party/node/deps/v8/tools/heap-stats/
H A Dhelper.js10 function formatBytes(bytes) {
14 while (index < units.length && bytes >= divisor) {
16 bytes /= divisor;
18 return bytes.toFixed(2) + units[index];
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
H A Dserializable.cc11 // Serializable - An object to be emitted as a sequence of bytes.
23 explicit PreSerialized(std::vector<uint8_t> bytes) in PreSerialized() argument
24 : bytes_(std::move(bytes)) {} in PreSerialized()
36 std::unique_ptr<Serializable> Serializable::From(std::vector<uint8_t> bytes) { in From() argument
37 return std::make_unique<PreSerialized>(std::move(bytes)); in From()
/third_party/node/deps/v8/tools/zone-stats/
H A Dhelper.js10 function formatBytes(bytes) {
14 while (index < units.length && bytes >= divisor) {
16 bytes /= divisor;
18 return bytes.toFixed(2) + units[index];
/third_party/node/benchmark/blob/
H A Dfile.js6 bytes: [128, 1024, 1024 ** 2],
15 async function run(n, bytes, operation) {
16 const buff = Buffer.allocUnsafe(bytes);
33 run(conf.n, conf.bytes, conf.operation).catch(console.log);
H A Dblob.js6 bytes: [128, 1024, 1024 ** 2],
11 async function run(n, bytes, operation) {
12 const buff = Buffer.allocUnsafe(bytes);
29 run(conf.n, conf.bytes, conf.operation).catch(console.log);
/third_party/node/deps/base64/base64/lib/arch/generic/
H A Ddec_head.c11 st.bytes = state->bytes;
20 state->bytes = 0;
27 // Turn four 6-bit numbers into three bytes:
33 switch (st.bytes)

Completed in 22 milliseconds

12345678910>>...105