Home
last modified time | relevance | path

Searched refs:byte_count (Results 1 – 25 of 53) sorted by relevance

123

/third_party/libjpeg/
Djmemdos.c245 long file_offset, long byte_count) in read_file_store() argument
250 if (byte_count > 65535L) /* safety check */ in read_file_store()
253 (unsigned short) byte_count)) in read_file_store()
261 long file_offset, long byte_count) in write_file_store() argument
266 if (byte_count > 65535L) /* safety check */ in write_file_store()
269 (unsigned short) byte_count)) in write_file_store()
335 long file_offset, long byte_count) in read_xms_store() argument
345 spec.length = byte_count & (~ 1L); in read_xms_store()
357 if (ODD(byte_count)) { in read_xms_store()
359 file_offset + byte_count - 1L, 2L); in read_xms_store()
[all …]
Djmemansi.c99 long file_offset, long byte_count) in read_backing_store() argument
103 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
104 != (size_t) byte_count) in read_backing_store()
112 long file_offset, long byte_count) in write_backing_store() argument
116 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
117 != (size_t) byte_count) in write_backing_store()
Djmemname.c206 long file_offset, long byte_count) in read_backing_store() argument
210 if (JFREAD(info->temp_file, buffer_address, byte_count) in read_backing_store()
211 != (size_t) byte_count) in read_backing_store()
219 long file_offset, long byte_count) in write_backing_store() argument
223 if (JFWRITE(info->temp_file, buffer_address, byte_count) in write_backing_store()
224 != (size_t) byte_count) in write_backing_store()
Djmemmac.c156 long file_offset, long byte_count) in read_backing_store() argument
158 long bytes = byte_count; in read_backing_store()
166 if ( retVal != noErr || bytes != byte_count ) in read_backing_store()
174 long file_offset, long byte_count) in write_backing_store() argument
176 long bytes = byte_count; in write_backing_store()
184 if ( retVal != noErr || bytes != byte_count ) in write_backing_store()
Djmemsys.h144 long file_offset, long byte_count));
148 long file_offset, long byte_count));
Djmemmgr.c690 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_sarray_io() local
705 byte_count = rows * bytesperrow; in do_sarray_io()
709 file_offset, byte_count); in do_sarray_io()
713 file_offset, byte_count); in do_sarray_io()
714 file_offset += byte_count; in do_sarray_io()
723 long bytesperrow, file_offset, byte_count, rows, thisrow, i; in do_barray_io() local
738 byte_count = rows * bytesperrow; in do_barray_io()
742 file_offset, byte_count); in do_barray_io()
746 file_offset, byte_count); in do_barray_io()
747 file_offset += byte_count; in do_barray_io()
/third_party/curl/lib/
Dsmb.h129 unsigned short byte_count; member
149 unsigned short byte_count; member
158 unsigned short byte_count; member
177 unsigned short byte_count; member
208 unsigned short byte_count; member
224 unsigned short byte_count; member
232 unsigned short byte_count; member
237 unsigned short byte_count; member
Dsmb.c454 size_t byte_count = sizeof(lm) + sizeof(nt); in smb_send_setup() local
455 byte_count += strlen(smbc->user) + strlen(smbc->domain); in smb_send_setup()
456 byte_count += strlen(OS) + strlen(CLIENTNAME) + 4; /* 4 null chars */ in smb_send_setup()
457 if(byte_count > sizeof(msg.bytes)) in smb_send_setup()
487 byte_count = p - msg.bytes; in smb_send_setup()
488 msg.byte_count = smb_swap16((unsigned short)byte_count); in smb_send_setup()
491 sizeof(msg) - sizeof(msg.bytes) + byte_count); in smb_send_setup()
501 size_t byte_count = strlen(conn->host.name) + strlen(smbc->share); in smb_send_tree_connect() local
502 byte_count += strlen(SERVICENAME) + 5; /* 2 nulls and 3 backslashes */ in smb_send_tree_connect()
503 if(byte_count > sizeof(msg.bytes)) in smb_send_tree_connect()
[all …]
/third_party/boost/boost/multiprecision/cpp_int/
Dserialize.hpp54 std::size_t byte_count; in do_serialize() local
55 ar& make_nvp("byte-count", byte_count); in do_serialize()
56 limb_count = byte_count / sizeof(limb_type) + ((byte_count % sizeof(limb_type)) ? 1 : 0); in do_serialize()
62 for (std::size_t j = 0; (j < sizeof(limb_type)) && byte_count; ++j) in do_serialize()
67 --byte_count; in do_serialize()
86 std::size_t byte_count = limb_count * sizeof(limb_type); in do_serialize() local
87 ar& make_nvp("byte-count", byte_count); in do_serialize()
109 std::size_t byte_count; in do_serialize() local
110 ar& make_nvp("byte-count", byte_count); in do_serialize()
111 for (std::size_t i = 0; i < byte_count; ++i) in do_serialize()
/third_party/openssl/ssl/
Dbio_ssl.c31 size_t byte_count; member
112 sb->byte_count += *readbytes; in ssl_read()
113 if (sb->byte_count > sb->renegotiate_count) { in ssl_read()
114 sb->byte_count = 0; in ssl_read()
181 bs->byte_count += *written; in ssl_write()
182 if (bs->byte_count > bs->renegotiate_count) { in ssl_write()
183 bs->byte_count = 0; in ssl_write()
376 dbs->byte_count = bs->byte_count; in ssl_ctrl()
/third_party/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc64 int byte_count = 0; in SaveFile() local
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
77 return buffer_length == byte_count; in SaveFile()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/sample/chromium/
Dchrome_subsetter.cc64 int byte_count = 0; in SaveFile() local
73 byte_count = fwrite(output_buffer, 1, buffer_length, output_file); in SaveFile()
77 return buffer_length == byte_count; in SaveFile()
/third_party/flutter/skia/third_party/externals/sfntly/cpp/src/test/
Dchrome_subsetter.cc60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); in TestChromeSubsetter() local
61 EXPECT_EQ(byte_count, output_length); in TestChromeSubsetter()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/
Dchrome_subsetter.cc60 int byte_count = fwrite(output_buffer, 1, output_length, output_file); in TestChromeSubsetter() local
61 EXPECT_EQ(byte_count, output_length); in TestChromeSubsetter()
/third_party/boost/boost/
Dcrc.hpp84 std::size_t byte_count);
89 std::size_t byte_count,
196 void process_bytes( void const *buffer, std::size_t byte_count );
292 void process_bytes( void const *buffer, std::size_t byte_count );
1867 std::size_t byte_count in process_bytes() argument
1873 process_block( b, b + byte_count ); in process_bytes()
2095 std::size_t byte_count in process_bytes() argument
2099 *>(buffer), byte_count ); in process_bytes()
2224 std::size_t byte_count in crc() argument
2228 computer.process_bytes( buffer, byte_count ); in crc()
[all …]
/third_party/boost/libs/crc/test/
Dcrc_test.cpp86 boost::uint32_t basic_crc32( void const *buffer, std::size_t byte_count );
87 boost::uint32_t optimal_crc32( void const *buffer, std::size_t byte_count );
88 boost::uint32_t quick_crc32( void const *buffer, std::size_t byte_count );
261 std::size_t byte_count in basic_crc32() argument
268 computer.process_bytes( buffer, byte_count ); in basic_crc32()
278 std::size_t byte_count in optimal_crc32() argument
284 computer.process_bytes( buffer, byte_count ); in optimal_crc32()
313 std::size_t byte_count in quick_crc32() argument
360 byte_type const * const b_end = b_begin + byte_count; in quick_crc32()
/third_party/skia/third_party/externals/expat/expat/tests/
Dstructdata.c58 size_t byte_count = (xcstrlen(s) + 1) * sizeof(XML_Char); in xmlstrdup() local
59 XML_Char *dup = malloc(byte_count); in xmlstrdup()
62 memcpy(dup, s, byte_count); in xmlstrdup()
/third_party/expat/tests/
Dstructdata.c58 size_t byte_count = (xcstrlen(s) + 1) * sizeof(XML_Char); in xmlstrdup() local
59 XML_Char *dup = malloc(byte_count); in xmlstrdup()
62 memcpy(dup, s, byte_count); in xmlstrdup()
/third_party/uboot/u-boot-2020.01/drivers/usb/gadget/hiudc3/
Dusb3_pcd.c1149 uint32_t byte_count, len; in usb3_handle_ep0() local
1168 byte_count = req->length - usb3_get_xfercnt(desc); in usb3_handle_ep0()
1169 req->actual += byte_count; in usb3_handle_ep0()
1170 req->bufdma += byte_count; in usb3_handle_ep0()
1202 byte_count = len - usb3_get_xfercnt(desc); in usb3_handle_ep0()
1203 req->actual += byte_count; in usb3_handle_ep0()
1204 req->bufdma += byte_count; in usb3_handle_ep0()
1283 uint32_t byte_count; in usb3_ep_complete_request() local
1307 byte_count = req->length - in usb3_ep_complete_request()
1309 req->actual += byte_count; in usb3_ep_complete_request()
[all …]
/third_party/libsnd/tests/
Dbenchmark.tpl144 int fd, k, byte_count, retval, op_count ;
149 byte_count = BUFFER_SIZE * sizeof (short) ;
167 { if ((retval = write (fd, data, byte_count)) != byte_count)
168 { printf ("Error : write returned %d (should have been %d)\n", retval, byte_count) ;
199 { if ((retval = read (fd, data, byte_count)) != byte_count)
200 { printf ("Error : write returned %d (should have been %d)\n", retval, byte_count) ;
/third_party/skia/third_party/externals/libjpeg-turbo/
Djmemsys.h126 long byte_count);
129 long byte_count);
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djmemsys.h126 long byte_count);
129 long byte_count);
/third_party/boost/libs/compute/perf/
Dperf.hpp104 const size_t byte_count = count * sizeof(T); in perf_rate() local
106 return (double(byte_count) / 1024 / 1024) / (time / 1e9); in perf_rate()
/third_party/boost/boost/uuid/detail/
Dsha1.hpp52 void process_bytes(void const* buffer, std::size_t byte_count);
128 inline void sha1::process_bytes(void const* buffer, std::size_t byte_count) in process_bytes() argument
131 process_block(b, b+byte_count); in process_bytes()
/third_party/grpc/include/grpcpp/impl/codegen/
Dproto_buffer_reader.h131 void set_byte_count(int64_t byte_count) { byte_count_ = byte_count; } in set_byte_count() argument

123