Lines Matching refs:size

91 static void php_pack(zval *val, size_t size, int *map, char *output)  in php_pack()  argument
99 for (i = 0; i < size; i++) { in php_pack()
746 int size = 0; in PHP_FUNCTION() local
792 size = -1; in PHP_FUNCTION()
800 size = 0; in PHP_FUNCTION()
806 size = repetitions; in PHP_FUNCTION()
812 size = (repetitions > 0) ? ((unsigned int) repetitions + 1) / 2 : repetitions; in PHP_FUNCTION()
820 size = 1; in PHP_FUNCTION()
828 size = 2; in PHP_FUNCTION()
834 size = sizeof(int); in PHP_FUNCTION()
842 size = 4; in PHP_FUNCTION()
851 size = 8; in PHP_FUNCTION()
862 size = sizeof(float); in PHP_FUNCTION()
869 size = sizeof(double); in PHP_FUNCTION()
881 if (size != 0 && size != -1 && INT_MAX - size + 1 < inputpos) { in PHP_FUNCTION()
887 if ((inputpos + size) <= inputlen) { in PHP_FUNCTION()
910 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
911 len = size; in PHP_FUNCTION()
914 size = len; in PHP_FUNCTION()
926 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
927 len = size; in PHP_FUNCTION()
930 size = len; in PHP_FUNCTION()
955 if ((size >= 0) && (len > size)) { in PHP_FUNCTION()
956 len = size; in PHP_FUNCTION()
959 size = len; in PHP_FUNCTION()
983 if (size > INT_MAX / 2) { in PHP_FUNCTION()
990 if (size >= 0 && len > (size * 2)) { in PHP_FUNCTION()
991 len = size * 2; in PHP_FUNCTION()
1157 if (inputpos < size) { in PHP_FUNCTION()
1158 inputpos = -size; in PHP_FUNCTION()
1180 inputpos += size; in PHP_FUNCTION()
1182 if (size != -1) { /* only print warning if not working with * */ in PHP_FUNCTION()
1191 …WARNING, "Type %c: not enough input, need %d, have " ZEND_LONG_FMT, type, size, inputlen - inputpo… in PHP_FUNCTION()
1267 int size = sizeof(Z_LVAL(val)); in PHP_MINIT_FUNCTION() local
1271 byte_map[0] = size - 1; in PHP_MINIT_FUNCTION()
1274 int_map[i] = size - (sizeof(int) - i); in PHP_MINIT_FUNCTION()
1277 machine_endian_short_map[0] = size - 2; in PHP_MINIT_FUNCTION()
1278 machine_endian_short_map[1] = size - 1; in PHP_MINIT_FUNCTION()
1279 big_endian_short_map[0] = size - 2; in PHP_MINIT_FUNCTION()
1280 big_endian_short_map[1] = size - 1; in PHP_MINIT_FUNCTION()
1281 little_endian_short_map[0] = size - 1; in PHP_MINIT_FUNCTION()
1282 little_endian_short_map[1] = size - 2; in PHP_MINIT_FUNCTION()
1284 machine_endian_long_map[0] = size - 4; in PHP_MINIT_FUNCTION()
1285 machine_endian_long_map[1] = size - 3; in PHP_MINIT_FUNCTION()
1286 machine_endian_long_map[2] = size - 2; in PHP_MINIT_FUNCTION()
1287 machine_endian_long_map[3] = size - 1; in PHP_MINIT_FUNCTION()
1288 big_endian_long_map[0] = size - 4; in PHP_MINIT_FUNCTION()
1289 big_endian_long_map[1] = size - 3; in PHP_MINIT_FUNCTION()
1290 big_endian_long_map[2] = size - 2; in PHP_MINIT_FUNCTION()
1291 big_endian_long_map[3] = size - 1; in PHP_MINIT_FUNCTION()
1292 little_endian_long_map[0] = size - 1; in PHP_MINIT_FUNCTION()
1293 little_endian_long_map[1] = size - 2; in PHP_MINIT_FUNCTION()
1294 little_endian_long_map[2] = size - 3; in PHP_MINIT_FUNCTION()
1295 little_endian_long_map[3] = size - 4; in PHP_MINIT_FUNCTION()
1298 machine_endian_longlong_map[0] = size - 8; in PHP_MINIT_FUNCTION()
1299 machine_endian_longlong_map[1] = size - 7; in PHP_MINIT_FUNCTION()
1300 machine_endian_longlong_map[2] = size - 6; in PHP_MINIT_FUNCTION()
1301 machine_endian_longlong_map[3] = size - 5; in PHP_MINIT_FUNCTION()
1302 machine_endian_longlong_map[4] = size - 4; in PHP_MINIT_FUNCTION()
1303 machine_endian_longlong_map[5] = size - 3; in PHP_MINIT_FUNCTION()
1304 machine_endian_longlong_map[6] = size - 2; in PHP_MINIT_FUNCTION()
1305 machine_endian_longlong_map[7] = size - 1; in PHP_MINIT_FUNCTION()
1306 big_endian_longlong_map[0] = size - 8; in PHP_MINIT_FUNCTION()
1307 big_endian_longlong_map[1] = size - 7; in PHP_MINIT_FUNCTION()
1308 big_endian_longlong_map[2] = size - 6; in PHP_MINIT_FUNCTION()
1309 big_endian_longlong_map[3] = size - 5; in PHP_MINIT_FUNCTION()
1310 big_endian_longlong_map[4] = size - 4; in PHP_MINIT_FUNCTION()
1311 big_endian_longlong_map[5] = size - 3; in PHP_MINIT_FUNCTION()
1312 big_endian_longlong_map[6] = size - 2; in PHP_MINIT_FUNCTION()
1313 big_endian_longlong_map[7] = size - 1; in PHP_MINIT_FUNCTION()
1314 little_endian_longlong_map[0] = size - 1; in PHP_MINIT_FUNCTION()
1315 little_endian_longlong_map[1] = size - 2; in PHP_MINIT_FUNCTION()
1316 little_endian_longlong_map[2] = size - 3; in PHP_MINIT_FUNCTION()
1317 little_endian_longlong_map[3] = size - 4; in PHP_MINIT_FUNCTION()
1318 little_endian_longlong_map[4] = size - 5; in PHP_MINIT_FUNCTION()
1319 little_endian_longlong_map[5] = size - 6; in PHP_MINIT_FUNCTION()
1320 little_endian_longlong_map[6] = size - 7; in PHP_MINIT_FUNCTION()
1321 little_endian_longlong_map[7] = size - 8; in PHP_MINIT_FUNCTION()