Home
last modified time | relevance | path

Searched refs:tot (Results 1 - 25 of 26) sorted by relevance

12

/third_party/ltp/tools/sparse/sparse-src/
H A Dstats.c11 static void show_stats(get_t get, struct allocator_stats * tot) in show_stats() argument
18 x = *tot; in show_stats()
24 tot->allocations += x.allocations; in show_stats()
25 tot->useful_bytes += x.useful_bytes; in show_stats()
26 tot->total_bytes += x.total_bytes; in show_stats()
31 struct allocator_stats tot = { .name = "total", }; in show_allocation_stats() local
35 show_stats(get_token_stats, &tot); in show_allocation_stats()
36 show_stats(get_ident_stats, &tot); in show_allocation_stats()
37 show_stats(get_symbol_stats, &tot); in show_allocation_stats()
38 show_stats(get_expression_stats, &tot); in show_allocation_stats()
[all...]
/third_party/selinux/libselinux/utils/
H A Davcstat.c97 struct avc_cache_stats tot, rel, last; in main() local
180 memset(&tot, 0, sizeof(tot)); in main()
195 tot.lookups += tmp.lookups; in main()
196 tot.hits += tmp.hits; in main()
197 tot.misses += tmp.misses; in main()
198 tot.allocations += tmp.allocations; in main()
199 tot.reclaims += tmp.reclaims; in main()
200 tot.frees += tmp.frees; in main()
209 tot in main()
[all...]
/third_party/node/deps/openssl/openssl/crypto/bn/asm/
H A Dco-586.pl120 local($tot,$end);
134 $tot=$num+$num-1;
148 for ($i=0; $i<$tot; $i++)
162 $v=2 if (($i+1) == $tot);
211 local($b,$tot,$end,$half);
235 $tot=$num+$num-1;
237 for ($i=0; $i<$tot; $i++)
250 $v=2 if ($i+1) == $tot;
/third_party/openssl/crypto/bn/asm/
H A Dco-586.pl120 local($tot,$end);
134 $tot=$num+$num-1;
148 for ($i=0; $i<$tot; $i++)
162 $v=2 if (($i+1) == $tot);
211 local($b,$tot,$end,$half);
235 $tot=$num+$num-1;
237 for ($i=0; $i<$tot; $i++)
250 $v=2 if ($i+1) == $tot;
/third_party/zlib/examples/
H A Dgzjoin.c265 local void gzinit(unsigned long *crc, unsigned long *tot, FILE *out) in gzinit() argument
269 *tot = 0; in gzinit()
275 the output, and the gzip trailer is written. crc and tot maintains the
278 of gzcopy() to write the gzip header and to initialize crc and tot. */
279 local void gzcopy(char *name, int clr, unsigned long *crc, unsigned long *tot, in gzcopy() argument
410 /* update crc and tot */ in gzcopy()
412 *tot += (unsigned long)len; in gzcopy()
422 put4(*tot, out); in gzcopy()
429 unsigned long crc, tot; /* running crc and total uncompressed length */ in main() local
443 gzinit(&crc, &tot, stdou in main()
[all...]
H A Dgzappend.c263 unsigned long crc, tot; in gzscan() local
345 tot = strm->total_out; in gzscan()
346 if ((tot & 0xffffffffUL) != read4(&gz)) in gzscan()
372 strm->total_in = tot; in gzscan()
H A Denough.c229 big_t tot; // total number of codes with maximum tables size member
/third_party/node/deps/openssl/openssl/ssl/record/
H A Drec_layer_s3.c352 size_t tot; in ssl3_write_bytes() local
362 tot = s->rlayer.wnum; in ssl3_write_bytes()
368 * possible to end up with (len-tot) as a large number that will then in ssl3_write_bytes()
417 i = ssl3_write_pending(s, type, &buf[tot], s->rlayer.wpend_tot, in ssl3_write_bytes()
421 s->rlayer.wnum = tot; in ssl3_write_bytes()
424 tot += tmpwrit; /* this might be last fragment */ in ssl3_write_bytes()
451 if (tot == 0 || wb->buf == NULL) { /* allocate jumbo buffer */ in ssl3_write_bytes()
467 } else if (tot == len) { /* done? */ in ssl3_write_bytes()
470 *written = tot; in ssl3_write_bytes()
474 n = (len - tot); in ssl3_write_bytes()
[all...]
/third_party/openssl/ssl/record/
H A Drec_layer_s3.c363 size_t tot; in ssl3_write_bytes() local
373 tot = s->rlayer.wnum; in ssl3_write_bytes()
379 * possible to end up with (len-tot) as a large number that will then in ssl3_write_bytes()
428 i = ssl3_write_pending(s, type, &buf[tot], s->rlayer.wpend_tot, in ssl3_write_bytes()
432 s->rlayer.wnum = tot; in ssl3_write_bytes()
435 tot += tmpwrit; /* this might be last fragment */ in ssl3_write_bytes()
462 if (tot == 0 || wb->buf == NULL) { /* allocate jumbo buffer */ in ssl3_write_bytes()
478 } else if (tot == len) { /* done? */ in ssl3_write_bytes()
481 *written = tot; in ssl3_write_bytes()
485 n = (len - tot); in ssl3_write_bytes()
[all...]
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
H A Dalexa.c173 int tot = 0; in drain_end_cb() local
215 tot += s; in drain_end_cb()
232 lws_ss_add_peer_tx_credit(m->ss, tot); in drain_end_cb()
246 lws_ss_add_peer_tx_credit(m->ss, tot); in drain_end_cb()
455 size_t tot; in ss_avs_metadata_tx() local
507 tot = strlen(metadata); in ss_avs_metadata_tx()
512 if (*len > tot - m->pos) in ss_avs_metadata_tx()
513 *len = tot - m->pos; in ss_avs_metadata_tx()
519 if (m->pos == tot) { in ss_avs_metadata_tx()
/third_party/node/deps/openssl/openssl/crypto/comp/
H A Dc_zlib.c416 int tot = outl - zin->avail_out; in bio_zlib_read() local
419 return (tot > 0) ? tot : ret; in bio_zlib_read()
420 return tot; in bio_zlib_read()
467 int tot = inl - zout->avail_in; in bio_zlib_write() local
470 return (tot > 0) ? tot : ret; in bio_zlib_write()
471 return tot; in bio_zlib_write()
/third_party/openssl/crypto/comp/
H A Dc_zlib.c416 int tot = outl - zin->avail_out; in bio_zlib_read() local
419 return (tot > 0) ? tot : ret; in bio_zlib_read()
420 return tot; in bio_zlib_read()
467 int tot = inl - zout->avail_in; in bio_zlib_write() local
470 return (tot > 0) ? tot : ret; in bio_zlib_write()
471 return tot; in bio_zlib_write()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-avs/
H A Davs.c163 size_t tot; in ss_avs_metadata_tx() local
199 tot = strlen(metadata); in ss_avs_metadata_tx()
204 if (*len > tot - m->pos) in ss_avs_metadata_tx()
205 *len = tot - m->pos; in ss_avs_metadata_tx()
211 if (m->pos == tot) { in ss_avs_metadata_tx()
/third_party/node/deps/openssl/openssl/crypto/asn1/
H A Dasn1_parse.c97 const unsigned char *p, *ep, *tot, *op, *opp; in asn1_parse2() local
115 tot = p + length; in asn1_parse2()
143 r = asn1_parse2(bp, &p, (long)(tot - p), in asn1_parse2()
148 if ((r == 2) || (p >= tot)) { in asn1_parse2()
/third_party/openssl/crypto/asn1/
H A Dasn1_parse.c97 const unsigned char *p, *ep, *tot, *op, *opp; in asn1_parse2() local
115 tot = p + length; in asn1_parse2()
143 r = asn1_parse2(bp, &p, (long)(tot - p), in asn1_parse2()
148 if ((r == 2) || (p >= tot)) { in asn1_parse2()
/third_party/node/deps/openssl/openssl/crypto/txt_db/
H A Dtxt_db.c190 long i, j, n, nn, l, tot = 0; in TXT_DB_write() local
227 tot += j; in TXT_DB_write()
229 ret = tot; in TXT_DB_write()
/third_party/openssl/crypto/txt_db/
H A Dtxt_db.c190 long i, j, n, nn, l, tot = 0; in TXT_DB_write() local
227 tot += j; in TXT_DB_write()
229 ret = tot; in TXT_DB_write()
/third_party/libwebsockets/lib/misc/fts/
H A Dtrie-fd.c618 uint32_t fi, tot, line, ro, ofs_linetable, lines, fplen, in lws_fts_search() local
636 bp += rq32(&buf[bp], &tot); in lws_fts_search()
663 footprint += (int)(2 * sizeof(uint32_t) * tot); in lws_fts_search()
667 footprint += (int)(sizeof(void *) * tot); in lws_fts_search()
678 fp->matches = (int)tot; in lws_fts_search()
691 for (n = 0; (uint32_t)n < tot; n++) { in lws_fts_search()
/third_party/libwebsockets/plugins/
H A Dprotocol_lws_openmetrics_export.c113 size_t tot; /* content-length computation */ member
262 pss->tot += len; in lws_metrics_om_ac_stash()
393 pss->tot = 0; in ome_prepare()
487 pss->tot, &p, end) || in callback_lws_openmetrics_export()
865 pss->tot = 0; in callback_lws_openmetrics_prox_server()
889 pss->tot, &p, end) || in callback_lws_openmetrics_prox_server()
/third_party/ffmpeg/libavcodec/
H A Drpzaenc.c159 int tot; in diff_colors() local
161 tot = SQR(colorA[0] - colorB[0]); in diff_colors()
162 tot += SQR(colorA[1] - colorB[1]); in diff_colors()
163 tot += SQR(colorA[2] - colorB[2]); in diff_colors()
165 return tot; in diff_colors()
H A Ddiracdec.c819 int tot; member
833 o->tot = o->tot_h*o->tot_v; in subband_coeffs()
834 coef += o->tot * (4 - !!level); in subband_coeffs()
907 off += c->tot << (s->pshift + 1); in decode_hq_slice()
/third_party/skia/src/core/
H A DSkBlurMF.cpp598 float tot = 0.0f; in make_unnormalized_half_kernel() local
603 tot += value; in make_unnormalized_half_kernel()
607 return tot; in make_unnormalized_half_kernel()
617 const float tot = 2.f * make_unnormalized_half_kernel(halfKernel, halfKernelSize, sigma); in make_half_kernel_and_summed_table() local
620 halfKernel[i] /= tot; in make_half_kernel_and_summed_table()
736 const float tot = 2.f * make_unnormalized_half_kernel(halfKernel.get(), halfKernelSize, sigma); in create_half_plane_profile() local
740 halfKernel[halfKernelSize - i - 1] /= tot; in create_half_plane_profile()
/third_party/mksh/
H A Dhistrap.c724 off_t tot, mis; in hist_persist_back() local
730 if ((tot = lseek(srcfd, (off_t)0, SEEK_END)) < 0 || in hist_persist_back()
738 mis = tot; in hist_persist_back()
765 if (ftruncate(histfd, tot)) { in hist_persist_back()
/third_party/libwebsockets/lib/secure-streams/protocols/
H A Dss-mqtt.c959 size_t used_in, olen[6] = { 0, 0, 0, 0, 0, 0 }, tot = 0; in secstream_connect_munge_mqtt() local
1067 tot += olen[n] + 1; in secstream_connect_munge_mqtt()
1075 h->u.mqtt.heap_baggage = lws_malloc(tot, __func__); in secstream_connect_munge_mqtt()
/third_party/skia/third_party/externals/freetype/src/sfnt/
H A Dttcmap.c3412 FT_UInt tot = 0; in tt_cmap14_def_char_count() local
3418 tot += 1 + p[0]; in tt_cmap14_def_char_count()
3422 return tot; in tt_cmap14_def_char_count()

Completed in 28 milliseconds

12