Home
last modified time | relevance | path

Searched refs:bytes (Results 1476 - 1500 of 2529) sorted by relevance

1...<<51525354555657585960>>...102

/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-buffer.c389 unsigned int bytes; in test_buffer_utf8_conversion() local
398 bytes = strlen (test->utf8); in test_buffer_utf8_conversion()
403 hb_buffer_add_utf8 (b, test->utf8, bytes, 1, bytes - 2); in test_buffer_utf8_conversion()
476 /* continuation bytes */
614 /* missing continuation bytes */
625 /* impossible bytes */
/third_party/skia/third_party/externals/piex/src/
H A Dtiff_parser.cc116 std::vector<std::uint8_t> bytes; in FillGpsPreviewImageData() local
117 if (!gps_directory.Get(kGpsTagAltitudeRef, &bytes) || bytes.empty() || in FillGpsPreviewImageData()
122 preview_image_data->gps.altitude_ref = bytes[0] != 0; in FillGpsPreviewImageData()
271 length /= 4; // length in bytes divided by 4 gives number of IFDs. in ParseSubIfds()
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnv_lmb.cpp72 based, in that the bytes from 0x20 - 0x7F are almost exactly the
76 bytes from 0x20-0x7F are represented by the same single-byte values in LMBCS.
78 The general LMBCS code unit is from 1-3 bytes. We can describe the 3 bytes as
84 data bytes. The maximum size of a LMBCS character is 3 bytes:
88 The single-byte values from 0x20 to 0x7F are examples of single D1 bytes.
103 which national character standard is being used for the 'D' bytes.
123 character is one of those 12 values, you can interpret the remaining bytes of
125 ANSI bytes alread
1215 char bytes[2]; _LMBCSGetNextUCharWorker() local
[all...]
/third_party/toybox/lib/
H A Dxwrap.c18 if (strlen(src)+1 > size) error_exit("'%s' > %ld bytes", src, (long)size); in xstrncpy()
27 error_exit("'%s%s' > %ld bytes", dest, src, (long)size); in xstrncat()
95 // Die unless we can allocate a copy of this many bytes of string.
813 // error_exit if we couldn't copy all bytes
814 long long xsendfile_len(int in, int out, long long bytes) in xsendfile_len() argument
816 long long len = sendfile_len(in, out, bytes, 0); in xsendfile_len()
818 if (bytes != -1 && bytes != len) { in xsendfile_len()
826 // warn and pad with zeroes if we couldn't copy all bytes
/third_party/python/Lib/test/
H A Dtest_hmac.py150 md5test(bytes(range(1, 26)),
190 shatest(bytes(range(1, 26)),
271 hmactest(key = bytes(x for x in range(0x01, 0x19+1)),
404 # of type bytes
411 # of type bytes
572 # Testing bytes of different lengths
578 # Testing bytes of same lengths, different values
584 # Testing bytes of same lengths, same values
625 # Testing bytes of same lengths, different values
653 class mybytes(bytes)
[all...]
H A Dtest_code.py195 return c.replace(co_freevars=c.co_freevars + ('__class__',), co_code=bytes([COPY_FREE_VARS, 1])+c.co_code)
685 co_code=bytes(
692 co_linetable=bytes(
/third_party/mesa3d/src/nouveau/codegen/
H A Dnv50_ir_lowering_nv50.cpp1706 const uint16_t bytes = (format->bits[0] + format->bits[1] + in processSurfaceCoords() local
1708 uint16_t shift = ffs(bytes) - 1; in processSurfaceCoords()
1717 // the x coordinate in bytes as well. in processSurfaceCoords()
1842 const int bytes = (su->tex.format->bits[0] + in handleSULDP() local
1846 DataType ty = typeOfSize(bytes); in handleSULDP()
1853 for (i = 0; i < bytes / 4; i++) in handleSULDP()
1855 if (bytes < 4) in handleSULDP()
1991 const int bytes = (su->tex.format->bits[0] + in handleSUSTP() local
1995 DataType ty = typeOfSize(bytes); in handleSUSTP()
2008 for (i = 0; i < bytes / in handleSUSTP()
[all...]
/third_party/cups-filters/filter/foomatic-rip/
H A Dpostscript.c176 size_t bytes; in ps_pages() local
183 bytes = fread(output, 1, 31, pd); in ps_pages()
186 if (bytes <= 0 || sscanf(output, "%d", &pagecount) < 1) in ps_pages()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DTrieMapTest.java119 byte bytes[] = new byte[200]; in TestByteConversion()
122 int limit = TrieMap.ByteConverter.getBytes(source, bytes, 0); in TestByteConversion()
123 //logln(source + "\t=> " + Utility.hex(source, " ") + "\t=> " + Utility.hex(bytes, 0, limit, " ")); in TestByteConversion()
124 String recovered = TrieMap.ByteConverter.getChars(bytes, 0, limit); in TestByteConversion()
292 // logln(bytes + "\tValue <" + value + "> at " in checkSearch()
370 * @param bytes
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DTrieMapTest.java116 byte bytes[] = new byte[200]; in TestByteConversion()
119 int limit = TrieMap.ByteConverter.getBytes(source, bytes, 0); in TestByteConversion()
120 //logln(source + "\t=> " + Utility.hex(source, " ") + "\t=> " + Utility.hex(bytes, 0, limit, " ")); in TestByteConversion()
121 String recovered = TrieMap.ByteConverter.getChars(bytes, 0, limit); in TestByteConversion()
289 // logln(bytes + "\tValue <" + value + "> at " in checkSearch()
367 * @param bytes
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dsi_sdma_copy_image.c130 unsigned bytes = src_pitch * copy_height * bpp; in si_sdma_v4_v5_copy_texture() local
132 if (!(bytes < (1u << 22))) in si_sdma_v4_v5_copy_texture()
142 radeon_emit(bytes); in si_sdma_v4_v5_copy_texture()
/third_party/node/src/
H A Dnode_serdes.cc281 ArrayBufferViewContents<char> bytes(args[0]); in WriteRawBytes()
282 ctx->serializer_.WriteRawBytes(bytes.data(), bytes.length()); in WriteRawBytes()
/third_party/musl/porting/linux/user/src/hook/
H A Dmusl_preinit.c38 void* ohos_malloc_hook_init_function(size_t bytes);
513 void* ohos_malloc_hook_init_function(size_t bytes) in ohos_malloc_hook_init_function() argument
524 void*ptr = MuslFunc(malloc)(bytes); in ohos_malloc_hook_init_function()
/third_party/musl/src/hook/linux/
H A Dmusl_preinit.c53 void* ohos_malloc_hook_init_function(size_t bytes);
527 void* ohos_malloc_hook_init_function(size_t bytes) in ohos_malloc_hook_init_function() argument
538 void*ptr = MuslFunc(malloc)(bytes); in ohos_malloc_hook_init_function()
/third_party/skia/src/gpu/effects/
H A DGrSkSLFP.cpp365 const uint8_t* bytes = reinterpret_cast<const uint8_t*>(uniformData + iter->offset); in getShaderDfxInfo() local
367 for (; numBytes --> 0; bytes++) { in getShaderDfxInfo()
368 specials.appendf("%X_", *bytes); in getShaderDfxInfo()
/third_party/skia/src/gpu/gl/
H A DGrGLUtil.cpp665 const GrGLubyte* bytes = interface->fFunctions.fGetString(s); in GrGLGetDriverInfo()
666 if (!bytes) { in GrGLGetDriverInfo()
669 return reinterpret_cast<const char*>(bytes); in GrGLGetDriverInfo()
/third_party/skia/src/gpu/ops/
H A DAtlasTextOp.cpp45 void AtlasTextOp::operator delete(void* bytes) noexcept {
47 gCache = bytes;
50 ::operator delete(bytes); variable
/third_party/python/Parser/
H A Dstring_parser.c76 /* "ä" (2 bytes) may become "\U000000E4" (10 bytes), or 1:5 in decode_unicode_with_escapes()
77 "\ä" (3 bytes) may become "\u005c\U000000E4" (16 bytes), or ~1:6 */ in decode_unicode_with_escapes()
171 const char *s = PyBytes_AsString(t->bytes); in _PyPegen_parsestr()
247 /* Just return the bytes. The caller will parse the resulting in _PyPegen_parsestr()
264 "bytes can only contain ASCII " in _PyPegen_parsestr()
304 if (parent && parent->bytes) { in fstring_find_expr_location()
305 const char *parent_str = PyBytes_AsString(parent->bytes); in fstring_find_expr_location()
386 /* Allocate 3 extra bytes in fstring_compile_expr()
[all...]
/third_party/alsa-lib/src/control/
H A Dcontrol_remap.c517 if ((unsigned long)src < ARRAY_SIZE(control->value.bytes.data)) in remap_map_elem_read()
518 control->value.bytes.data[index] = control2.value.bytes.data[src]; in remap_map_elem_read()
584 if ((unsigned long)dst < ARRAY_SIZE(control->value.bytes.data)) { in remap_map_elem_write()
585 changes |= control2.value.bytes.data[dst] != control->value.bytes.data[index]; in remap_map_elem_write()
586 control2.value.bytes.data[dst] = control->value.bytes.data[index]; in remap_map_elem_write()
/third_party/node/lib/
H A Dnet.js522 // The user has called .end(), and all the bytes have been
964 this[kLastWriteQueueSize] = req.bytes;
985 let bytes = this._bytesDispatched;
994 bytes += el.chunk instanceof Buffer ?
1005 bytes += chunk.length;
1007 bytes += Buffer.byteLength(chunk.chunk, chunk.encoding);
1012 bytes += data.length;
1014 bytes += Buffer.byteLength(data, encoding);
1017 return bytes;
1544 // this doesn't actually consume any bytes, becaus
[all...]
/third_party/python/Lib/
H A Dpickle.py16 loads(bytes) -> object
51 bytes_types = (bytes, bytearray)
128 SHORT_BINSTRING= b'U' # " " ; " " " " < 256 bytes
168 LONG1 = b'\x8a' # push long from < 256 bytes
175 BINBYTES = b'B' # push bytes; counted binary string argument
176 SHORT_BINBYTES = b'C' # " " ; " " " " < 256 bytes
180 SHORT_BINUNICODE = b'\x8c' # push short string; UTF-8 length < 256 bytes
182 BINBYTES8 = b'\x8e' # push very long bytes string
256 # temporary bytes object.
424 single bytes argumen
[all...]
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
H A DBlitter.cpp43 sw::Surface *color = sw::Surface::create(1, 1, 1, format, pixel, sw::Surface::bytes(format), sw::Surface::bytes(format)); in clear()
111 switch(Surface::bytes(dest->getFormat())) in fastClear()
1144 Int Blitter::ComputeOffset(Int &x, Int &y, Int &pitchB, int bytes, bool quadLayout) in ComputeOffset() argument
1148 return y * pitchB + x * bytes; in ComputeOffset()
1154 ((y & Int(1)) * 2 + x * 2 - (x & Int(1))) * bytes; in ComputeOffset()
1211 int srcBytes = Surface::bytes(state.sourceFormat); in generate()
1212 int dstBytes = Surface::bytes(state.destFormat); in generate()
/third_party/toybox/toys/pending/
H A Dfdisk.c502 unsigned long long bytes = ((unsigned long long)total_number_sectors << 9); in print_mbr() local
503 long mbytes = bytes/1000000; in print_mbr()
505 if (mbytes < 10000) xprintf("Disk %s: %lu MB, %llu bytes\n", disk_device, mbytes, bytes); in print_mbr()
506 else xprintf("Disk %s: %lu.%lu GB, %llu bytes\n", disk_device, mbytes/1000, (mbytes/100)%10, bytes); in print_mbr()
510 xprintf("Units = sectors of 1 * %ld = %ld bytes\n",g_sect_size, g_sect_size); in print_mbr()
511 } else xprintf("\nUnits = cylinders of %ld * %ld = %ld bytes\n\n", in print_mbr()
769 unsigned long long bytes = (unsigned long long) val * absolute; in ask_value() local
773 bytes in ask_value()
[all...]
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
H A DMapTest.java563 ByteString bytes = TestUtil.toBytes("SOME BYTES"); in testParseError()
567 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToInt32Field(5, bytes).build()); in testParseError()
577 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToEnumField(stringKey, bytes).build()); in testParseError()
581 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToMessageField(stringKey, bytes).build()); in testParseError()
591 BizarroTestMap.newBuilder().putStringToInt32Field(stringKey, bytes).build()); in testParseError()
892 ByteString bytes = message.toByteString(); in testDynamicMessageUnsetKeyAndValue()
894 Message generatedMessage = TestMap.parseFrom(bytes); in testDynamicMessageUnsetKeyAndValue()
895 // Assert the serialized bytes are equivalent. in testDynamicMessageUnsetKeyAndValue()
896 assertEquals(generatedMessage.toByteString(), bytes); in testDynamicMessageUnsetKeyAndValue()
H A DMapForProto2Test.java543 ByteString bytes = TestUtil.toBytes("SOME BYTES"); in testParseError()
547 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToInt32Field(5, bytes).build()); in testParseError()
557 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToEnumField(stringKey, bytes).build()); in testParseError()
561 tryParseTestMap(BizarroTestMap.newBuilder().putInt32ToMessageField(stringKey, bytes).build()); in testParseError()
571 BizarroTestMap.newBuilder().putStringToInt32Field(stringKey, bytes).build()); in testParseError()
801 ByteString bytes = message.toByteString(); in testDynamicMessageUnsetKeyAndValue()
803 Message generatedMessage = TestMap.parseFrom(bytes); in testDynamicMessageUnsetKeyAndValue()
804 // Assert the serialized bytes are equivalent. in testDynamicMessageUnsetKeyAndValue()
805 assertEquals(generatedMessage.toByteString(), bytes); in testDynamicMessageUnsetKeyAndValue()

Completed in 37 milliseconds

1...<<51525354555657585960>>...102