Home
last modified time | relevance | path

Searched refs:total (Results 1 – 25 of 50) sorted by relevance

12

/PHP-7.3/ext/standard/tests/math/
H A Dbug75170.phpt10 $total = 10000;
13 for ($i = 0; $i < $total; $i++) {
16 printf("%.1f%% vs. %.1f%%\n", 100. * $halves[0] / $total, 100. * $halves[1] / $total);
21 $total = 10000;
24 for ($i = 0; $i < $total; $i++) {
27 printf("%.1f%% vs. %.1f%%\n", 100. * $halves[0] / $total, 100. * $halves[1] / $total);
/PHP-7.3/ext/gd/libgd/
H A Dgd_pixelate.c27 int total; in gdImagePixelate() local
30 a = r = g = b = c = total = 0; in gdImagePixelate()
42 total++; in gdImagePixelate()
46 if (total > 0) { in gdImagePixelate()
47 c = gdImageColorResolveAlpha(im, r / total, g / total, b / total, a / total); in gdImagePixelate()
H A Dgd_topal.c654 long total = 0; in compute_color() local
674 total += count; in compute_color()
686 if (total) in compute_color()
688 nim->red[icolor] = (int) ((c0total + (total >> 1)) / total); in compute_color()
689 nim->green[icolor] = (int) ((c1total + (total >> 1)) / total); in compute_color()
690 nim->blue[icolor] = (int) ((c2total + (total >> 1)) / total); in compute_color()
/PHP-7.3/ext/openssl/tests/
H A Dbug72333.phpt19 $total = 100000;
20 $result = fread($conn, $total);
29 $total += strlen($result);
30 if ($total >= 4000000) {
48 $total = 0;
54 $total += $result;
55 if ($total >= strlen($buf)) {
56 return $total;
58 $buf = substr($buf, $total);
H A Dbug74159.phpt92 $total = $written;
95 $total += $written;
99 printf("Written %%d bytes\n", $total);
/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_status.h14 int total; member
23 void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, unsigned cu…
/PHP-7.3/ext/standard/tests/array/
H A Dbug24980.phpt2 Bug #24980 (array_reduce() uses first element as default running total)
14 $total = array_reduce($numbers, 'add_up');
15 print "Total is $total\n";
/PHP-7.3/ext/sqlite3/tests/
H A Dsqlite3_25_create_aggregate.phpt13 $context = array('total' => 0, 'values' => array());
15 $context['total'] += intval($string);
16 $context['values'][] = $context['total'];
/PHP-7.3/ext/xml/tests/
H A Dbug72714.phpt16 $xml = '<ns1:total>867</ns1:total>';
H A Dbug50576.phpt14 <ns1:total>867</ns1:total>
/PHP-7.3/ext/standard/
H A Dcrypt_sha256.c61 uint32_t total[2]; member
118 ctx->total[0] += (uint32_t)len; in sha256_process_block()
119 if (ctx->total[0] < len) { in sha256_process_block()
120 ++ctx->total[1]; in sha256_process_block()
209 ctx->total[0] = ctx->total[1] = 0; in sha256_init_ctx()
226 ctx->total[0] += bytes; in sha256_finish_ctx()
227 if (ctx->total[0] < bytes) { in sha256_finish_ctx()
228 ++ctx->total[1]; in sha256_finish_ctx()
235 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
236 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
[all …]
H A Dcrypt_sha512.c55 uint64_t total[2]; member
142 ctx->total[0] += len; in sha512_process_block()
143 if (ctx->total[0] < len) { in sha512_process_block()
144 ++ctx->total[1]; in sha512_process_block()
236 ctx->total[0] = ctx->total[1] = 0; in sha512_init_ctx()
253 ctx->total[0] += bytes; in sha512_finish_ctx()
254 if (ctx->total[0] < bytes) { in sha512_finish_ctx()
255 ++ctx->total[1]; in sha512_finish_ctx()
262 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3); in sha512_finish_ctx()
263 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) | in sha512_finish_ctx()
[all …]
/PHP-7.3/Zend/
H A Dmicro_bench.php255 global $total;
260 $total += $last_time;
273 function total() function
275 global $total;
278 $num = number_format($total,3);
358 total($t0, "Total");
H A Dbench.php362 global $total;
365 $total += $end-$start;
374 function total() function
376 global $total;
379 $num = number_format($total,3);
421 total();
/PHP-7.3/sapi/cli/tests/
H A Dupload_2G.phpt53 $total = $length + strlen($prev) + strlen($post);
59 Content-Length: {$total}
/PHP-7.3/ext/pdo_oci/tests/
H A Dbug60994.phpt30 $string1 = 'abc' . str_repeat('j', 8187) . 'xyz'; // 8193 chars total works fine here (even 1 milli…
47 $string2 = 'abc' . str_repeat('£', 8187) . 'xyz'; // 8193 chars total is when it breaks
64 $string3 = 'abc' . str_repeat('Җ', 8187) . 'xyz'; // 8193 chars total is when it breaks
81 $string4 = 'abc' . str_repeat('の', 8187) . 'xyz'; // 8193 chars total is when it breaks
/PHP-7.3/ext/sysvshm/
H A Dphp_sysvshm.h62 zend_long total; member
/PHP-7.3/ext/enchant/
H A Denchant.c237 int total; in php_enchant_broker_free() local
238 total = broker->dictcnt-1; in php_enchant_broker_free()
240 if (broker->dict[total]) { in php_enchant_broker_free()
241 enchant_dict *pdict = broker->dict[total]; in php_enchant_broker_free()
242 broker->dict[total] = NULL; in php_enchant_broker_free()
246 total--; in php_enchant_broker_free()
247 } while (total>=0); in php_enchant_broker_free()
/PHP-7.3/ext/mysqli/tests/
H A Dmysqli_pconn_max_links.phpt208 ["total"]=>
216 ["total"]=>
230 ["total"]=>
242 ["total"]=>
250 ["total"]=>
265 ["total"]=>
/PHP-7.3/sapi/fpm/tests/
H A Dstatus-basic.phpt27 'total processes' => 1,
/PHP-7.3/ext/date/tests/
H A Dbug52480.phpt10 // If the DateInterval object was created by DateTime::diff(), then this is the total
/PHP-7.3/ext/standard/tests/file/
H A Dfile.inc163 Integer, Count of total files permission changed.
207 $count = total no. of files to be created, default = 1
221 $flag = specifiy if size has to be treated as no of total bytes or
229 created => total file created
230 filled => total files filled
231 perms_changed => total files permission changed
329 $link_count = total no. of links to be created to given file, default = 1
346 created => total file created
347 filled => total files filled, always returned as 1
348 perms_changed => total files permission changed
H A Ddisk_total_space_basic.phpt8 * return the total number of bytes on the corresponding filesyatem
H A Ddisk_total_space_error.phpt13 * will return the total number of bytes on the corresponding
H A Ddisk_total_space_error-win32.phpt13 * will return the total number of bytes on the corresponding

Completed in 213 milliseconds

12