Searched refs:total_bytes (Results 1 - 25 of 28) sorted by relevance

12

/macosx-10.10/apr-32/apr/apr/test/
H A Dreadchild.c24 apr_size_t nbytes, total_bytes; local
36 total_bytes = 0;
39 total_bytes += nbytes;
44 total_bytes);
/macosx-10.10/Libc-1044.1.2/gen/
H A Dbacktrace.c92 size_t total_bytes; local
104 total_bytes = sizeof(char*) * size;
109 total_bytes += _BACKTRACE_FORMAT_SIZE;
111 total_bytes += strlen(info[i].dli_sname);
115 total_bytes += strlen(info->dli_fname);
117 total_bytes += strlen(tmp + 1);
119 total_bytes += _BACKTRACE_ADDRESS_LEN;
123 result = (char**)malloc(total_bytes);
128 end = (intptr_t)result + total_bytes;
/macosx-10.10/cups-408/cups/backend/
H A Drunloop.c149 total_bytes, /* Total bytes written */ local
210 paperout = -1, total_bytes = 0;;)
246 else if (errno == EINTR && total_bytes == 0)
393 total_bytes += bytes;
414 return (total_bytes);
H A Dusb-libusb.c182 ssize_t total_bytes; /* Total bytes written */ local
341 total_bytes = 0;
406 if (errno == EINTR && total_bytes == 0)
541 total_bytes += bytes;
547 CUPS_LLCAST total_bytes);
552 CUPS_LLCAST total_bytes);
H A Dusb-darwin.c339 ssize_t total_bytes; /* Total bytes written */ local
547 total_bytes = 0;
612 if (errno == EINTR && total_bytes == 0)
761 total_bytes += bytes;
767 (off_t)total_bytes);
771 fprintf(stderr, "DEBUG: Sent %lld bytes...\n", (off_t)total_bytes);
/macosx-10.10/ruby-106/ruby/lib/rubygems/
H A Duser_interaction.rb488 attr_reader :file_name, :total_bytes, :progress
495 def fetch(file_name, total_bytes)
497 @total_bytes = total_bytes.to_i
498 @units = @total_bytes.zero? ? 'B' : '%'
507 ((bytes.to_f * 100) / total_bytes.to_f).ceil
/macosx-10.10/system_cmds-643.1.1/iostat.tproj/
H A Diostat.c150 u_int64_t total_bytes; member in struct:drivestats
528 u_int64_t total_bytes, total_transfers, total_blocks, total_time; local
542 total_bytes = 0;
565 total_bytes += value;
570 total_bytes += value;
607 interval_bytes = total_bytes - drivestat[i].total_bytes;
613 if ((Iflag == 0) || (drivestat[i].total_bytes == 0)) {
614 drivestat[i].total_bytes = total_bytes;
[all...]
/macosx-10.10/Libc-1044.1.2/regex/TRE/lib/
H A Dtre-match-parallel.c165 int rbytes, pbytes, total_bytes; local
171 total_bytes =
175 DPRINT(("tre_tnfa_run_parallel, allocate %d bytes\n", total_bytes));
178 buf = alloca(total_bytes);
180 buf = xmalloc((unsigned)total_bytes);
184 memset(buf, 0, (size_t)total_bytes);
H A Dtre-match-backtrack.c299 int pbytes, sbytes, total_bytes; local
305 total_bytes =
309 DPRINT(("tre_tnfa_run_backtrack, allocate %d bytes\n", total_bytes));
312 buf = alloca(total_bytes);
314 buf = xmalloc((unsigned)total_bytes);
/macosx-10.10/BerkeleyDB-21/db/repmgr/
H A Drepmgr_util.c200 v->total_bytes = 0;
217 v->total_bytes += length;
230 v->total_bytes += dbt->size;
H A Drepmgr_net.c854 msg_size = msg->iovecs.total_bytes;
/macosx-10.10/cups-408/cups/cups/
H A Dstring.c537 size_t *total_bytes) /* O - Total string bytes */
576 if (total_bytes)
577 *total_bytes = tbytes;
536 _cupsStrStatistics(size_t *alloc_bytes, size_t *total_bytes) argument
H A Dstring-private.h190 extern size_t _cupsStrStatistics(size_t *alloc_bytes, size_t *total_bytes);
/macosx-10.10/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dpipes_tests.c512 unsigned int total_bytes; member in struct:thread_work_data
616 int i = m->total_bytes/m->chunk_size;
634 int i = m->total_bytes/m->chunk_size;
/macosx-10.10/xnu-2782.1.97/bsd/vfs/
H A Dvfs_journal.c228 if (tr->total_bytes < 0) { \
229 panic("%s:%d: tr total_bytes looks bad: %d\n", __FILE__, __LINE__, tr->total_bytes); \
575 int bufsize, amt_flushed, total_bytes; local
597 total_bytes = tr->total_bytes;
616 if ((amt_flushed + bufsize) < total_bytes) {
623 if (tr->total_bytes == (int)0xfbadc0de) {
631 tr->total_bytes = 0xfbadc0de;
2520 tr->total_bytes
[all...]
H A Dvfs_journal.h92 int total_bytes; // total # of bytes in transaction member in struct:transaction
/macosx-10.10/BerkeleyDB-21/db/dbinc/
H A Drepmgr.h163 size_t total_bytes; member in struct:__anon310
/macosx-10.10/cups-408/cups/scheduler/
H A Dmain.c983 total_bytes; /* Total string bytes */ local
1005 string_count = _cupsStrStatistics(&alloc_bytes, &total_bytes);
1014 CUPS_LLCAST total_bytes);
/macosx-10.10/OpenSSL098-52/src/apps/
H A Ds_server.c2084 long total_bytes; local
2393 total_bytes=0;
2401 total_bytes+=i;
2403 if (total_bytes > 3*1024)
2405 total_bytes=0;
/macosx-10.10/system_cmds-643.1.1/sar.tproj/
H A Dsar.c1628 u_int64_t total_bytes, total_transfers, total_blocks; local
1646 total_bytes = dr->avg_BytesRead + dr->avg_BytesWritten;
1654 total_blocks = total_bytes / dr->blocksize;
1657 mb_per_second = (total_bytes / avg_interval) / (1024 *1024);
1660 ((long double)total_bytes / total_transfers)
/macosx-10.10/webdavfs-367/mount.tproj/
H A Dwebdav_parse.c1944 uint64_t total_bytes; local
1949 total_bytes = quotas.quota_available_bytes + quotas.quota_used_bytes;
1950 if ( (total_bytes >= quotas.quota_available_bytes) && (total_bytes >= quotas.quota_used_bytes) )
1960 total_blocks = ((total_bytes + bsize - 1) / bsize);
/macosx-10.10/libmalloc-53.1.1/src/
H A Dnano_malloc.c1025 size_t total_bytes = num_items * size; local
1038 if (total_bytes <= NANO_MAX_SIZE) {
1039 void *p = _nano_malloc_check_clear(nanozone, total_bytes, 1);
1047 return zone->calloc(zone, 1, total_bytes);
H A Dmagazine_malloc.c6278 size_t total_bytes = num_items * size; local
6299 return szone_malloc_should_clear(szone, total_bytes, 1);
7836 size_t total_bytes = num_items * size; local
7857 if (total_bytes <= szone->large_threshold)
7858 return szone_calloc(szone->helper_zone, 1, total_bytes);
7860 return szone_calloc(szone, 1, total_bytes);
/macosx-10.10/xnu-2782.1.97/osfmk/vm/
H A Dvm_compressor.c1498 uint64_t total_bytes; local
1500 total_bytes = compressor_object->resident_page_count * PAGE_SIZE_64;
1502 if ((total_bytes - compressor_bytes_used) > total_bytes / 10)
/macosx-10.10/smb-759.0/kernel/smbfs/
H A Dsmbfs_smb.c1902 size_t total_bytes; local
1957 total_bytes = smp->ntwrk_cnt_gid * sizeof(uint64_t);
1958 if ((total_bytes / sizeof(uint64_t)) != smp->ntwrk_cnt_gid) {
1964 if (total_bytes > SSTOVC(share)->vc_txmax) {
1969 SMB_MALLOC(smp->ntwrk_gids, uint64_t *, total_bytes, M_TEMP, M_WAITOK);

Completed in 599 milliseconds

12