Searched defs:total_length (Results 1 - 25 of 35) sorted by relevance

12

/external/chromium_org/ui/gfx/range/
H A Drange_win.cc13 Range::Range(const CHARRANGE& range, LONG total_length) { argument
21 // so use the |total_length| parameter.
24 DCHECK_NE(-1, total_length);
25 set_end(total_length);
/external/oprofile/libdb/
H A Ddb_stat.c31 double total_length = 0.0; local
62 total_length += cur_length;
68 result->average_list_length = total_length / nr_non_empty_list;
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dskia_utils_gtk2.cc53 int total_length = w * h; local
58 for (int i = 0; i < total_length; ++i, gdk_pixels += 4) {
/external/chromium_org/chrome/installer/util/
H A Ddelete_after_reboot_helper.cc220 size_t total_length = total_wchars * sizeof(wchar_t); local
221 buffer->resize(total_length);
/external/chromium_org/third_party/iccjpeg/
H A Diccjpeg.c173 unsigned int total_length; local
212 total_length = 0;
216 data_offset[seq_no] = total_length;
217 total_length += data_length[seq_no];
220 if (total_length <= 0)
224 icc_data = (JOCTET *) malloc(total_length * sizeof(JOCTET));
245 *icc_data_len = total_length;
/external/chromium_org/media/audio/sounds/
H A Dwav_audio_handler.cc66 uint32 total_length = std::min(ReadInt<uint32>(wav_data, 4), local
69 while (offset < total_length) {
/external/chromium_org/third_party/smhasher/src/
H A DPMurHash.c262 /* Finalize a hash. To match the original Murmur3A the total_length must be provided */
263 uint32_t PMurHash32_Result(uint32_t h, uint32_t carry, uint32_t total_length) argument
271 h ^= total_length;
/external/chromium_org/v8/test/cctest/
H A Dtest-utils.cc186 int total_length = 0; local
197 total_length += seq_length;
200 CHECK_EQ(total_length, result.length());
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dndef.c29 u32 total_length; member in struct:ndef_record
70 record->total_length = pos - data;
71 if (record->total_length > size)
92 data += record.total_length;
93 len -= record.total_length;
/external/wpa_supplicant_8/src/wps/
H A Dndef.c29 u32 total_length; member in struct:ndef_record
70 record->total_length = pos - data;
71 if (record->total_length > size)
92 data += record.total_length;
93 len -= record.total_length;
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dndef.c29 u32 total_length; member in struct:ndef_record
70 record->total_length = pos - data;
71 if (record->total_length > size)
92 data += record.total_length;
93 len -= record.total_length;
/external/chromium_org/net/http/
H A Dpartial_data.cc259 int64 total_length = headers->GetContentLength();
260 if (total_length <= 0)
268 resource_size_ = total_length;
333 int64 start, end, total_length; local
334 if (!headers->GetContentRange(&start, &end, &total_length))
336 if (total_length <= 0)
349 resource_size_ = total_length;
356 } else if (resource_size_ != total_length) {
/external/chromium_org/ui/gfx/
H A Dskia_util.cc172 int total_length = pixel_width * 4; local
173 for (int i = 0; i < total_length; i += 4) {
/external/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunication.cpp367 size_t total_length = 0; local
375 content_length = total_length = 1; // The command is one byte long...
392 total_length = hash_pos + 3; // Skip the # and the two hex checksum bytes
441 else if (total_length > 0)
446 assert (total_length <= m_bytes.size());
447 assert (content_length <= total_length);
462 log->Printf ("<%4zu> read packet: %.*s", total_length, (int)(total_length), m_bytes.c_str());
465 m_history.AddPacket (m_bytes.c_str(), total_length, History::ePacketTypeRecv, total_length);
[all...]
/external/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFDebugLine.h57 total_length(0),
73 uint32_t total_length; // The size in bytes of the statement information for this compilation unit (not including the total_length field itself). member in struct:DWARFDebugLine::Prologue
86 uint32_t Length() const { return prologue_length + sizeof(total_length) + sizeof(version) + sizeof(prologue_length); }
88 uint32_t StatementTableLength() const { return total_length + sizeof(total_length) - Length(); }
95 total_length = version = prologue_length = min_inst_length = line_base = line_range = opcode_base = 0;
/external/ppp/pppd/plugins/radius/
H A Dsendserver.c36 int total_length = 0; local
70 total_length += length+8;
80 total_length += length+8;
124 total_length += padded_length + 2;
151 total_length += CHAP_VALUE_LENGTH + 2;
162 total_length += length + 2;
171 total_length += sizeof (UINT4) + 2;
182 return total_length;
205 int total_length; local
268 total_length
[all...]
/external/srec/srec/ca/
H A Dann_api.c316 int total_length; local
468 total_length = 0;
470 total_length += hAnnotation->data->tcp[ii].end;
471 if (total_length > hPattern->data.prep->end.max_annotation_frames)
485 if (total_length < hPattern->data.prep->end.min_annotation_frames)
/external/chromium_org/device/usb/
H A Dusb_device_handle_impl.cc454 const uint64 total_length = packets * packet_length; local
455 CHECK(packets <= length && total_length <= length)
/external/chromium_org/content/common/gpu/media/
H A Drendering_helper.cc562 // |lengths| proportionally so that the sum of them equal to |total_length|.
566 int total_length) {
569 lengths->at(i) = lengths->at(i) * total_length / sum;
564 ScaleAndCalculateOffsets(std::vector<int>* lengths, std::vector<int>* offsets, int total_length) argument
/external/chromium_org/net/server/
H A Dweb_socket.cc357 size_t total_length = actual_masking_key_length + payload_length; local
358 if (static_cast<size_t>(buffer_end - p) < total_length)
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dblock_splitter.cc52 size_t total_length = 0; local
54 total_length += cmds[i].insert_length_;
56 if (total_length == 0) {
61 literals->resize(total_length);
66 for (int i = 0; i < cmds.size() && pos < total_length; ++i) {
375 int total_length = 0; local
380 if (total_length > length_limit) {
383 total_length = 0;
386 total_length += cmd_length;
/external/libpcap/
H A Dsf-pcap-ng.c72 bpf_u_int32 total_length; member in struct:block_header
79 bpf_u_int32 total_length; member in struct:block_trailer
267 bhdr.total_length = SWAPLONG(bhdr.total_length);
277 if (bhdr.total_length > 16*1024*1024) {
280 bhdr.total_length, 16*1024*1024);
288 if (bhdr.total_length < sizeof(struct block_header) +
292 bhdr.total_length,
300 if (p->bufsize < bhdr.total_length) {
304 p->buffer = realloc(p->buffer, bhdr.total_length);
649 bpf_u_int32 total_length; local
[all...]
/external/oprofile/opjitconv/
H A Ddebug_line.c89 uword total_length; member in struct:debug_line_header
121 uword total_length; member in struct:compilation_unit_header
401 dbg_header->total_length = (b->size - old_size) -
420 comp_unit_header->total_length = (b->size - old_size) -
/external/android-clat/
H A Dclatd_test.cpp290 size_t total_length, pos = 0; local
342 total_length = headersize;
348 total_length += payload_length;
349 ASSERT_LT(total_length, *reassembled_len) << msg << ": Reassembly buffer too small\n";
356 ASSERT_EQ(total_length, pos) << msg << ": Reassembled packet length incorrect\n";
359 ip->tot_len = htons(total_length);
366 ip6->ip6_plen = htons(total_length - sizeof(*ip6));
371 *reassembled_len = total_length;
778 size_t total_length = sizeof(reassembled); local
780 reassembled, &total_length, "Reassembl
782 ASSERT_EQ(sizeof(kReassembledIPv4), total_length) << "IPv4 reassembly sanity check: length\\n"; local
[all...]
/external/chromium_org/extensions/browser/api/usb/
H A Dusb_api.cc1124 const uint64 total_length = packets * packet_length; local
1125 if (packets > size || total_length > size) {

Completed in 5895 milliseconds

12