Lines Matching refs:map
86 static void php_pack(zval *val, size_t size, int *map, char *output) in php_pack() argument
95 *output++ = v[map[i]]; in php_pack()
535 int *map = machine_endian_short_map; in PHP_FUNCTION() local
538 map = big_endian_short_map; in PHP_FUNCTION()
540 map = little_endian_short_map; in PHP_FUNCTION()
544 php_pack(&argv[currentarg++], 2, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
562 int *map = machine_endian_long_map; in PHP_FUNCTION() local
565 map = big_endian_long_map; in PHP_FUNCTION()
567 map = little_endian_long_map; in PHP_FUNCTION()
571 php_pack(&argv[currentarg++], 4, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
582 int *map = machine_endian_longlong_map; in PHP_FUNCTION() local
585 map = big_endian_longlong_map; in PHP_FUNCTION()
587 map = little_endian_longlong_map; in PHP_FUNCTION()
591 php_pack(&argv[currentarg++], 8, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
688 static zend_long php_unpack(char *data, size_t size, int issigned, int *map) in php_unpack() argument
697 cresult[map[i]] = *data++; in php_unpack()
1030 int *map = machine_endian_short_map; in PHP_FUNCTION() local
1035 map = big_endian_short_map; in PHP_FUNCTION()
1037 map = little_endian_short_map; in PHP_FUNCTION()
1040 v = php_unpack(&input[inputpos], 2, issigned, map); in PHP_FUNCTION()
1064 int *map = machine_endian_long_map; in PHP_FUNCTION() local
1071 map = big_endian_long_map; in PHP_FUNCTION()
1074 map = little_endian_long_map; in PHP_FUNCTION()
1081 v |= php_unpack(&input[inputpos], 4, issigned, map); in PHP_FUNCTION()
1099 int *map = machine_endian_longlong_map; in PHP_FUNCTION() local
1106 map = big_endian_longlong_map; in PHP_FUNCTION()
1109 map = little_endian_longlong_map; in PHP_FUNCTION()
1112 v = php_unpack(&input[inputpos], 8, issigned, map); in PHP_FUNCTION()