/external/chromium_org/net/quic/ |
quic_protocol_test.cc | 16 char bytes[4]; local 17 memcpy(bytes, &tag, 4); 18 EXPECT_EQ('A', bytes[0]); 19 EXPECT_EQ('B', bytes[1]); 20 EXPECT_EQ('C', bytes[2]); 21 EXPECT_EQ('D', bytes[3]);
|
/external/chromium_org/ppapi/tests/ |
test_buffer.cc | 46 unsigned char* bytes = static_cast<unsigned char *>(buffer.data()); local 48 if (bytes[index] != 0)
|
test_x509_certificate_private.cc | 49 char* bytes = static_cast<char*>(array_buffer.Map()); local 53 return std::equal(expected, expected + expected_length, bytes);
|
/external/chromium_org/printing/ |
image_win.cc | 81 size_t bytes = row_length_ * size_.height(); local 82 DCHECK(bytes); 84 data_.assign(bits, bits + bytes);
|
/external/chromium_org/remoting/host/win/ |
wts_terminal_monitor.cc | 35 DWORD bytes; local 41 &bytes)) { 45 bool result = WideToUTF8(working_directory, (bytes / sizeof(wchar_t)) - 1,
|
/external/chromium_org/rlz/lib/ |
crc8_unittest.cc | 30 unsigned char* bytes; local 35 bytes = reinterpret_cast<unsigned char*>(data[i].string); 41 rlz_lib::Crc8::Generate(bytes, length, &crc); 43 rlz_lib::Crc8::Verify(bytes, length, crc, &matches); 48 rlz_lib::Crc8::Verify(bytes, length, crc, &matches);
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
CString.cpp | 85 char* bytes = result.m_buffer->mutableData(); local 86 bytes[length] = '\0'; 87 characterBuffer = bytes;
|
TextCodecUTF16.cpp | 69 String TextCodecUTF16::decode(const char* bytes, size_t length, bool, bool, bool&) 76 const unsigned char* p = reinterpret_cast<const unsigned char*>(bytes); 124 // character buffer, each character is two bytes, and we know 130 char* bytes; local 131 CString result = CString::newUninitialized(length * 2, bytes); 138 bytes[i * 2] = c; 139 bytes[i * 2 + 1] = c >> 8; 144 bytes[i * 2] = c >> 8; 145 bytes[i * 2 + 1] = c; 157 char* bytes; local [all...] |
TextCodecUserDefined.cpp | 53 String TextCodecUserDefined::decode(const char* bytes, size_t length, bool, bool, bool&) 59 signed char c = bytes[i]; 70 char* bytes = result.data(); local 78 bytes[resultLength++] = signedByte; 84 bytes = result.data(); 85 memcpy(bytes + resultLength, replacement, replacementLength); 90 return CString(bytes, resultLength); 96 char* bytes; local 97 CString result = CString::newUninitialized(length, bytes); 103 bytes[i] = c [all...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
arena_test.cc | 22 size_t bytes = 0; local 47 bytes += s; 49 ASSERT_GE(arena.MemoryUsage(), bytes); 51 ASSERT_LE(arena.MemoryUsage(), bytes * 1.10);
|
/external/chromium_org/third_party/mesa/src/src/glsl/glcpp/ |
glcpp.c | 50 size_t bytes; local 61 bytes = fread (text + total_read, 1, CHUNK, fp); 62 total_read += bytes; 64 if (bytes < CHUNK) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texcompress.c | 468 * \param srcRowStride stride in bytes between rows of blocks in the 480 GLuint bytes, bw, bh; local 482 bytes = _mesa_get_format_bytes(format); 492 texImage.RowStride = srcRowStride * bh / bytes;
|
/external/chromium_org/third_party/openssl/openssl/crypto/rand/ |
rand.h | 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st 110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 112 int RAND_egd_bytes(const char *path,int bytes);
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
rand.h | 84 int (*bytes)(unsigned char *buf, int num); member in struct:rand_meth_st 110 int RAND_query_egd_bytes(const char *path, unsigned char *buf, int bytes); 112 int RAND_egd_bytes(const char *path,int bytes);
|
/external/chromium_org/third_party/skia/include/core/ |
SkData.h | 20 * but the actual ptr that is returned (by data() or bytes()) is guaranteed 28 * Returns the number of bytes stored. 43 const uint8_t* bytes() const { function in class:SkData 49 * Returns the actual number of bytes copied, after clamping offset and 51 * only the computed number of bytes is returned. 74 * (a null-terminated array of bytes). The returned SkData will have size()
|
/external/chromium_org/third_party/skia/src/lazy/ |
SkLazyPixelRef.cpp | 107 size_t bytes = ComputeMinRowBytesAndSize(info, &target.fRowBytes); local 108 target.fAddr = fImageCache->allocAndPinCache(bytes, &fCacheId);
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
central_freelist.cc | 64 int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); local 67 ASSERT(objs_to_move > 0 && bytes > 0); 74 (max)(1, (1024 * 1024) / (bytes * objs_to_move)));
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
central_freelist.cc | 64 int32_t bytes = Static::sizemap()->ByteSizeForClass(cl); local 67 ASSERT(objs_to_move > 0 && bytes > 0); 74 (max)(1, (1024 * 1024) / (bytes * objs_to_move)));
|
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
entropy.c | 31 unsigned char* bytes = NULL; local 62 /* Allocate bytes */ 63 if ((bytes = (unsigned char*)PyMem_Malloc(howMany)) == NULL) 72 PyMem_Free(bytes); 77 if(!pCryptGenRandom(hCryptProv, howMany, bytes)) { 80 PyMem_Free(bytes); 86 returnVal = Py_BuildValue("s#", bytes, howMany); 87 PyMem_Free(bytes); 108 unsigned char* bytes = NULL; local 116 /* Allocate bytes */ [all...] |
/external/clang/lib/Frontend/ |
TextDiagnostic.cpp | 68 int bytes = 0; local 72 ++bytes; 74 return bytes; 173 /// This function takes a raw source line and produces a mapping from the bytes 182 /// If a byte is the first in a sequence of bytes that together map to a single 184 /// column while the subsequent bytes will be -1. 193 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to 221 /// The last element in the array is the number of bytes in the source string 227 /// (\\u3042 is represented in UTF-8 by three bytes and takes two columns to 267 int bytes() const { return m_columnToByte.back(); [all...] |
/external/dhcpcd/ |
signals.c | 70 ssize_t bytes; local 73 bytes = read(signal_pipe[0], buf, sizeof(buf)); 74 if (bytes >= 0 && (size_t)bytes >= sizeof(sig))
|
/external/elfutils/libcpu/ |
i386_parse.y | 100 struct bitvalue *bytes; 187 static void fillin_arg (struct bitvalue *bytes, struct argname *name, 234 %type <bit> bit byte bytes 282 instr: bytes ':' bitfieldopt kID bitfieldopt optargs 304 newp->bytes = $1; 387 bytes: bytes ',' byte label 769 fillin_arg (struct bitvalue *bytes, struct argname *name, 819 struct bitvalue *b = bytes; 1248 /* First count the number of bytes. * [all...] |
/external/elfutils/libdw/ |
libdw_findcu.c | 120 const char *bytes = (dbg->sectiondata[IDX_debug_info]->d_buf + oldoff local 122 uint16_t version = read_2ubyte_unaligned (dbg, bytes);
|
/external/icu4c/common/unicode/ |
bytestriebuilder.h | 57 * The bytes will be copied; the builder does not keep 170 char *bytes; member in class:BytesTrieBuilder
|
/external/llvm/include/llvm/Support/ |
StreamableMemoryObject.h | 43 /// getExtent - Returns the size of the region in bytes. (The region is 46 /// May block until all bytes in the stream have been read 52 /// May block until (address - base) bytes have been read 59 /// readBytes - Tries to read a contiguous range of bytes from the 61 /// May block until (address - base + size) bytes have 63 /// not do partial reads - if size bytes cannot be read, 68 /// @param size - The number of bytes to copy. 70 /// and large enough to hold size bytes. 80 /// May block until (address - base + size) bytes have been read 88 /// May block until (address - base) bytes have been rea 155 size_t bytes = Streamer->GetBytes(&Bytes[BytesRead + BytesSkipped], local [all...] |