Lines Matching refs:map
94 static void php_pack(zval **val, int size, int *map, char *output) in php_pack() argument
103 *output++ = v[map[i]]; in php_pack()
425 int *map = machine_endian_short_map; in PHP_FUNCTION() local
428 map = big_endian_short_map; in PHP_FUNCTION()
430 map = little_endian_short_map; in PHP_FUNCTION()
434 php_pack(argv[currentarg++], 2, map, &output[outputpos]); in PHP_FUNCTION()
452 int *map = machine_endian_long_map; in PHP_FUNCTION() local
455 map = big_endian_long_map; in PHP_FUNCTION()
457 map = little_endian_long_map; in PHP_FUNCTION()
461 php_pack(argv[currentarg++], 4, map, &output[outputpos]); in PHP_FUNCTION()
472 int *map = machine_endian_longlong_map; in PHP_FUNCTION() local
475 map = big_endian_longlong_map; in PHP_FUNCTION()
477 map = little_endian_longlong_map; in PHP_FUNCTION()
481 php_pack(argv[currentarg++], 8, map, &output[outputpos]); in PHP_FUNCTION()
547 static long php_unpack(char *data, int size, int issigned, int *map) in php_unpack() argument
556 cresult[map[i]] = *data++; in php_unpack()
869 int *map = machine_endian_short_map; in PHP_FUNCTION() local
874 map = big_endian_short_map; in PHP_FUNCTION()
876 map = little_endian_short_map; in PHP_FUNCTION()
879 v = php_unpack(&input[inputpos], 2, issigned, map); in PHP_FUNCTION()
903 int *map = machine_endian_long_map; in PHP_FUNCTION() local
910 map = big_endian_long_map; in PHP_FUNCTION()
913 map = little_endian_long_map; in PHP_FUNCTION()
920 v |= php_unpack(&input[inputpos], 4, issigned, map); in PHP_FUNCTION()
938 int *map = machine_endian_longlong_map; in PHP_FUNCTION() local
945 map = big_endian_longlong_map; in PHP_FUNCTION()
948 map = little_endian_longlong_map; in PHP_FUNCTION()
951 v = php_unpack(&input[inputpos], 8, issigned, map); in PHP_FUNCTION()