Lines Matching refs:size

93 static void php_pack(zval *val, size_t size, int *map, char *output)  in php_pack()  argument
101 for (i = 0; i < size; i++) { in php_pack()
691 static zend_long php_unpack(char *data, size_t size, int issigned, int *map) in php_unpack() argument
699 for (i = 0; i < size; i++) { in php_unpack()
757 int size=0; in PHP_FUNCTION() local
794 size = -1; in PHP_FUNCTION()
802 size = 0; in PHP_FUNCTION()
808 size = arg; in PHP_FUNCTION()
814 size = (arg > 0) ? (arg + (arg % 2)) / 2 : arg; in PHP_FUNCTION()
822 size = 1; in PHP_FUNCTION()
830 size = 2; in PHP_FUNCTION()
836 size = sizeof(int); in PHP_FUNCTION()
844 size = 4; in PHP_FUNCTION()
853 size = 8; in PHP_FUNCTION()
865 size = sizeof(float); in PHP_FUNCTION()
872 size = sizeof(double); in PHP_FUNCTION()
882 if (size != 0 && size != -1 && size < 0) { in PHP_FUNCTION()
901 if (size != 0 && size != -1 && INT_MAX - size + 1 < inputpos) { in PHP_FUNCTION()
907 if ((inputpos + size) <= inputlen) { in PHP_FUNCTION()
914 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
915 len = size; in PHP_FUNCTION()
918 size = len; in PHP_FUNCTION()
929 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
930 len = size; in PHP_FUNCTION()
933 size = len; in PHP_FUNCTION()
957 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
958 len = size; in PHP_FUNCTION()
961 size = len; in PHP_FUNCTION()
984 if (size >= 0 && len > (size * 2)) { in PHP_FUNCTION()
985 len = size * 2; in PHP_FUNCTION()
1167 if (inputpos < size) { in PHP_FUNCTION()
1168 inputpos = -size; in PHP_FUNCTION()
1188 inputpos += size; in PHP_FUNCTION()
1190 if (size != -1) { /* only print warning if not working with * */ in PHP_FUNCTION()
1199 …WARNING, "Type %c: not enough input, need %d, have " ZEND_LONG_FMT, type, size, inputlen - inputpo… in PHP_FUNCTION()
1279 int size = sizeof(Z_LVAL(val)); in PHP_MINIT_FUNCTION() local
1283 byte_map[0] = size - 1; in PHP_MINIT_FUNCTION()
1286 int_map[i] = size - (sizeof(int) - i); in PHP_MINIT_FUNCTION()
1289 machine_endian_short_map[0] = size - 2; in PHP_MINIT_FUNCTION()
1290 machine_endian_short_map[1] = size - 1; in PHP_MINIT_FUNCTION()
1291 big_endian_short_map[0] = size - 2; in PHP_MINIT_FUNCTION()
1292 big_endian_short_map[1] = size - 1; in PHP_MINIT_FUNCTION()
1293 little_endian_short_map[0] = size - 1; in PHP_MINIT_FUNCTION()
1294 little_endian_short_map[1] = size - 2; in PHP_MINIT_FUNCTION()
1296 machine_endian_long_map[0] = size - 4; in PHP_MINIT_FUNCTION()
1297 machine_endian_long_map[1] = size - 3; in PHP_MINIT_FUNCTION()
1298 machine_endian_long_map[2] = size - 2; in PHP_MINIT_FUNCTION()
1299 machine_endian_long_map[3] = size - 1; in PHP_MINIT_FUNCTION()
1300 big_endian_long_map[0] = size - 4; in PHP_MINIT_FUNCTION()
1301 big_endian_long_map[1] = size - 3; in PHP_MINIT_FUNCTION()
1302 big_endian_long_map[2] = size - 2; in PHP_MINIT_FUNCTION()
1303 big_endian_long_map[3] = size - 1; in PHP_MINIT_FUNCTION()
1304 little_endian_long_map[0] = size - 1; in PHP_MINIT_FUNCTION()
1305 little_endian_long_map[1] = size - 2; in PHP_MINIT_FUNCTION()
1306 little_endian_long_map[2] = size - 3; in PHP_MINIT_FUNCTION()
1307 little_endian_long_map[3] = size - 4; in PHP_MINIT_FUNCTION()
1310 machine_endian_longlong_map[0] = size - 8; in PHP_MINIT_FUNCTION()
1311 machine_endian_longlong_map[1] = size - 7; in PHP_MINIT_FUNCTION()
1312 machine_endian_longlong_map[2] = size - 6; in PHP_MINIT_FUNCTION()
1313 machine_endian_longlong_map[3] = size - 5; in PHP_MINIT_FUNCTION()
1314 machine_endian_longlong_map[4] = size - 4; in PHP_MINIT_FUNCTION()
1315 machine_endian_longlong_map[5] = size - 3; in PHP_MINIT_FUNCTION()
1316 machine_endian_longlong_map[6] = size - 2; in PHP_MINIT_FUNCTION()
1317 machine_endian_longlong_map[7] = size - 1; in PHP_MINIT_FUNCTION()
1318 big_endian_longlong_map[0] = size - 8; in PHP_MINIT_FUNCTION()
1319 big_endian_longlong_map[1] = size - 7; in PHP_MINIT_FUNCTION()
1320 big_endian_longlong_map[2] = size - 6; in PHP_MINIT_FUNCTION()
1321 big_endian_longlong_map[3] = size - 5; in PHP_MINIT_FUNCTION()
1322 big_endian_longlong_map[4] = size - 4; in PHP_MINIT_FUNCTION()
1323 big_endian_longlong_map[5] = size - 3; in PHP_MINIT_FUNCTION()
1324 big_endian_longlong_map[6] = size - 2; in PHP_MINIT_FUNCTION()
1325 big_endian_longlong_map[7] = size - 1; in PHP_MINIT_FUNCTION()
1326 little_endian_longlong_map[0] = size - 1; in PHP_MINIT_FUNCTION()
1327 little_endian_longlong_map[1] = size - 2; in PHP_MINIT_FUNCTION()
1328 little_endian_longlong_map[2] = size - 3; in PHP_MINIT_FUNCTION()
1329 little_endian_longlong_map[3] = size - 4; in PHP_MINIT_FUNCTION()
1330 little_endian_longlong_map[4] = size - 5; in PHP_MINIT_FUNCTION()
1331 little_endian_longlong_map[5] = size - 6; in PHP_MINIT_FUNCTION()
1332 little_endian_longlong_map[6] = size - 7; in PHP_MINIT_FUNCTION()
1333 little_endian_longlong_map[7] = size - 8; in PHP_MINIT_FUNCTION()