/php-src/ext/hash/ |
H A D | hash_murmur.c | 58 ctx->carry = 0; in PHP_MURMUR3AInit() 65 PMurHash32_Process(&ctx->h, &ctx->carry, in, len); in PHP_MURMUR3AUpdate() 70 ctx->h = PMurHash32_Result(ctx->h, ctx->carry, ctx->len); in PHP_MURMUR3AFinal() 81 copy_context->carry = orig_context->carry; in PHP_MURMUR3ACopy() 124 memset(&ctx->carry, 0, sizeof ctx->carry); in PHP_MURMUR3CInit() 131 PMurHash128x86_Process(ctx->h, ctx->carry, in, len); in PHP_MURMUR3CUpdate() 137 PMurHash128x86_Result(ctx->h, ctx->carry, ctx->len, h); in PHP_MURMUR3CFinal() 160 memcpy(©_context->carry, &orig_context->carry, sizeof orig_context->carry); in PHP_MURMUR3CCopy() 201 memset(&ctx->carry, 0, sizeof ctx->carry); in PHP_MURMUR3FInit() 208 PMurHash128x64_Process(ctx->h, ctx->carry, in, len); in PHP_MURMUR3FUpdate() [all …]
|
H A D | php_hash_murmur.h | 22 uint32_t carry; member 34 uint32_t carry[4]; member 46 uint64_t carry[2]; member
|
H A D | hash_whirlpool.c | 282 uint32_t b, carry; in PHP_WHIRLPOOLUpdate() local 289 for (i = 31, carry = 0; i >= 0 && (carry != 0 || value != L64(0)); i--) { in PHP_WHIRLPOOLUpdate() 290 carry += bitLength[i] + ((uint32_t)value & 0xff); in PHP_WHIRLPOOLUpdate() 291 bitLength[i] = (unsigned char)carry; in PHP_WHIRLPOOLUpdate() 292 carry >>= 8; in PHP_WHIRLPOOLUpdate()
|
/php-src/ext/bcmath/libbcmath/src/ |
H A D | doaddsub.c | 50 bool carry = 0; in _bc_do_add() local 104 n1bytes += SWAR_REPEAT(0xF6) + n2bytes + carry; in _bc_do_add() 106 carry = !(n1bytes & ((BC_VECTOR) 1 << (8 * sizeof(BC_VECTOR) - 1))); in _bc_do_add() 132 *sumptr = *n1ptr-- + *n2ptr-- + carry; in _bc_do_add() 135 carry = 1; in _bc_do_add() 137 carry = 0; in _bc_do_add() 148 *sumptr = *n1ptr-- + carry; in _bc_do_add() 151 carry = 1; in _bc_do_add() 153 carry = 0; in _bc_do_add() 160 *sumptr = carry; in _bc_do_add()
|
H A D | div.c | 239 BC_VECTOR carry = 0; in bc_standard_div() local 243 numerator_calc_bottom[j] += divisor_vectors[j] + carry; in bc_standard_div() 244 carry = numerator_calc_bottom[j] / BC_VECTOR_BOUNDARY_NUM; in bc_standard_div() 248 numerator_calc_bottom[j] += divisor_vectors[j] + carry; in bc_standard_div()
|
/php-src/ext/zend_test/tests/ |
H A D | observer_zend_call_function_01.phpt | 11 function sum($carry, $item) { 12 $carry += $item; 13 return $carry;
|
/php-src/ext/standard/tests/array/ |
H A D | array_sum_empty_array.phpt | 11 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
H A D | array_product_empty_array.phpt | 11 var_dump(array_reduce($input, fn($carry, $value) => $carry * $value, 1));
|
H A D | array_product_variation6.phpt | 13 var_dump(array_reduce($input, fn($carry, $value) => $carry * $value, 1));
|
H A D | array_sum_variation9.phpt | 13 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
H A D | array_product_variation5.phpt | 12 var_dump(array_reduce($input, fn($carry, $value) => $carry * $value, 1));
|
H A D | array_sum_variation8.phpt | 12 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
H A D | array_sum_objects_operation_no_cast_FFI.phpt | 18 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
H A D | array_sum_objects_operation_no_cast.phpt | 13 var_dump(array_reduce($input, fn($carry, $value) => $carry + $value, 0));
|
H A D | array_product_objects_operation_no_cast.phpt | 13 var_dump(array_reduce($input, fn($carry, $value) => $carry * $value, 1));
|
H A D | bug76778.phpt | 8 function ($carry, $item) {
|
/php-src/ext/intl/tests/ |
H A D | uconverter_getstandards_basic.phpt | 15 assertTrue(array_reduce($standards, function($carry, $item) { return $carry && is_string($item); },…
|
/php-src/ext/hash/murmur/ |
H A D | PMurHash.h | 31 uint32_t PMurHash32_Result(uint32_t h1, uint32_t carry, uint32_t total_length);
|
H A D | PMurHash.c | 208 uint32_t PMurHash32_Result(uint32_t h, uint32_t carry, uint32_t total_length) in PMurHash32_Result() argument 211 int n = carry & 3; in PMurHash32_Result() 213 k1 = carry >> (4-n)*8; in PMurHash32_Result()
|
H A D | PMurHash128.c | 429 uint32_t carry[4] = {0, 0, 0, 0}; in PMurHash128x86() local 431 PMurHash128x86_Process(h, carry, key, len); in PMurHash128x86() 432 PMurHash128x86_Result(h, carry, (uint32_t) len, (uint32_t *) out); in PMurHash128x86() 636 uint64_t carry[2] = {0, 0}; in PMurHash128x64() local 638 PMurHash128x64_Process(h, carry, key, len); in PMurHash128x64() 639 PMurHash128x64_Result(h, carry, (uint32_t) len, (uint64_t *) out); in PMurHash128x64()
|
/php-src/Zend/ |
H A D | zend_strtod.c | 660 carry = a; 681 if (carry) { 875 carry = 0; 882 *xc = carry; 891 carry = 0; 900 *xc = carry; 905 carry = 0; 923 carry = 0; 930 *xc = carry; 2203 carry = 0; [all …]
|
H A D | zend_operators.c | 2526 int carry=0; in increment_string() local 2574 carry=1; in increment_string() 2577 carry=0; in increment_string() 2583 carry=1; in increment_string() 2586 carry=0; in increment_string() 2592 carry=1; in increment_string() 2595 carry=0; in increment_string() 2599 carry=0; in increment_string() 2602 if (carry == 0) { in increment_string() 2607 if (carry) { in increment_string()
|
/php-src/sapi/phpdbg/ |
H A D | .phpdbginit | 81 # Now carry on initializing phpdbg ...
|
/php-src/ext/standard/ |
H A D | string.c | 1259 bool carry = false; in PHP_FUNCTION() local 1265 carry = false; in PHP_FUNCTION() 1268 carry = true; in PHP_FUNCTION() 1275 } while (carry && position-- > 0); in PHP_FUNCTION() 1277 if (UNEXPECTED(carry)) { in PHP_FUNCTION() 1319 bool carry = false; in PHP_FUNCTION() local 1325 carry = false; in PHP_FUNCTION() 1328 carry = true; in PHP_FUNCTION() 1335 } while (carry && position-- > 0); in PHP_FUNCTION() 1337 if (UNEXPECTED(carry || (ZSTR_VAL(decremented)[0] == '0' && ZSTR_LEN(decremented) > 1))) { in PHP_FUNCTION()
|
/php-src/ext/dom/lexbor/ |
H A D | LICENSE | 98 (b) You must cause any modified files to carry prominent notices
|