Lines Matching refs:arg

105 ZEND_ATTRIBUTE_CONST static inline uint16_t php_pack_reverse_int16(uint16_t arg)  in php_pack_reverse_int16()  argument
107 return ((arg & 0xFF) << 8) | ((arg >> 8) & 0xFF); in php_pack_reverse_int16()
111 ZEND_ATTRIBUTE_CONST static inline uint32_t php_pack_reverse_int32(uint32_t arg) in php_pack_reverse_int32() argument
114 …result = ((arg & 0xFF) << 24) | ((arg & 0xFF00) << 8) | ((arg >> 8) & 0xFF00) | ((arg >> 24) & 0xF… in php_pack_reverse_int32()
121 static inline uint64_t php_pack_reverse_int64(uint64_t arg) in php_pack_reverse_int64() argument
127 tmp.i = arg; in php_pack_reverse_int64()
259 int arg = 1; in PHP_FUNCTION() local
266 arg = -1; in PHP_FUNCTION()
270 arg = atoi(&format[i]); in PHP_FUNCTION()
284 if (arg < 0) { in PHP_FUNCTION()
286 arg = 1; in PHP_FUNCTION()
303 if (arg < 0) { in PHP_FUNCTION()
310 arg = Z_STRLEN(argv[currentarg]); in PHP_FUNCTION()
315 arg++; in PHP_FUNCTION()
351 if (arg < 0) { in PHP_FUNCTION()
352 arg = num_args - currentarg; in PHP_FUNCTION()
354 if (currentarg > INT_MAX - arg) { in PHP_FUNCTION()
357 currentarg += arg; in PHP_FUNCTION()
376 formatargs[formatcount] = arg; in PHP_FUNCTION()
386 int arg = formatargs[i]; in PHP_FUNCTION() local
391 INC_OUTPUTPOS((arg + (arg % 2)) / 2,1) /* 4 bit per arg */ in PHP_FUNCTION()
400 INC_OUTPUTPOS(arg,1) /* 8 bit per arg */ in PHP_FUNCTION()
407 INC_OUTPUTPOS(arg,2) /* 16 bit per arg */ in PHP_FUNCTION()
412 INC_OUTPUTPOS(arg,sizeof(int)) in PHP_FUNCTION()
419 INC_OUTPUTPOS(arg,4) /* 32 bit per arg */ in PHP_FUNCTION()
427 INC_OUTPUTPOS(arg,8) /* 32 bit per arg */ in PHP_FUNCTION()
434 INC_OUTPUTPOS(arg,sizeof(float)) in PHP_FUNCTION()
440 INC_OUTPUTPOS(arg,sizeof(double)) in PHP_FUNCTION()
444 outputpos -= arg; in PHP_FUNCTION()
453 outputpos = arg; in PHP_FUNCTION()
469 int arg = formatargs[i]; in PHP_FUNCTION() local
475 size_t arg_cp = (code != 'Z') ? arg : MAX(0, arg - 1); in PHP_FUNCTION()
479 memset(&ZSTR_VAL(output)[outputpos], (code == 'a' || code == 'Z') ? '\0' : ' ', arg); in PHP_FUNCTION()
483 outputpos += arg; in PHP_FUNCTION()
497 if ((size_t)arg > ZSTR_LEN(str)) { in PHP_FUNCTION()
499 arg = ZSTR_LEN(str); in PHP_FUNCTION()
502 while (arg-- > 0) { in PHP_FUNCTION()
533 while (arg-- > 0) { in PHP_FUNCTION()
551 while (arg-- > 0) { in PHP_FUNCTION()
560 while (arg-- > 0) { in PHP_FUNCTION()
578 while (arg-- > 0) { in PHP_FUNCTION()
598 while (arg-- > 0) { in PHP_FUNCTION()
607 while (arg-- > 0) { in PHP_FUNCTION()
617 while (arg-- > 0) { in PHP_FUNCTION()
627 while (arg-- > 0) { in PHP_FUNCTION()
636 while (arg-- > 0) { in PHP_FUNCTION()
646 while (arg-- > 0) { in PHP_FUNCTION()
656 while (arg-- > 0) { in PHP_FUNCTION()
665 memset(&ZSTR_VAL(output)[outputpos], '\0', arg); in PHP_FUNCTION()
666 outputpos += arg; in PHP_FUNCTION()
670 outputpos -= arg; in PHP_FUNCTION()
678 if (arg > outputpos) { in PHP_FUNCTION()
679 memset(&ZSTR_VAL(output)[outputpos], '\0', arg - outputpos); in PHP_FUNCTION()
681 outputpos = arg; in PHP_FUNCTION()