/external/chromium_org/base/ |
pickle_unittest.cc | 233 int bytes = sizeof(int) * 2; local 238 EXPECT_TRUE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes)); 239 EXPECT_FALSE(PickleIterator(pickle).GetReadPointerAndAdvance(bytes + 1)); 344 // Check we can write zero bytes of data and 'data' can be NULL.
|
/external/chromium_org/build/android/rezip/ |
rezip.cc | 61 int bytes = 0; local 63 bytes = unzReadCurrentFile(in_file, buf, sizeof(buf)); 64 if (bytes < 0) { 70 if (bytes == 0) { 74 if (ZIP_OK != zipWriteInFileInZip(out_file, buf, bytes)) {
|
/external/chromium_org/cc/resources/ |
prioritized_resource.h | 46 size_t bytes() const { return bytes_; } function in class:cc::PrioritizedResource 98 void SetToSelfManagedMemoryPlaceholder(size_t bytes);
|
/external/chromium_org/chromeos/dbus/ |
cryptohome_client.cc | 367 const uint8* bytes = NULL; variable 369 if (!reader.PopArrayOfBytes(&bytes, &length) || 372 value->assign(bytes, bytes + length); 921 const uint8* bytes = NULL; local [all...] |
fake_bluetooth_gatt_characteristic_client.cc | 432 // Return the bytes in an array. 433 uint8* bytes = reinterpret_cast<uint8*>(&value); local 435 return_value.assign(bytes, bytes + sizeof(value));
|
/external/chromium_org/content/child/webcrypto/test/ |
test_helpers.cc | 62 *os << "[" << base::HexEncode(data.bytes(), data.byte_length()) << "]"; 67 memcmp(a.bytes(), b.bytes(), a.byte_length()) == 0; 144 std::vector<uint8_t> bytes; local 145 base::HexStringToBytes(hex, &bytes); 146 return bytes; 530 // Hardcoded pseudo-random bytes to use for keys of different lengths.
|
/external/chromium_org/content/test/plugin/ |
plugin_geturl_test.cc | 290 int32 bytes = local 293 // bytes. But this is not likely. 294 if (bytes != len) 356 size_t bytes = fread(read_buffer, 1, sizeof(read_buffer), test_file_); local 357 if (bytes != 0)
|
/external/chromium_org/dbus/ |
test_service.cc | 415 } else if (name == "Bytes") { 416 // Return the previous value for the "Bytes" property: 424 const uint8 bytes[] = { 0x54, 0x65, 0x73, 0x74 }; local 425 variant_writer.AppendArrayOfBytes(bytes, sizeof(bytes)); 580 // "Bytes": Variant<[0x54, 0x65, 0x73, 0x74]> 622 dict_entry_writer.AppendString("Bytes"); 624 const uint8 bytes[] = { 0x54, 0x65, 0x73, 0x74 }; local 625 variant_writer.AppendArrayOfBytes(bytes, sizeof(bytes)); [all...] |
/external/chromium_org/google_apis/gcm/base/ |
socket_stream_unittest.cc | 41 base::StringPiece DoInputStreamRead(int bytes); 104 base::StringPiece GCMSocketStreamTest::DoInputStreamRead(int bytes) { 122 } while (total_bytes_read < bytes); 124 if (total_bytes_read > bytes) { 125 socket_input_stream_->BackUp(total_bytes_read - bytes); 126 total_bytes_read = bytes; 139 int bytes = write_src.size(); local 144 int bytes_to_write = (size < bytes ? size : bytes); 151 } while (total_bytes_written < bytes); [all...] |
/external/chromium_org/media/cast/net/ |
cast_transport_config.h | 76 const uint8* bytes() const { function in struct:media::cast::EncodedFrame 139 // Returns the number of bytes ever sent.
|
/external/chromium_org/mojo/system/ |
message_in_transit.h | 32 // |kMessageAlignment|-byte aligned and a multiple of |kMessageAlignment| bytes 37 // (accessed by |bytes()| and of size |num_bytes()|, and also 39 // main buffer a multiple of |kMessageAlignment| bytes in size. 116 const void* bytes() const { function in class:mojo::system::MessageInTransit::View 135 // |bytes| is optional; if null, the message data will be zero-initialized. 139 const void* bytes); 140 // |bytes| should be valid (and non-null), unless |num_bytes| is zero. 144 UserPointer<const void> bytes); 151 // bytes currently available, returning true and setting |*next_message_size| 177 // Gets the main buffer and its size (in number of bytes), respectively 192 const void* bytes() const { return main_buffer_.get() + sizeof(Header); } function in class:mojo::system::MessageInTransit 193 void* bytes() { return main_buffer_.get() + sizeof(Header); } function in class:mojo::system::MessageInTransit [all...] |
/external/chromium_org/net/tools/flip_server/ |
sm_connection.cc | 191 VLOG(2) << "SSLWrite(" << chunksize << " bytes): " << rv; 414 char* bytes; local 421 read_buffer_.GetWritablePtr(&bytes, &size); 424 bytes_read = SSL_read(ssl_, bytes, size); 442 bytes_read = recv(fd_, bytes, size, MSG_DONTWAIT); 464 << " bytes"; 480 << "0 bytes read with recv call."; 497 char* bytes; local 499 read_buffer_.GetReadablePtr(&bytes, &size); 501 size_t bytes_consumed = sm_interface_->ProcessReadInput(bytes, size) 559 const char* bytes = data_frame->data; local [all...] |
/external/chromium_org/ppapi/tests/ |
test_flash_clipboard.cc | 155 char* bytes = static_cast<char*>(array_buffer.Map()); local 156 std::copy(rtf_string.data(), rtf_string.data() + rtf_string.size(), bytes); 177 ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(), 186 char* bytes = static_cast<char*>(array_buffer.Map()); local 187 std::copy(custom_data.begin(), custom_data.end(), bytes); 213 ASSERT_TRUE(std::equal(bytes, bytes + array_buffer.ByteLength(), 315 char* bytes = static_cast<char*>(array_buffer.Map()); local 316 std::copy(custom_data.begin(), custom_data.end(), bytes); [all...] |
/external/chromium_org/remoting/host/ |
gnubby_auth_handler_posix.cc | 71 bool ConvertListValueToString(base::ListValue* bytes, std::string* out) { 74 unsigned int byte_count = bytes->GetSize(); 79 if (!bytes->GetInteger(i, &value)) 134 base::ListValue* bytes; local 136 if (client_message->GetList(kDataPayload, &bytes) && 137 ConvertListValueToString(bytes, &response)) { 170 base::ListValue* bytes = new base::ListValue(); local 172 bytes->AppendInteger(static_cast<unsigned char>(*i)); 174 request.Set(kDataPayload, bytes);
|
/external/chromium_org/remoting/host/win/ |
launch_process_with_token.cc | 264 DWORD bytes; local 266 if (!ReadFile(pipe, &response, sizeof(response), &bytes, NULL)) { 273 if (bytes != sizeof(response)) { 359 DWORD bytes; local 360 if (!WriteFile(pipe, buffer.get(), size, &bytes, NULL)) {
|
/external/chromium_org/sandbox/linux/suid/ |
sandbox.c | 121 ssize_t bytes; local 123 bytes = read(sv[0], &msg, 1); 124 } while (bytes == -1 && errno == EINTR); 126 if (bytes == 0) 128 if (bytes != 1) 147 bytes = write(sv[0], &reply, 1); 148 } while (bytes == -1 && errno == EINTR); 150 if (bytes != 1)
|
/external/chromium_org/sandbox/win/src/ |
policy_engine_opcodes.cc | 372 size_t bytes = lenght * sizeof(wchar_t); local 373 if (memory_size() < bytes) { 376 memory_bottom_ -= bytes; 381 memcpy(memory_bottom_, str, bytes);
|
/external/chromium_org/third_party/boringssl/src/crypto/rsa/ |
rsa.c | 286 /* len is the number of bytes of |bytes| which are valid. */ 288 /* bytes contains the DER bytes. */ 289 uint8_t bytes[19]; member in struct:pkcs1_sig_prefix 372 prefix = sig_prefix->bytes;
|
/external/chromium_org/third_party/freetype/src/pshinter/ |
pshrec.h | 102 FT_Byte* bytes; member in struct:PS_MaskRec_
|
/external/chromium_org/third_party/icu/source/common/ |
ucnv_u16.c | 112 /* copy an even number of bytes for complete UChars */ 183 length=2; /* 2 bytes to output */ 196 length=0; /* from here on, length counts the bytes in overflow[] */ 215 length=4; /* 4 bytes to output */ 232 /* output length bytes with overflow (length>targetCapacity>0) */ 317 /* continue collecting bytes for the trail surrogate */ 356 * used for the lead unit's bytes 374 /* copy an even number of bytes for complete UChars */ 536 /* too few (2 or 3) bytes for a surrogate pair: truncated code point */ 537 uint8_t *bytes=pArgs->converter->toUBytes local 554 uint8_t *bytes=pArgs->converter->toUBytes; local 1136 uint8_t *bytes=pArgs->converter->toUBytes; local 1153 uint8_t *bytes=pArgs->converter->toUBytes; local [all...] |
ucnv_u7.c | 214 uint8_t *bytes; local 244 bytes=cnv->toUBytes; 271 bytes[0]=b; 304 * base64 bytes, while nextSourceIndex is precisely parallel to source, 310 bytes[byteIndex++]=b=*source++; 332 bytes[0]=PLUS; 357 /* collect base64 bytes into UChars */ 377 bytes[0]=b; /* keep this byte in case an error occurs */ 388 bytes[0]=b; /* keep this byte in case an error occurs */ 587 * Output 2 or 3 base64 bytes for the remaining bits of the previous characte 896 uint8_t *bytes; local [all...] |
/external/chromium_org/third_party/icu/source/common/unicode/ |
bytestrie.h | 55 * The BytesTrie object will not read more bytes than 106 State() { bytes=NULL; } 110 const uint8_t *bytes; member in class:BytesTrie::State 123 state.bytes=bytes_; 140 if(bytes_==state.bytes && bytes_!=NULL) { 233 * @return the number of bytes which continue the byte sequence from here 246 * @param trieBytes The trie bytes. 432 // encode match values or continue matching further bytes. 439 // - Linear-match node: Matches a number of bytes. 441 // The node byte is the length of the branch (number of bytes to select from [all...] |
/external/chromium_org/third_party/icu/source/test/cintltst/ |
ucsdetst.c | 75 char *bytes = NEW_ARRAY(char, byteCount + 1); local 76 char *dest = bytes, *destLimit = bytes + byteCount + 1; 82 return bytes; 85 static void freeBytes(char *bytes) 87 DELETE_ARRAY(bytes); 125 char *bytes; local 131 bytes = extractBytes(s, sLength, "UTF-8", &byteLength); 133 ucsdet_setText(csd, bytes, byteLength, &status); 155 freeBytes(bytes); 287 char *bytes; local 475 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength); local 553 char *bytes = extractBytes(chars, cLength, "IBM420", &bLength); local [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
tscoll.cpp | 386 const uint8_t *bytes = source.getByteArray(byteCount); local 396 appendHex(bytes[i], 2, target);
|
uobjtest.cpp | 510 char *bytes = stackMemory.bytes_; local 514 p=new(bytes) UnicodeString(len, (UChar32)0x20ac, len); 515 if((void *)p!=(void *)bytes) { 556 UnicodeString::operator delete(p, bytes);
|