/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_visitor.cpp | 535 src_reg bytes(u); in emit_pack_unorm_4x8() 536 emit(VEC4_OPCODE_PACK_BYTES, dst, bytes); in emit_pack_unorm_4x8() 557 src_reg bytes(i); in emit_pack_snorm_4x8() 558 emit(VEC4_OPCODE_PACK_BYTES, dst, bytes); in emit_pack_snorm_4x8() 1084 /* A vec4 is 16 bytes and a dvec4 is 32 bytes so for doubles we have in get_scratch_offset() 1086 * is in units of 16 bytes and is used to select the low/high 16-byte in get_scratch_offset()
|
/third_party/python/Lib/test/ |
H A D | test_audioop.py | 312 encoded = bytes(range(256)) 340 encoded = bytes(range(127)) + bytes(range(128, 256)) 510 audioop.findmax, bytes(range(256)), -2392392)
|
H A D | test_gzip.py | 59 b_data = bytes(data) 93 # the corresponding bytes-like object type as input 94 # and that the data written equals bytes(xy) in all cases. 97 m = memoryview(bytes(range(256))) 108 # Test that non-bytes-like types raise TypeError. 540 self.assertEqual(type(datac), bytes) 550 self.assertEqual(type(datac), bytes) 584 # Drop the CRC (4 bytes) and file size (4 bytes).
|
H A D | test_float.py | 91 # Check that we handle bytes values correctly. 98 class CustomBytes(bytes): pass 102 bytes, 633 LE_DOUBLE_INF = bytes(reversed(BE_DOUBLE_INF)) 635 LE_DOUBLE_NAN = bytes(reversed(BE_DOUBLE_NAN)) 638 LE_FLOAT_INF = bytes(reversed(BE_FLOAT_INF)) 640 LE_FLOAT_NAN = bytes(reversed(BE_FLOAT_NAN))
|
H A D | test_collections.py | 912 int, list, object, type, bytes() 968 samples = [bytes(), str(), 1007 samples = [bytes(), str(), tuple(), list(), OrderedDict(), 1065 samples = [set(), frozenset(), dict(), bytes(), str(), tuple(), 1145 samples = [iter(bytes()), iter(str()), 1325 samples = [bytes(), str(), 1343 samples = [bytes(), str(), 1887 for sample in [tuple, list, bytes, str]: 1934 for sample in [bytes, bytearray]: 1945 for sample in [tuple, str, bytes] [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
H A D | VkFormat.cpp | 664 // 16 - bit, Block size 2 bytes, 1 texel / block in compatibleFormat() 692 // 32 - bit, Block size 4 bytes, 1 texel / block in compatibleFormat() 742 // 48 - bit, Block size 6 bytes, 1 texel / block in compatibleFormat() 752 // 64 - bit, Block size 8 bytes, 1 texel / block in compatibleFormat() 768 // 96 - bit, Block size 12 bytes, 1 texel / block in compatibleFormat() 774 // 128 - bit, Block size 16 bytes, 1 texel / block in compatibleFormat() 783 // 192 - bit, Block size 24 bytes, 1 texel / block in compatibleFormat() 789 // 256 - bit, Block size 32 bytes, 1 texel / block in compatibleFormat() 795 // BC1_RGB(64 bit), Block size 8 bytes, 16 texels / block in compatibleFormat() 800 // BC1_RGBA(64 bit), Block size 8 bytes, 1 in compatibleFormat() 1532 size_t Format::bytes() const bytes() function in vk::Format [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/simd/x86_64/ |
H A D | jchuff-sse2.asm | 115 ; This macro encodes any 0xFF bytes as 0xFF 0x00, as does the EMIT_BYTE() 135 ; code contains any 0xFF bytes) 138 test code, code ; if (code == 0) /* No 0xFF bytes */ 141 ; bytes in the qword.
|
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | FieldSet.java | 509 byte[] bytes = (byte[]) value; in cloneIfMutable() 510 byte[] copy = new byte[bytes.length]; in cloneIfMutable() 511 System.arraycopy(bytes, 0, copy, 0, bytes.length); in cloneIfMutable() 801 * Compute the number of bytes that would be needed to encode a single tag/value pair of arbitrary 821 * Compute the number of bytes that would be needed to encode a particular value of arbitrary 891 /** Compute the number of bytes needed to encode a particular field. */
|
/third_party/python/Lib/ |
H A D | imaplib.py | 317 """Read 'size' bytes from remote.""" 325 raise self.error("got more than %d bytes" % _MAXLINE) 432 response argument it is passed will be a bytes. It should return bytes 982 name = bytes(name, self._encoding) 987 arg = bytes(arg, self._encoding) 997 data = data + bytes(' {%s}' % len(literal), self._encoding) 1214 tag = self.tagpre + bytes(str(self.tagnum), self._encoding) 1375 """Read 'size' bytes from remote."""
|
/third_party/rust/crates/regex/regex-syntax/src/hir/ |
H A D | mod.rs | 192 /// characters, or it can use bytes. 556 /// If `bytes` is `true`, then this assumes characters are limited to a 558 pub fn dot(bytes: bool) -> Hir { in dot() 559 if bytes { in dot() 578 /// If `bytes` is `true`, then this assumes characters are limited to a 580 pub fn any(bytes: bool) -> Hir { in any() 581 if bytes { in any() 770 /// by default, while bytes are used when Unicode mode (via the `u` flag) is 786 /// A set of characters represented by arbitrary bytes (one byte per 947 /// nothing or only ASCII bytes [all...] |
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationTest.java | 187 byte[] bytes = key.toByteArray(); in prettify() 188 return prettify(bytes, bytes.length); in prettify() 192 return prettify(key.bytes, key.size); in prettify() 606 // Non-compressible primaries use 254 second bytes 02..FF. in TestCollationWeights() 627 // Compressible primaries use 251 second bytes 04..FE. in TestCollationWeights() 640 // Secondary and tertiary weights use only bytes 3 & 4. in TestCollationWeights() 665 // No leading zero bytes. in isValidCE() 669 // No intermediate zero bytes. in isValidCE() 676 // Minimum & maximum lead bytes in isValidCE() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | CollationTest.java | 190 byte[] bytes = key.toByteArray(); in prettify() 191 return prettify(bytes, bytes.length); in prettify() 195 return prettify(key.bytes, key.size); in prettify() 609 // Non-compressible primaries use 254 second bytes 02..FF. in TestCollationWeights() 630 // Compressible primaries use 251 second bytes 04..FE. in TestCollationWeights() 643 // Secondary and tertiary weights use only bytes 3 & 4. in TestCollationWeights() 668 // No leading zero bytes. in isValidCE() 672 // No intermediate zero bytes. in isValidCE() 679 // Minimum & maximum lead bytes in isValidCE() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | rulebasedcollator.cpp | 69 virtual void AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length) override; 76 FixedSortKeyByteSink::AppendBeyondCapacity(const char *bytes, int32_t /*n*/, int32_t length) { in AppendBeyondCapacity() argument 77 // buffer_ != NULL && bytes != NULL && n > 0 && appended_ > capacity_ in AppendBeyondCapacity() 81 uprv_memcpy(buffer_ + length, bytes, available); in AppendBeyondCapacity() 101 virtual void AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length) override; 110 CollationKeyByteSink::AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length) { in AppendBeyondCapacity() argument 111 // buffer_ != NULL && bytes != NULL && n > 0 && appended_ > capacity_ in AppendBeyondCapacity() 113 uprv_memcpy(buffer_ + length, bytes, n); in AppendBeyondCapacity() 1389 * records the level and the number of bytes that will be written until 1393 * and ignores as many bytes a [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | rulebasedcollator.cpp | 71 virtual void AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length) override; 78 FixedSortKeyByteSink::AppendBeyondCapacity(const char *bytes, int32_t /*n*/, int32_t length) { in AppendBeyondCapacity() argument 79 // buffer_ != nullptr && bytes != nullptr && n > 0 && appended_ > capacity_ in AppendBeyondCapacity() 83 uprv_memcpy(buffer_ + length, bytes, available); in AppendBeyondCapacity() 103 virtual void AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length) override; 112 CollationKeyByteSink::AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length) { in AppendBeyondCapacity() argument 113 // buffer_ != nullptr && bytes != nullptr && n > 0 && appended_ > capacity_ in AppendBeyondCapacity() 115 uprv_memcpy(buffer_ + length, bytes, n); in AppendBeyondCapacity() 1391 * records the level and the number of bytes that will be written until 1395 * and ignores as many bytes a [all...] |
/third_party/node/deps/v8/src/codegen/mips64/ |
H A D | macro-assembler-mips64.h | 105 void AllocateStackSpace(Register bytes) { Dsubu(sp, sp, bytes); } in AllocateStackSpace() argument 107 void AllocateStackSpace(int bytes) { in AllocateStackSpace() argument 108 DCHECK_GE(bytes, 0); in AllocateStackSpace() 109 if (bytes == 0) return; in AllocateStackSpace() 110 Dsubu(sp, sp, Operand(bytes)); in AllocateStackSpace() 376 // Calculate how much stack space (in bytes) are required to store caller 383 // Push caller saved registers on the stack, and return the number of bytes 389 // bytes stack pointer is adjusted. 1252 // Ensure that dd-ed labels following this instruction use 8 bytes aligne in GenerateSwitchTable() [all...] |
/third_party/node/deps/v8/src/codegen/mips/ |
H A D | macro-assembler-mips.h | 85 void AllocateStackSpace(Register bytes) { Subu(sp, sp, bytes); } in AllocateStackSpace() argument 86 void AllocateStackSpace(int bytes) { in AllocateStackSpace() argument 87 DCHECK_GE(bytes, 0); in AllocateStackSpace() 88 if (bytes == 0) return; in AllocateStackSpace() 89 Subu(sp, sp, Operand(bytes)); in AllocateStackSpace() 355 // Calculate how much stack space (in bytes) are required to store caller 362 // Push caller saved registers on the stack, and return the number of bytes 368 // bytes stack pointer is adjusted.
|
/third_party/node/deps/v8/src/codegen/riscv64/ |
H A D | macro-assembler-riscv64.h | 163 void AllocateStackSpace(Register bytes) { Sub64(sp, sp, bytes); } in AllocateStackSpace() argument 165 void AllocateStackSpace(int bytes) { in AllocateStackSpace() argument 166 DCHECK_GE(bytes, 0); in AllocateStackSpace() 167 if (bytes == 0) return; in AllocateStackSpace() 168 Sub64(sp, sp, Operand(bytes)); in AllocateStackSpace() 363 // Calculate how much stack space (in bytes) are required to store caller 370 // Push caller saved registers on the stack, and return the number of bytes 376 // bytes stack pointer is adjusted. 1333 // Ensure that dd-ed labels following this instruction use 8 bytes aligne in GenerateSwitchTable() [all...] |
/third_party/node/deps/v8/src/codegen/ppc/ |
H A D | macro-assembler-ppc.h | 104 void AllocateStackSpace(int bytes) { in AllocateStackSpace() argument 105 DCHECK_GE(bytes, 0); in AllocateStackSpace() 106 if (bytes == 0) return; in AllocateStackSpace() 107 AddS64(sp, sp, Operand(-bytes), r0); in AllocateStackSpace() 110 void AllocateStackSpace(Register bytes) { sub(sp, sp, bytes); } in AllocateStackSpace() argument 572 // Calculate how much stack space (in bytes) are required to store caller 579 // Push caller saved registers on the stack, and return the number of bytes 585 // bytes stack pointer is adjusted.
|
/third_party/node/deps/uv/src/win/ |
H A D | pipe.c | 1154 DWORD bytes; in uv_pipe_zero_readfile_thread_proc() local 1191 if (!ReadFile(handle->handle, &uv_zero_, 0, &bytes, NULL)) in uv_pipe_zero_readfile_thread_proc() 1222 DWORD bytes; in uv_pipe_writefile_thread_proc() local 1234 &bytes, in uv_pipe_writefile_thread_proc() 1534 DWORD bytes; in uv__pipe_write_data() local 1536 WriteFile(handle->handle, write_buf.base, write_buf.len, &bytes, NULL); in uv__pipe_write_data() 1820 /* Read an exact number of bytes from a pipe. If an error or end-of-file is 1821 * encountered before the requested number of bytes are read, an error is 1936 return sizeof frame_header; /* Number of bytes read. */ in uv__pipe_read_ipc() 1946 /* Return number of bytes rea in uv__pipe_read_ipc() [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/simd/i386/ |
H A D | jchuff-sse2.asm | 132 ; This macro encodes any 0xFF bytes as 0xFF 0x00, as does the EMIT_BYTE() 160 test nbits, nbits ; if (nbits != 0) /* Some 0xFF bytes */ 178 ; bytes in the qword. 287 ; t_ 64*2 bytes (aligned to 128 bytes) 290 ; esp passes over them, so this is signal-safe.) Aligning to 128 bytes allows
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | rulebasedcollator.cpp | 69 virtual void AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length); 76 FixedSortKeyByteSink::AppendBeyondCapacity(const char *bytes, int32_t /*n*/, int32_t length) { in AppendBeyondCapacity() argument 77 // buffer_ != NULL && bytes != NULL && n > 0 && appended_ > capacity_ in AppendBeyondCapacity() 81 uprv_memcpy(buffer_ + length, bytes, available); in AppendBeyondCapacity() 101 virtual void AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length); 110 CollationKeyByteSink::AppendBeyondCapacity(const char *bytes, int32_t n, int32_t length) { in AppendBeyondCapacity() argument 111 // buffer_ != NULL && bytes != NULL && n > 0 && appended_ > capacity_ in AppendBeyondCapacity() 113 uprv_memcpy(buffer_ + length, bytes, n); in AppendBeyondCapacity() 1388 * records the level and the number of bytes that will be written until 1392 * and ignores as many bytes a [all...] |
/third_party/skia/tools/fonts/ |
H A D | TestSVGTypeface.cpp | 803 uint8_t const* bytes = data->bytes(); in exportTtxCbdt() local 810 out->writeHexAsText(bytes[j], 2); in exportTtxCbdt() 1032 uint8_t const* bytes = data->bytes(); in exportTtxSbix() local 1039 out->writeHexAsText(bytes[j], 2); in exportTtxSbix()
|
/third_party/skia/src/core/ |
H A D | SkVM.cpp | 1207 // Round up to bytes. in byte_size() 1853 uint8_t bytes[3]; 1890 vex.bytes[0] = 0xc5; 1891 vex.bytes[1] = (pp & 3) << 0 1898 vex.bytes[0] = 0xc4; 1899 vex.bytes[1] = (map & 31) << 0 1903 vex.bytes[2] = (pp & 3) << 0 1915 void Assembler::bytes(const void* p, int n) { 1922 void Assembler::byte(uint8_t b) { this->bytes(&b, 1); } 1923 void Assembler::word(uint32_t w) { this->bytes( [all...] |
/third_party/vixl/src/aarch64/ |
H A D | macro-assembler-aarch64.cc | 1050 uint8_t bytes[sizeof(imm)]; in Emit() local 1051 memcpy(bytes, &imm, sizeof(imm)); in Emit() 1053 // All bytes are either 0x00 or 0xff. in Emit() 1057 if ((bytes[i] != 0) && (bytes[i] != 0xff)) { in Emit() 1069 // Of the 4 bytes, only one byte is non-zero. in Emit() 1072 movi(vd, bytes[i], LSL, i * 8); in Emit() 1077 // Of the 4 bytes, only one byte is not 0xff. in Emit() 1081 mvni(vd, ~bytes[i] & 0xff, LSL, i * 8); in Emit() 1088 movi(vd, bytes[ in Emit() [all...] |
/third_party/ffmpeg/libavfilter/x86/ |
H A D | vf_idet.asm | 79 ; SSE2 8-bit implementation that does 16-bytes at a time:
|