/external/chromium_org/components/rappor/ |
rappor_service.cc | 64 16 /* Bloom filter size bytes */, 188 ByteVector bytes = metric->GetReport(secret_); local 189 report->set_bits(std::string(bytes.begin(), bytes.end()));
|
/external/chromium_org/content/child/npapi/ |
plugin_stream.cc | 66 if (headers_lc.find("accept-ranges: bytes") != std::string::npos) { 115 // bytes as returned by the WriteReady call. So, we will attempt to 116 // write that many to both streams. If we can't write that many bytes 132 size_t totalBytesWritten = 0, bytes; local 134 bytes = WriteBytes(buf, length); 135 totalBytesWritten += bytes; 136 } while (bytes > 0U && totalBytesWritten < length);
|
/external/chromium_org/content/common/gpu/ |
gpu_memory_manager.cc | 93 uint64 bytes = 0; local 94 if (client_state->client_->GetTotalGpuMemory(&bytes)) { 95 if (!bytes_min || bytes < bytes_min) 96 bytes_min = bytes;
|
/external/chromium_org/dbus/ |
message_unittest.cc | 231 std::vector<uint8> bytes; local 232 bytes.push_back(1); 233 bytes.push_back(2); 234 bytes.push_back(3); 235 writer.AppendArrayOfBytes(bytes.data(), bytes.size()); 252 std::vector<uint8> bytes; local 253 writer.AppendArrayOfBytes(bytes.data(), bytes.size()); 665 "(1000 bytes in total)\"\n" [all...] |
property_unittest.cc | 37 Property<std::vector<uint8> > bytes; member in struct:dbus::PropertyTest::Properties 48 RegisterProperty("Bytes", &bytes); 177 std::vector<uint8> bytes = properties_->bytes.value(); local 178 ASSERT_EQ(4U, bytes.size()); 179 EXPECT_EQ('T', bytes[0]); 180 EXPECT_EQ('e', bytes[1]); 181 EXPECT_EQ('s', bytes[2]); 182 EXPECT_EQ('t', bytes[3]) 241 std::vector<uint8> bytes = properties_->bytes.value(); local [all...] |
/external/chromium_org/mojo/system/ |
message_in_transit.cc | 91 const void* bytes) 96 if (bytes) { 97 memcpy(MessageInTransit::bytes(), bytes, num_bytes); local 98 memset(static_cast<char*>(MessageInTransit::bytes()) + num_bytes, 102 memset(MessageInTransit::bytes(), 0, main_buffer_size_ - sizeof(Header)); 109 UserPointer<const void> bytes) 114 bytes.GetArray(MessageInTransit::bytes(), num_bytes);
|
/external/chromium_org/native_client_sdk/src/libraries/xray/ |
hashtable.c | 154 size_t bytes; local 167 bytes = sizeof(table->array[0]) * capacity; 170 table->array = (struct XRayHashTableEntry*)XRayMalloc(bytes);
|
/external/chromium_org/net/disk_cache/blockfile/ |
file_ios.cc | 140 int bytes = operation->result(); local 144 callback->OnFileIOComplete(bytes);
|
/external/chromium_org/net/server/ |
http_connection.cc | 56 void HttpConnection::ReadIOBuffer::DidRead(int bytes) { 57 DCHECK_GE(RemainingCapacity(), bytes); local 58 base_->set_offset(base_->offset() + bytes); 66 void HttpConnection::ReadIOBuffer::DidConsume(int bytes) { 68 int unconsumed_size = previous_size - bytes; 72 memmove(StartOfBuffer(), StartOfBuffer() + bytes, unconsumed_size);
|
/external/chromium_org/net/tools/flip_server/ |
flip_in_mem_edsm_server.cc | 144 int bytes = static_cast<int>(strlen(pid_str)); local 145 if (write(fd, pid_str, strlen(pid_str)) != bytes) {
|
/external/chromium_org/ppapi/native_client/tests/nacl_browser/fault_injection/ |
fault_pm_nameservice_test.cc | 44 nacl::scoped_array<uint8_t> bytes; local 48 bytes.reset(new uint8_t[nbytes]); 49 if (NULL == bytes.get()) { 56 copied = read(d, bytes.get() + got, nbytes - got); 72 sb->Printf("%02x", bytes[ix]);
|
/external/chromium_org/storage/common/ |
data_element.h | 21 // bytes, file or blob data. 36 const char* bytes() const { return bytes_ ? bytes_ : &buf_[0]; } function in class:storage::DataElement 47 void SetToBytes(const char* bytes, int bytes_len) { 49 buf_.assign(bytes, bytes + bytes_len); 55 void SetToSharedBytes(const char* bytes, int bytes_len) { 57 bytes_ = bytes; 105 return memcmp(a.bytes(), b.bytes(), b.length()) == 0;
|
/external/chromium_org/third_party/WebKit/Source/core/html/canvas/ |
DataView.cpp | 41 char bytes[sizeof(T)]; member in union:__anon15715::Value 143 memcpy(value.bytes, static_cast<const char*>(m_baseAddress) + byteOffset, sizeof(T)); 144 flipBytesIfNeeded(value.bytes, sizeof(T), littleEndian); 159 flipBytesIfNeeded(tempValue.bytes, sizeof(T), littleEndian); 160 memcpy(static_cast<char*>(m_baseAddress) + byteOffset, tempValue.bytes, sizeof(T));
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
formatutils.h | 53 GLuint bytes; member in struct:gl::Type
|
/external/chromium_org/third_party/boringssl/src/crypto/bytestring/ |
cbs.c | 268 CBS bytes; local 272 if (!CBS_get_asn1(cbs, &bytes, CBS_ASN1_INTEGER)) { 277 data = CBS_data(&bytes); 278 len = CBS_len(&bytes);
|
/external/chromium_org/third_party/icu/source/io/ |
ufmt_cmn.c | 170 uint8_t bytes[sizeof(void*)]; member in union:__anon16785 214 result.bytes[resultIdx] = byte;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
convtest.h | 38 const uint8_t *bytes; member in struct:ConversionCase
|
/external/chromium_org/third_party/libevent/ |
event_tagging.c | 124 int bytes = 0; local 135 data[bytes++] = lower; 139 evbuffer_add(evbuf, data, bytes); 141 return (bytes); 184 * tag number: one byte; length: var bytes; payload: var bytes
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
fakenetworkinterface.h | 72 int bytes = 0; local 74 bytes += static_cast<int>(rtp_packets_[i].length()); 76 return bytes; 81 int bytes = 0; local 82 GetNumRtpBytesAndPackets(ssrc, &bytes, NULL); 83 return bytes; 215 void GetNumRtpBytesAndPackets(uint32 ssrc, int* bytes, int* packets) { 216 if (bytes) { 217 *bytes = 0; 229 if (bytes) { [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
lp_bld_debug.cpp | 141 const uint8_t *Bytes; 144 BufferMemoryObject(const uint8_t *bytes, uint64_t length) : 145 Bytes(bytes), Length(length) 163 *byte = Bytes[addr]; 183 const uint8_t *bytes = (const uint8_t *)func; local 290 BufferMemoryObject memoryObject((const uint8_t *)bytes, extent); 317 * Output the bytes in hexidecimal format. 323 debug_printf("%02x ", ((const uint8_t*)bytes)[pc + i]); 423 debug_printf("disassemble %p %p\n", bytes, bytes + pc) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_transfer.c | 227 unsigned bytes = MIN2(size, 1 << 17); local 236 PUSH_DATA (push, bytes); 241 srcoff += bytes; 242 dstoff += bytes; 243 size -= bytes;
|
/external/chromium_org/third_party/mesa/src/src/glsl/ |
main.cpp | 83 size_t bytes = fread(text + total_read, local 85 if (bytes < size - total_read) { 91 if (bytes == 0) { 95 total_read += bytes;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_dma.c | 216 aligned to next 16 bytes. */ 267 int bytes, int alignment) 270 fprintf(stderr, "%s %d\n", __FUNCTION__, bytes); 281 || rmesa->dma.current_used + bytes > first_elem(&rmesa->dma.reserved)->bo->size) 282 radeonRefillCurrentDmaRegion(rmesa, bytes); 288 /* Always align to at least 16 bytes */ 289 rmesa->dma.current_used = (rmesa->dma.current_used + bytes + 15) & ~15; 454 GLuint bytes = vsize * nverts; local 460 ||rmesa->dma.current_vertexptr + bytes > first_elem(&rmesa->dma.reserved)->bo->size) { 465 radeonRefillCurrentDmaRegion(rmesa, bytes); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_texture.c | 70 GLuint bytes = _mesa_format_image_size(texImage->TexFormat, texImage->Width, local 75 swImg->Buffer = _mesa_align_malloc(bytes, 512); 181 * \param rowStrideOut returns row stride (in bytes)
|
/external/chromium_org/third_party/opus/src/src/ |
opus.c | 174 int i, bytes; local 214 bytes = parse_size(data, len, size); 215 len -= bytes; 218 data += bytes; 256 bytes = parse_size(data, len, size+i); 257 len -= bytes; 260 data += bytes; 261 last_size -= bytes+size[i]; 279 bytes = parse_size(data, len, size+count-1); 280 len -= bytes; [all...] |