Home
last modified time | relevance | path

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

12

/PHP-5.4/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.c726 long total = 0; local
746 total += count;
758 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total >> 1)) / total);
759 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total >> 1)) / total);
760 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total >> 1)) / total);
765 nim->red[icolor] = (int) ((c0total + (total >> 1)) / total);
766 nim->green[icolor] = (int) ((c1total + (total >> 1)) / total);
767 nim->blue[icolor] = (int) ((c2total + (total >> 1)) / total);
H A Dgdft.c306 int ch, total, trail; in gdTcl_UtfToUniChar() local
308 total = totalBytes[byte]; in gdTcl_UtfToUniChar()
309 trail = total - 1; in gdTcl_UtfToUniChar()
324 return total; in gdTcl_UtfToUniChar()
/PHP-5.4/sapi/fpm/fpm/
H A Dfpm_status.h16 int total; member
25 void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, unsigned cu…
/PHP-5.4/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";
H A Darsort_variation8.phpt15 …* Note: arrays are sorted based on total count of elements inside it, when all the elements are ar…
H A Dasort_variation8.phpt15 …* Note: arrays are sorted based on total count of elements inside it, when all the elements are ar…
/PHP-5.4/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-5.4/ext/standard/
H A Dcrypt_sha256.c72 uint32_t total[2]; member
129 ctx->total[0] += len; in sha256_process_block()
130 if (ctx->total[0] < len) { in sha256_process_block()
131 ++ctx->total[1]; in sha256_process_block()
220 ctx->total[0] = ctx->total[1] = 0; in sha256_init_ctx()
237 ctx->total[0] += bytes; in sha256_finish_ctx()
238 if (ctx->total[0] < bytes) { in sha256_finish_ctx()
239 ++ctx->total[1]; in sha256_finish_ctx()
246 *(uint32_t *) &ctx->buffer[bytes + pad + 4] = SWAP (ctx->total[0] << 3); in sha256_finish_ctx()
247 *(uint32_t *) &ctx->buffer[bytes + pad] = SWAP ((ctx->total[1] << 3) | in sha256_finish_ctx()
[all …]
H A Dcrypt_sha512.c66 uint64_t total[2]; member
153 ctx->total[0] += len; in sha512_process_block()
154 if (ctx->total[0] < len) { in sha512_process_block()
155 ++ctx->total[1]; in sha512_process_block()
247 ctx->total[0] = ctx->total[1] = 0; in sha512_init_ctx()
264 ctx->total[0] += bytes; in sha512_finish_ctx()
265 if (ctx->total[0] < bytes) { in sha512_finish_ctx()
266 ++ctx->total[1]; in sha512_finish_ctx()
273 *(uint64_t *) &ctx->buffer[bytes + pad + 8] = SWAP(ctx->total[0] << 3); in sha512_finish_ctx()
274 *(uint64_t *) &ctx->buffer[bytes + pad] = SWAP((ctx->total[1] << 3) | in sha512_finish_ctx()
[all …]
/PHP-5.4/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($t0, "Total");
H A Dzend_alloc.c1275 zend_uint total = 0; in zend_mm_check_leaks() local
1305 total += 1 + repeated; in zend_mm_check_leaks()
1326 if (total) { in zend_mm_check_leaks()
1327 zend_message_dispatcher(ZMSG_MEMORY_LEAKS_GRAND_TOTAL, &total TSRMLS_CC); in zend_mm_check_leaks()
/PHP-5.4/ext/xml/tests/
H A Dbug50576.phpt14 <ns1:total>867</ns1:total>
/PHP-5.4/ext/sysvshm/
H A Dphp_sysvshm.h52 long total; member
H A Dsysvshm.c192 chunk_ptr->total = shm_size; in PHP_FUNCTION()
/PHP-5.4/ext/enchant/
H A Denchant.c247 int total; in php_enchant_broker_free() local
248 total = broker->dictcnt-1; in php_enchant_broker_free()
250 zend_list_delete(broker->dict[total]->rsrc_id); in php_enchant_broker_free()
251 efree(broker->dict[total]); in php_enchant_broker_free()
252 total--; in php_enchant_broker_free()
253 } while (total>=0); in php_enchant_broker_free()
/PHP-5.4/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
H A Ddisk_total_space_variation.phpt8 * will return the total number of bytes on the corresponding
/PHP-5.4/ext/phar/tests/files/
H A Dpear2coverage.phar.php310 … function renderSummary(Aggregator $agg, array $results, $istest = false, $total = 1, $covered = 1)
336 $output->writeElement('h3', 'Total lines: ' . $total . ', covered lines: ' . $covered);
338 if ($total > 0) {
339 $percent = round(($covered / $total) * 100);
1221 $total = $res[0];
1238 return array($covered, $total);
/PHP-5.4/sapi/litespeed/
H A Dlsapilib.c1489 off_t total; in LSAPI_ReadReqBody_r() local
1494 total = pReq->m_reqBodyLen - pReq->m_reqBodyRead; in LSAPI_ReadReqBody_r()
1496 if ( total <= 0 ) in LSAPI_ReadReqBody_r()
1498 if ( total < bufLen ) in LSAPI_ReadReqBody_r()
1499 bufLen = total; in LSAPI_ReadReqBody_r()
1501 total = 0; in LSAPI_ReadReqBody_r()
1509 total += len; in LSAPI_ReadReqBody_r()
1518 total += len; in LSAPI_ReadReqBody_r()
1524 if ( !total) in LSAPI_ReadReqBody_r()
1529 pReq->m_reqBodyRead += total; in LSAPI_ReadReqBody_r()
[all …]
/PHP-5.4/sapi/fpm/
H A Dphp-fpm.conf.in267 ; total processes - the number of idle + active processes;
285 ; total processes: 15
380 ; - %{total}C for user + system CPU (default)

Completed in 58 milliseconds

12