HomeSort by relevance Sort by last modified time
    Searched defs:bytes (Results 526 - 550 of 1193) sorted by null

<<21222324252627282930>>

  /device/samsung/manta/liblights/
lights.c 82 int bytes = sprintf(buffer, "%d\n", value); local
83 int amt = write(fd, buffer, bytes);
  /external/aac/libAACdec/src/
aacdecoder.cpp 231 \size Size of the buffer pointed on by buffer in bytes
255 \size Pointer to a buffer receiving the length of the requested anc data element in bytes
484 int bytes = (*count) >> 3; local
570 bytes--;
575 while (bytes > 0) {
577 bytes--;
583 *count = bytes<<3;
667 { /* Skip the remaining extension bytes */
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
FileOutputStreamTest.java 43 byte[] bytes; field in class:FileOutputStreamTest
177 assertTrue("Incorrect bytes written", new String(rbytes, 0, fileString
269 fos.write(bytes);
282 fos.write(bytes);
284 fos.write(bytes);
286 fos.write(bytes);
303 fos.write(bytes);
305 fos.write(bytes);
307 fos.write(bytes);
324 fos.write(bytes);
    [all...]
  /external/blktrace/btreplay/
btrecord.c 66 * @bytes: Number of bytes transferred
72 __u32 bytes; member in struct:io_spec
275 .nbytes = spec->bytes,
514 spec->bytes = t.bytes;
521 spec->bytes = be32_to_cpu(t.bytes);
550 (long long unsigned)spec->bytes / 512LLU,
  /external/chromium/base/
string_util_unittest.cc 365 EXPECT_FALSE(IsStringUTF8("\xf8\xa0\xbf\x80\xbf")); // 5 bytes
366 EXPECT_FALSE(IsStringUTF8("\xfc\x9c\xbf\x80\xbf\x80")); // 6 bytes
495 int64 bytes; member in struct:base::__anon4180
510 EXPECT_EQ(cases[i].expected, GetByteDisplayUnits(cases[i].bytes));
515 int64 bytes; member in struct:base::__anon4181
522 // sense (zero or bytes).
524 // the display of file sizes or bytes consistently around three
553 FormatBytes(cases[i].bytes, cases[i].units, false));
555 FormatBytes(cases[i].bytes, cases[i].units, true));
    [all...]
  /external/chromium/net/spdy/
spdy_framer_test.cc 622 const char bytes[] = "this is a test test test test test!"; local
624 send_framer.CreateDataFrame(1, bytes, arraysize(bytes),
636 send_framer.CreateDataFrame(3, bytes, arraysize(bytes),
662 EXPECT_EQ(arraysize(bytes), data_frame->length());
663 EXPECT_EQ(0, memcmp(data_frame->payload(), bytes, data_frame->length()));
683 EXPECT_EQ(arraysize(bytes), data_frame->length());
684 EXPECT_EQ(0, memcmp(data_frame->payload(), bytes, data_frame->length()));
712 const char bytes[] = "this is a test test test test test!" local
    [all...]
  /external/chromium_org/base/strings/
string_util_unittest.cc 368 EXPECT_FALSE(IsStringUTF8("\xf8\xa0\xbf\x80\xbf")); // 5 bytes
369 EXPECT_FALSE(IsStringUTF8("\xfc\x9c\xbf\x80\xbf\x80")); // 6 bytes
498 int64 bytes; member in struct:base::__anon6315
503 // sense (zero or bytes).
505 // the display of file sizes or bytes consistently around three
527 FormatBytesUnlocalized(cases[i].bytes));
    [all...]
  /external/chromium_org/chrome/browser/favicon/
favicon_handler_unittest.cc 287 scoped_refptr<base::RefCountedMemory> bytes = image.As1xPNGBytes(); variable
288 std::vector<unsigned char> bitmap_data(bytes->front(),
289 bytes->front() + bytes->size());
    [all...]
  /external/chromium_org/chrome/browser/password_manager/
native_backend_kwallet_x.cc 394 uint8_t* bytes = NULL; local
396 if (!reader.PopArrayOfBytes(&bytes, &length)) {
401 if (!bytes || !CheckSerializedValue(bytes, length, signon_realm))
404 // Can't we all just agree on whether bytes are signed or not? Please?
405 Pickle pickle(reinterpret_cast<const char*>(bytes), length);
504 uint8_t* bytes = NULL; local
506 if (!reader.PopArrayOfBytes(&bytes, &length)) {
511 if (!bytes)
513 if (!CheckSerializedValue(bytes, length, signon_realm))
612 uint8_t* bytes = NULL; local
    [all...]
native_backend_kwallet_x_unittest.cc 421 uint8_t* bytes = NULL; local
427 EXPECT_TRUE(reader.PopArrayOfBytes(&bytes, &length));
434 TestKWallet::Blob(bytes, length)) ? 0 : 1);
    [all...]
  /external/chromium_org/chrome/test/base/
ui_test_utils.cc 501 int bytes = static_cast<int>(png_data.size()); local
503 out_path, reinterpret_cast<char*>(&png_data[0]), bytes);
504 succeeded = (written == bytes);
  /external/chromium_org/content/common/gpu/
gpu_memory_manager.cc 181 uint64 bytes = 0; local
182 if (client_state->client_->GetTotalGpuMemory(&bytes)) {
183 if (!bytes_min || bytes < bytes_min)
184 bytes_min = bytes;
428 std::vector<uint64> bytes, uint64 bytes_sum_limit)
430 size_t bytes_size = bytes.size();
437 std::sort(bytes.begin(), bytes.end());
439 bytes_sum += bytes[i];
442 // sum of bytes[0] + ... + bytes[bytes_size - i - 1
    [all...]
  /external/chromium_org/media/filters/
ffmpeg_demuxer.cc 448 double bytes = filesize_in_bytes; local
450 return bytes * 8000000.0 / duration_us;
  /external/chromium_org/net/quic/crypto/
strike_register.cc 50 // These bytes are organised thus:
442 const uint8* bytes = external_node(ext); local
450 CHECK_EQ((bytes[byte] & kMasks[bit]) != 0, i->second);
  /external/chromium_org/sync/internal_api/public/base/
unique_position.cc 28 bool UniquePosition::IsValidBytes(const std::string& bytes) {
34 return bytes.length() >= kSuffixLength
35 && bytes[bytes.length()-1] != 0;
82 std::string bytes(8, 0);
84 bytes[i] = static_cast<uint8>(y);
87 return UniquePosition(bytes + suffix, suffix);
160 std::string bytes = Uncompress(compressed_); local
161 if (bytes.size() < kCompressBytesThreshold) {
163 proto->set_value(bytes);
221 const std::string bytes = Uncompress(compressed_); local
237 const std::string bytes = Uncompress(compressed_); local
    [all...]
  /external/chromium_org/third_party/freetype/src/cff/
cffload.c 282 if ( FT_FRAME_EXTRACT( size, idx->bytes ) )
310 if ( idx->bytes )
311 FT_FRAME_RELEASE( idx->bytes );
410 FT_Byte* org_bytes = idx->bytes;
539 if ( idx->bytes )
542 *pbytes = idx->bytes + off1 - 1;
571 if ( idx->bytes == 0 )
588 FT_Byte* bytes; local
594 error = cff_index_access_element( idx, element, &bytes, &byte_len );
600 FT_MEM_COPY( name, bytes, byte_len )
    [all...]
  /external/chromium_org/third_party/icu/source/common/
ucnvbocu.c 46 * C0 control codes and space are encoded with their US-ASCII bytes.
60 /* number of lead bytes */
67 /* number of trail bytes */
76 /* number of lead bytes for positive and negative 2/3/4-byte sequences */
141 * but are also used as trail bytes in difference encoding
150 * External byte values that are illegal as trail bytes are mapped to -1.
254 * Encode a difference -0x10ffff..0x10ffff in 1..4 bytes
283 /* two bytes */
293 /* three bytes */
307 /* four bytes */
945 uint8_t *bytes; local
1167 uint8_t *bytes; local
    [all...]
  /external/chromium_org/third_party/icu/source/tools/makeconv/
makeconv.c 161 fprintf(stderr, "error: wrote %u bytes to the .cnv file but counted %u bytes\n", (int)sz2, (int)size);
166 printf("- Wrote %u bytes to the udata.\n", (int)sz2);
467 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local
471 length=ucm_parseBytes(bytes, line, (const char **)&s);
474 uprv_memcpy(staticData->subChar, bytes, length);
481 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local
484 if(1==ucm_parseBytes(bytes, line, (const char **)&s) && *s==0) {
485 staticData->subChar1=bytes[0];
828 if(!MBCSOkForBaseFromUnicode(mbcsData, m->b.bytes, m->bLen, m->u, m->f))
    [all...]
  /external/chromium_org/third_party/icu/source/tools/toolutil/
pkg_genc.c 123 "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */
151 "\t.align 8\n" /* Either align 8 bytes or 2^8 (256) bytes. 8 bytes is needed. */
389 " const char *bytes; \n"
413 " uint8_t bytes[%ld]; \n"
635 char bytes[2048]; member in union:__anon13616
687 length=T_FileStream_read(in, buffer.bytes, sizeof(buffer.bytes))
    [all...]
pkgitems.cpp 63 NativeItem() : pItem(NULL), pInfo(NULL), bytes(NULL), swapped(NULL), length(0) {}
74 return bytes;
91 bytes=pItem->data+itemHeaderLength;
110 bytes=swapped+itemHeaderLength;
118 const uint8_t *bytes; member in class:NativeItem
471 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after header) for an ICU .cnv conversion table\n",
489 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after headers) for an ICU MBCS .cnv conversion table\n",
522 udata_printError(ds, "icupkg/ucnv_enumDependencies(): too few bytes (%d after headers) for an ICU MBCS .cnv conversion table with extension data\n",
ucm.c 21 * as well as byte sequences with more than 4 bytes or more than one complete
43 printMapping(UCMapping *m, UChar32 *codePoints, uint8_t *bytes, FILE *f) {
53 fprintf(f, "\\x%02X", bytes[j]);
159 /* compare the bytes */
180 /* Unicode then bytes */
186 /* bytes then Unicode */
209 /* sorting by bytes first sorts the reverseMap; use indirection to mappings */
253 /* 2. sort reverseMap by mappings bytes first */
629 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1)
663 (subchar1!=0 && fromUMapping->bLen==1 && fromUMapping->b.bytes[0]==subchar1
1128 uint8_t bytes[UCNV_EXT_MAX_BYTES]; local
    [all...]
xmlparser.cpp 164 char bytes[4096], charsetBuffer[100]; local
183 bytesLength=T_FileStream_read(f, bytes, (int32_t)sizeof(bytes));
184 if(bytesLength<(int32_t)sizeof(bytes)) {
198 charset=ucnv_detectUnicodeSignature(bytes, bytesLength, NULL, &errorCode);
216 pb=bytes;
221 &pb, bytes+bytesLength,
275 // convert contents of bytes[bytesLength]
276 pb=bytes;
289 &pb, bytes+bytesLength
    [all...]
  /external/chromium_org/third_party/openssl/openssl/crypto/
mem_dbg.c 661 long bytes; member in struct:mem_leak_st
705 l->bytes+=m->num;
766 ml.bytes=0;
773 BIO_printf(b,"%ld bytes leaked in %d chunks\n",
774 ml.bytes,ml.chunks);
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
TextFormatTest.java 223 * characters. The characters are converted directly to bytes, *not*
226 private ByteString bytes(String str) throws Exception { method in class:TextFormatTest
231 * Helper to construct a ByteString from a bunch of bytes. The inputs are
235 private ByteString bytes(int... bytesAsInts) { method in class:TextFormatTest
236 byte[] bytes = new byte[bytesAsInts.length];
238 bytes[i] = (byte) bytesAsInts[i];
240 return ByteString.copyFrom(bytes);
274 // Strings and bytes that needing escaping.
276 .addRepeatedBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"\u00fe"))
484 TextFormat.escapeBytes(bytes("\0\001\007\b\f\n\r\t\013\\\'\"")))
    [all...]
  /external/chromium_org/third_party/protobuf/src/google/protobuf/io/
coded_stream.cc 78 GOOGLE_LOG(WARNING) << "The total number of bytes read was " << total_bytes_read_;
173 << " bytes). To increase the limit (or to disable these "
272 uint8 bytes[sizeof(*value)]; local
276 // Fast path: Enough bytes in the buffer to read directly.
281 if (!ReadRaw(bytes, sizeof(*value))) return false;
282 ptr = bytes;
289 uint8 bytes[sizeof(*value)]; local
293 // Fast path: Enough bytes in the buffer to read directly.
298 if (!ReadRaw(bytes, sizeof(*value))) return false;
299 ptr = bytes;
613 uint8 bytes[sizeof(value)]; local
628 uint8 bytes[sizeof(value)]; local
683 uint8 bytes[kMaxVarint32Bytes]; local
783 uint8 bytes[kMaxVarintBytes]; local
    [all...]

Completed in 2741 milliseconds

<<21222324252627282930>>