/PHP-7.4/ext/standard/tests/math/ |
H A D | bug75170.phpt | 10 $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.4/ext/gd/libgd/ |
H A D | gd_pixelate.c | 27 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()
|
/PHP-7.4/ext/openssl/tests/ |
H A D | bug72333.phpt | 19 $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 D | bug74159.phpt | 92 $total = $written; 95 $total += $written; 99 printf("Written %%d bytes\n", $total);
|
/PHP-7.4/ext/standard/tests/serialize/ |
H A D | bug78438.phpt | 76 …echo "> Unserialized total node count was $count, expected $expectedSize: ".($expectedSize === $co… 86 > Unserialized total node count was 1, expected 1: CORRECT! 91 > Unserialized total node count was 4, expected 4: CORRECT! 96 > Unserialized total node count was 13, expected 13: CORRECT! 101 > Unserialized total node count was 40, expected 40: CORRECT! 106 > Unserialized total node count was 121, expected 121: CORRECT! 111 > Unserialized total node count was 364, expected 364: CORRECT! 116 > Unserialized total node count was 1093, expected 1093: CORRECT! 121 > Unserialized total node count was 3280, expected 3280: CORRECT!
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_status.h | 14 int total; member 23 void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, unsigned cu…
|
/PHP-7.4/ext/standard/tests/array/ |
H A D | bug24980.phpt | 2 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.4/ext/sqlite3/tests/ |
H A D | sqlite3_25_create_aggregate.phpt | 13 $context = array('total' => 0, 'values' => array()); 15 $context['total'] += intval($string); 16 $context['values'][] = $context['total'];
|
/PHP-7.4/sapi/cli/tests/ |
H A D | sapi_windows_set_ctrl_handler.phpt | 50 $max = 5000; $total = 0; $step = 100; 51 while(proc_get_status($proc)["running"] && $max > $total) { 53 $total += $step; 64 echo "Child $child_pid exit with status ", $status["exitcode"], " after ${total}us\n";
|
H A D | upload_2G.phpt | 59 $total = $length + strlen($prev) + strlen($post); 65 Content-Length: {$total}
|
/PHP-7.4/ext/xml/tests/ |
H A D | bug72714.phpt | 16 $xml = '<ns1:total>867</ns1:total>';
|
H A D | bug50576.phpt | 14 <ns1:total>867</ns1:total>
|
/PHP-7.4/sapi/fpm/tests/ |
H A D | proc-idle-timeout.phpt | 35 'total processes' => 2, 40 'total processes' => 1,
|
H A D | status-basic.phpt | 27 'total processes' => 1,
|
/PHP-7.4/ext/standard/ |
H A D | crypt_sha256.c | 57 uint32_t total[2]; member 114 ctx->total[0] += (uint32_t)len; in sha256_process_block() 115 if (ctx->total[0] < len) { in sha256_process_block() 116 ++ctx->total[1]; in sha256_process_block() 205 ctx->total[0] = ctx->total[1] = 0; in sha256_init_ctx() 222 ctx->total[0] += bytes; in sha256_finish_ctx() 223 if (ctx->total[0] < bytes) { in sha256_finish_ctx() 224 ++ctx->total[1]; in sha256_finish_ctx() 231 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx() 232 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx() [all …]
|
H A D | crypt_sha512.c | 51 uint64_t total[2]; member 138 ctx->total[0] += len; in sha512_process_block() 139 if (ctx->total[0] < len) { in sha512_process_block() 140 ++ctx->total[1]; in sha512_process_block() 232 ctx->total[0] = ctx->total[1] = 0; in sha512_init_ctx() 249 ctx->total[0] += bytes; in sha512_finish_ctx() 250 if (ctx->total[0] < bytes) { in sha512_finish_ctx() 251 ++ctx->total[1]; in sha512_finish_ctx() 258 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3); in sha512_finish_ctx() 259 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) | in sha512_finish_ctx() [all …]
|
/PHP-7.4/Zend/ |
H A D | micro_bench.php | 255 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 D | bench.php | 362 global $total; 365 $total += $end-$start; 374 function total() function 376 global $total; 379 $num = number_format($total,3); 421 total();
|
/PHP-7.4/ext/sysvshm/ |
H A D | php_sysvshm.h | 62 zend_long total; member
|
/PHP-7.4/ext/pdo_oci/tests/ |
H A D | bug60994.phpt | 30 $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.4/ext/enchant/ |
H A D | enchant.c | 237 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.4/ext/date/tests/ |
H A D | bug52480.phpt | 10 // If the DateInterval object was created by DateTime::diff(), then this is the total
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_pconn_max_links.phpt | 210 ["total"]=> 218 ["total"]=> 232 ["total"]=> 240 ["total"]=> 248 ["total"]=> 263 ["total"]=>
|
/PHP-7.4/ext/standard/tests/file/ |
H A D | file.inc | 163 Integer, Count of total files permission changed. 207 $count = total no. of files to be created, default = 1 221 $flag = specify 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 D | disk_total_space_basic.phpt | 10 * return the total number of bytes on the corresponding filesyatem
|