Home
last modified time | relevance | path

Searched refs:mod (Results 1 – 25 of 33) sorted by relevance

12

/PHP-8.0/ext/opcache/tests/jit/
H A Dmod_001.phpt13 function mod(int $a, int $b) {
16 var_dump(mod(125, 33));
17 var_dump(mod(125, 32));
18 var_dump(mod(-125, 33));
19 var_dump(mod(-125, 32));
20 var_dump(mod(125, -33));
21 var_dump(mod(-125, -33));
23 var_dump(mod(125, -1));
28 var_dump(mod(125, 0));
/PHP-8.0/build/
H A Dorder_by_dep.awk67 split($1, mod, ";");
70 gsub("[^a-zA-Z0-9_-]", "", mod[1])
72 mods[mod_count++] = mod[1]
75 get_deps(mod[1], mod[2]);
/PHP-8.0/Zend/tests/
H A Dbug69957.phpt2 Bug #69957 (Different ways of handling div/mod by zero)
21 echo "\nVariable mod\n";
39 echo "\nLiteral mod\n";
57 echo "\nDouble mod\n";
68 Variable mod
76 Literal mod
84 Double mod
/PHP-8.0/ext/bcmath/libbcmath/src/
H A Draisemod.c42 zend_result bc_raisemod (bc_num base, bc_num expo, bc_num mod, bc_num *result, int scale) in bc_raisemod() argument
64 if (mod->n_scale != 0) { in bc_raisemod()
70 if (bc_is_zero(mod)) { in bc_raisemod()
78 modulus = bc_copy_num (mod); in bc_raisemod()
H A Dbcmath.h143 _PROTOTYPE(int bc_raisemod, (bc_num base, bc_num expo, bc_num mod,
/PHP-8.0/tests/lang/
H A Dengine_assignExecutionOrder_003.phpt66 function mod($b)
78 $x[mod($x1)][mod($x2)] = $bx[mod($x3)];
/PHP-8.0/ext/session/
H A Dsession.c387 if (!PS(mod)) { in php_session_initialize()
566 PS(mod) = tmp; in PHP_INI_MH()
1394 for (i = 0, mod = ps_modules; i < MAX_MODULES; i++, mod++) { in _php_find_ps_module()
1395 if (*mod && !strcasecmp(name, (*mod)->s_name)) { in _php_find_ps_module()
1396 ret = *mod; in _php_find_ps_module()
1409 for (mod = ps_serializers; mod->name; mod++) { in _php_find_ps_serializer()
1411 ret = mod; in _php_find_ps_serializer()
1914 if (PS(mod) && PS(mod)->s_name) { in PHP_FUNCTION()
2100 if (!PS(mod) || PS(mod) != &ps_mod_user) { in PHP_FUNCTION()
2864 for (i = 0, mod = ps_modules; i < MAX_MODULES; i++, mod++) { in PHP_MINFO_FUNCTION()
[all …]
/PHP-8.0/ext/com_dotnet/tests/
H A Dvariants.phpt56 mod: 0
70 mod: 2
116 mod:
154 mod:
232 mod:
270 mod:
320 mod:
382 mod:
440 mod:
502 mod:
[all …]
H A Dvariants_x64.phpt59 mod: 0
73 mod: 2
119 mod:
157 mod:
235 mod:
273 mod:
323 mod:
385 mod:
443 mod:
505 mod:
[all …]
/PHP-8.0/ext/opcache/tests/
H A Dbug75938.phpt11 var_dump($mod = ($count % $columns));
12 var_dump($mod);
/PHP-8.0/ext/bcmath/tests/
H A Dbcmod_error2.phpt2 bcmod() - mod by 0
H A Dbcpowmod_zero_modulus.phpt2 bc_raisemod's mod can't be zero
/PHP-8.0/ext/opcache/jit/libudis86/
H A Ddecode.c549 unsigned char mod, rm; in decode_modrm_rm() local
559 if (mod == 3) { in decode_modrm_rm()
572 if (mod == 1) { in decode_modrm_rm()
574 } else if (mod == 2) { in decode_modrm_rm()
599 if (mod == 0) { in decode_modrm_rm()
602 if (mod == 1) { in decode_modrm_rm()
614 if (mod == 1) { in decode_modrm_rm()
616 } else if (mod == 2) { in decode_modrm_rm()
640 if (mod == 0) { in decode_modrm_rm()
643 if (mod == 1) { in decode_modrm_rm()
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dbug61764.phpt8 //expected -30000 mod 2^32 = 4294937296, and not -30000
/PHP-8.0/sapi/phpdbg/
H A Dphpdbg_wait.c203 zend_module_entry *mod; in phpdbg_webdata_decompress() local
209 ZEND_HASH_FOREACH_PTR(&module_registry, mod) { in phpdbg_webdata_decompress()
210 if (mod->name) { in phpdbg_webdata_decompress()
212 ZVAL_NEW_STR(&value, zend_string_init(mod->name, strlen(mod->name), 0)); in phpdbg_webdata_decompress()
/PHP-8.0/ext/bcmath/
H A Dbcmath.c423 bc_num first, second, mod, result; in PHP_FUNCTION() local
445 bc_init_num(&mod); in PHP_FUNCTION()
458 if (php_str2num(&mod, ZSTR_VAL(modulus)) == FAILURE) { in PHP_FUNCTION()
463 if (bc_raisemod(first, second, mod, &result, scale) == SUCCESS) { in PHP_FUNCTION()
470 bc_free_num(&mod); in PHP_FUNCTION()
/PHP-8.0/ext/oci8/tests/
H A Dbind_boolean_1.phpt69 if (mod(:userid,2) = 0) then
/PHP-8.0/ext/phar/tests/
H A Dphar_createdefaultstub.phpt78 'mod' => 'audio/mod',
372 'mod' => 'audio/mod',
674 'mod' => 'audio/mod',
H A Dphar_setdefaultstub.phpt98 'mod' => 'audio/mod',
393 'mod' => 'audio/mod',
688 'mod' => 'audio/mod',
/PHP-8.0/ext/ldap/
H A Dldap.c2528 zval *link, *mods, *mod, *modinfo; in PHP_FUNCTION() local
2601 mod = fetched; in PHP_FUNCTION()
2604 if (Z_TYPE_P(mod) != IS_ARRAY) { in PHP_FUNCTION()
2609 SEPARATE_ARRAY(mod); in PHP_FUNCTION()
2611 zend_hash_internal_pointer_reset(Z_ARRVAL_P(mod)); in PHP_FUNCTION()
2612 num_modprops = zend_hash_num_elements(Z_ARRVAL_P(mod)); in PHP_FUNCTION()
2631 fetched = zend_hash_get_current_data(Z_ARRVAL_P(mod)); in PHP_FUNCTION()
2708 zend_hash_move_forward(Z_ARRVAL_P(mod)); in PHP_FUNCTION()
2724 mod = fetched; in PHP_FUNCTION()
2726 _ldap_hash_fetch(mod, LDAP_MODIFY_BATCH_ATTRIB, &attrib); in PHP_FUNCTION()
[all …]
/PHP-8.0/ext/phar/tests/cache_list/files/
H A Dnophar.phar43 'mod' => 'audio/mod',
H A Dopenssl.phar43 'mod' => 'audio/mod',
/PHP-8.0/ext/phar/tests/files/
H A Dinclude_path2.phar43 'mod' => 'audio/mod',
H A Dnophar.phar43 'mod' => 'audio/mod',
H A Dopenssl.phar43 'mod' => 'audio/mod',

Completed in 51 milliseconds

12