Lines Matching refs:output
85 static void php_pack(zval *val, size_t size, int *map, char *output) in php_pack() argument
94 *output++ = v[map[i]]; in php_pack()
240 zend_string *output; in PHP_FUNCTION() local
453 output = zend_string_alloc(outputsize, 0); in PHP_FUNCTION()
470 memset(&ZSTR_VAL(output)[outputpos], (code == 'a' || code == 'Z') ? '\0' : ' ', arg); in PHP_FUNCTION()
471 memcpy(&ZSTR_VAL(output)[outputpos], ZSTR_VAL(str), in PHP_FUNCTION()
508 ZSTR_VAL(output)[++outputpos] = 0; in PHP_FUNCTION() local
513 ZSTR_VAL(output)[outputpos] |= (n << nibbleshift); in PHP_FUNCTION() local
525 php_pack(&argv[currentarg++], 1, byte_map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
543 php_pack(&argv[currentarg++], 2, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
552 php_pack(&argv[currentarg++], sizeof(int), int_map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
570 php_pack(&argv[currentarg++], 4, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
590 php_pack(&argv[currentarg++], 8, map, &ZSTR_VAL(output)[outputpos]); in PHP_FUNCTION()
600 memcpy(&ZSTR_VAL(output)[outputpos], &v, sizeof(v)); in PHP_FUNCTION()
610 php_pack_copy_float(1, &ZSTR_VAL(output)[outputpos], v); in PHP_FUNCTION()
620 php_pack_copy_float(0, &ZSTR_VAL(output)[outputpos], v); in PHP_FUNCTION()
629 memcpy(&ZSTR_VAL(output)[outputpos], &v, sizeof(v)); in PHP_FUNCTION()
639 php_pack_copy_double(1, &ZSTR_VAL(output)[outputpos], v); in PHP_FUNCTION()
649 php_pack_copy_double(0, &ZSTR_VAL(output)[outputpos], v); in PHP_FUNCTION()
656 memset(&ZSTR_VAL(output)[outputpos], '\0', arg); in PHP_FUNCTION()
670 memset(&ZSTR_VAL(output)[outputpos], '\0', arg - outputpos); in PHP_FUNCTION()
679 ZSTR_VAL(output)[outputpos] = '\0'; in PHP_FUNCTION() local
680 ZSTR_LEN(output) = outputpos; in PHP_FUNCTION()
681 RETURN_NEW_STR(output); in PHP_FUNCTION()