Lines Matching refs:map
85 static void php_pack(zval *val, size_t size, int *map, char *output) in php_pack() argument
94 *output++ = v[map[i]]; in php_pack()
534 int *map = machine_endian_short_map; in PHP_FUNCTION() local
537 map = big_endian_short_map; in PHP_FUNCTION()
539 map = little_endian_short_map; in PHP_FUNCTION()
543 php_pack(&argv[currentarg++], 2, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
561 int *map = machine_endian_long_map; in PHP_FUNCTION() local
564 map = big_endian_long_map; in PHP_FUNCTION()
566 map = little_endian_long_map; in PHP_FUNCTION()
570 php_pack(&argv[currentarg++], 4, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
581 int *map = machine_endian_longlong_map; in PHP_FUNCTION() local
584 map = big_endian_longlong_map; in PHP_FUNCTION()
586 map = little_endian_longlong_map; in PHP_FUNCTION()
590 php_pack(&argv[currentarg++], 8, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
687 static zend_long php_unpack(char *data, size_t size, int issigned, int *map) in php_unpack() argument
696 cresult[map[i]] = *data++; in php_unpack()
1029 int *map = machine_endian_short_map; in PHP_FUNCTION() local
1034 map = big_endian_short_map; in PHP_FUNCTION()
1036 map = little_endian_short_map; in PHP_FUNCTION()
1039 v = php_unpack(&input[inputpos], 2, issigned, map); in PHP_FUNCTION()
1063 int *map = machine_endian_long_map; in PHP_FUNCTION() local
1070 map = big_endian_long_map; in PHP_FUNCTION()
1073 map = little_endian_long_map; in PHP_FUNCTION()
1080 v |= php_unpack(&input[inputpos], 4, issigned, map); in PHP_FUNCTION()
1098 int *map = machine_endian_longlong_map; in PHP_FUNCTION() local
1105 map = big_endian_longlong_map; in PHP_FUNCTION()
1108 map = little_endian_longlong_map; in PHP_FUNCTION()
1111 v = php_unpack(&input[inputpos], 8, issigned, map); in PHP_FUNCTION()