Searched defs:byte_count (Results 1 - 25 of 66) sorted by relevance

123

/external/chromium_org/net/udp/
H A Dudp_net_log_parameters.cc16 base::Value* NetLogUDPDataTranferCallback(int byte_count, argument
21 dict->SetInteger("byte_count", byte_count);
23 dict->SetString("hex_encoded_bytes", base::HexEncode(bytes, byte_count));
39 int byte_count,
43 return base::Bind(&NetLogUDPDataTranferCallback, byte_count, bytes, address);
38 CreateNetLogUDPDataTranferCallback( int byte_count, const char* bytes, const IPEndPoint* address) argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
H A Dloader.cpp24 unsigned byte_count; local
34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
H A Dradeon_llvm_emit.cpp84 unsigned * byte_count, const char * gpu_family,
149 *byte_count = data.length();
83 radeon_llvm_compile(LLVMModuleRef M, unsigned char ** bytes, unsigned * byte_count, const char * gpu_family, unsigned dump) argument
/external/mesa3d/src/gallium/drivers/radeon/
H A Dloader.cpp24 unsigned byte_count; local
34 radeon_llvm_compile(wrap(mod), &bytes, &byte_count, TargetGPUName.c_str(), 1); local
H A Dradeon_llvm_emit.cpp84 unsigned * byte_count, const char * gpu_family,
149 *byte_count = data.length();
83 radeon_llvm_compile(LLVMModuleRef M, unsigned char ** bytes, unsigned * byte_count, const char * gpu_family, unsigned dump) argument
/external/chromium_org/chromeos/dbus/
H A Dpipe_reader.cc50 void PipeReader::OnDataReady(int byte_count) { argument
51 DVLOG(1) << "OnDataReady byte_count " << byte_count;
52 if (byte_count <= 0) {
57 AcceptData(io_buffer_->data(), byte_count);
75 void PipeReaderForString::AcceptData(const char *data, int byte_count) { argument
76 data_.append(data, byte_count);
/external/chromium_org/components/rappor/
H A Dbyte_vector_utils.h44 explicit ByteVectorGenerator(size_t byte_count);
54 size_t byte_count() const { return byte_count_; } function in class:rappor::ByteVectorGenerator
79 HmacByteVectorGenerator(size_t byte_count,
/external/chromium_org/rlz/lib/
H A Dmachine_id.cc55 size_t byte_count = sid_string.size() * sizeof(base::string16::value_type); local
57 std::string sid_string_buffer(buffer, byte_count);
/external/chromium_org/third_party/sfntly/cpp/src/test/
H A Dchrome_subsetter.cc60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); local
61 EXPECT_EQ(byte_count, output_length);
/external/fio/crc/
H A Dmd5.h22 uint64_t byte_count; member in struct:fio_md5_ctx
/external/sfntly/cpp/src/test/
H A Dchrome_subsetter.cc60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); local
61 EXPECT_EQ(byte_count, output_length);
/external/chromium_org/chrome/installer/util/
H A Ddelete_after_reboot_helper.cc163 // |byte_count| is the length of |buffer| in bytes.
168 HRESULT MultiSZBytesToStringArray(const char* buffer, size_t byte_count, argument
174 DWORD data_len = byte_count / sizeof(wchar_t);
/external/chromium_org/extensions/browser/api/socket/
H A Dsocket.h70 // The |callback| will be called with |byte_count| or a negative number if an
73 int byte_count,
79 int byte_count,
127 int byte_count,
131 int byte_count; member in struct:extensions::Socket::WriteRequest
H A Dsocket.cc40 int byte_count,
43 write_queue_.push(WriteRequest(io_buffer, byte_count, callback));
54 DCHECK(request.byte_count >= request.bytes_written);
59 request.byte_count - request.bytes_written,
73 if (request.bytes_written < request.byte_count) {
77 DCHECK(request.bytes_written == request.byte_count);
143 int byte_count,
146 byte_count(byte_count),
39 Write(scoped_refptr<net::IOBuffer> io_buffer, int byte_count, const CompletionCallback& callback) argument
142 WriteRequest(scoped_refptr<net::IOBuffer> io_buffer, int byte_count, const CompletionCallback& callback) argument
/external/jpeg/
H A Djmemansi.c99 long file_offset, long byte_count)
103 if (JFREAD(info->temp_file, buffer_address, byte_count)
104 != (size_t) byte_count)
112 long file_offset, long byte_count)
116 if (JFWRITE(info->temp_file, buffer_address, byte_count)
117 != (size_t) byte_count)
97 read_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
110 write_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
H A Djmem-android.c101 long file_offset, long byte_count)
105 if (JFREAD(info->temp_file, buffer_address, byte_count)
106 != (size_t) byte_count)
114 long file_offset, long byte_count)
118 if (JFWRITE(info->temp_file, buffer_address, byte_count)
119 != (size_t) byte_count)
99 read_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
112 write_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
H A Djmem-ashmem.c98 long file_offset, long byte_count)
100 memmove(buffer_address, info->addr + file_offset, byte_count);
107 long file_offset, long byte_count)
109 memmove(info->addr + file_offset, buffer_address, byte_count);
96 read_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
105 write_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
H A Djmemmac.c156 long file_offset, long byte_count)
158 long bytes = byte_count;
166 if ( retVal != noErr || bytes != byte_count )
174 long file_offset, long byte_count)
176 long bytes = byte_count;
184 if ( retVal != noErr || bytes != byte_count )
154 read_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
172 write_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
/external/qemu/distrib/jpeg-6b/
H A Djmem-ashmem.c97 long file_offset, long byte_count)
99 memmove(buffer_address, info->addr + file_offset, byte_count);
106 long file_offset, long byte_count)
108 memmove(info->addr + file_offset, buffer_address, byte_count);
95 read_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
104 write_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
H A Djmemansi.c99 long file_offset, long byte_count)
103 if (JFREAD(info->temp_file, buffer_address, byte_count)
104 != (size_t) byte_count)
112 long file_offset, long byte_count)
116 if (JFWRITE(info->temp_file, buffer_address, byte_count)
117 != (size_t) byte_count)
97 read_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
110 write_backing_store(j_common_ptr cinfo, backing_store_ptr info, void FAR * buffer_address, long file_offset, long byte_count) argument
/external/chromium_org/chromeos/process_proxy/
H A Dprocess_output_watcher.cc42 size_t byte_count = 0; local
49 ++byte_count;
51 return byte_count ? byte_count : 1;
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfilesystem_test.cc383 int byte_count[256] = {0}; local
393 byte_count[buffer[i]]++;
400 double difference = byte_count[i] - expected_count;
H A Dmem_fs_node_test.cc330 int byte_count = 0; local
336 ASSERT_EQ(0, handle.Write(write_buf, strlen(write_buf), &byte_count));
337 ASSERT_EQ(byte_count, strlen(write_buf));
342 byte_count = 0;
345 ASSERT_EQ(EACCES, handle.Read(read_buf, 10, &byte_count));
346 ASSERT_EQ(0, handle.Write(write_buf, strlen(write_buf), &byte_count));
347 ASSERT_EQ(byte_count, strlen(write_buf));
352 byte_count = 0;
355 ASSERT_EQ(EACCES, handle.Write(write_buf, strlen(write_buf), &byte_count));
356 ASSERT_EQ(0, handle.Read(read_buf, sizeof(read_buf), &byte_count));
[all...]
/external/chromium_org/net/spdy/
H A Dhpack_input_stream.cc157 size_t byte_count = (bit_offset_ + bit_count) / 8; local
159 CHECK_GE(buffer_.size(), byte_count);
163 buffer_.remove_prefix(byte_count);
/external/chromium_org/third_party/sfntly/cpp/src/sample/chromium/
H A Dchrome_subsetter.cc64 int byte_count = 0; local
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file);
77 return buffer_length == byte_count;

Completed in 3964 milliseconds

123