Lines Matching refs:target
1818 static int php_needle_char(zval *needle, char *target) argument
1822 *target = (char)Z_LVAL_P(needle);
1826 *target = '\0';
1829 *target = '\1';
1832 *target = (char)(int)Z_DVAL_P(needle);
1835 *target = (char) zval_get_long(needle);
3161 char *target; local
3187 target = ZSTR_VAL(result);
3192 memcpy(target, s, (p - s));
3193 target += p - s;
3194 memcpy(target, to, to_len);
3195 target += to_len;
3203 memcpy(target, s, (e - s));
3204 target += e - s;
3212 memcpy(target, to, to_len);
3213 target += to_len;
3215 *target = *source;
3216 target++;
3220 *target = 0;
3778 char *target; local
3782 …for (source = (char*)ZSTR_VAL(str), end = source + ZSTR_LEN(str), target = ZSTR_VAL(str); source <…
3786 case 'n': *target++='\n'; nlen--; break;
3787 case 'r': *target++='\r'; nlen--; break;
3788 case 'a': *target++='\a'; nlen--; break;
3789 case 't': *target++='\t'; nlen--; break;
3790 case 'v': *target++='\v'; nlen--; break;
3791 case 'b': *target++='\b'; nlen--; break;
3792 case 'f': *target++='\f'; nlen--; break;
3793 case '\\': *target++='\\'; nlen--; break;
3805 *target++=(char)strtol(numtmp, NULL, 16);
3816 *target++=(char)strtol(numtmp, NULL, 8);
3820 *target++=*source;
3825 *target++=*source;
3830 *target='\0';
3842 char *target; local
3850 for (source = str, end = source + len, target = ZSTR_VAL(new_str); source < end; source++) {
3854 *target++ = '\\';
3856 case '\n': *target++ = 'n'; break;
3857 case '\t': *target++ = 't'; break;
3858 case '\r': *target++ = 'r'; break;
3859 case '\a': *target++ = 'a'; break;
3860 case '\v': *target++ = 'v'; break;
3861 case '\b': *target++ = 'b'; break;
3862 case '\f': *target++ = 'f'; break;
3863 default: target += sprintf(target, "%03o", (unsigned char) c);
3867 *target++ = '\\';
3869 *target++ = c;
3871 *target = 0;
3872 newlen = target - ZSTR_VAL(new_str);
3956 char *target; local
3999 target = ZSTR_VAL(new_str) + offset;
4006 *target++ = source[pos + i];
4009 *target++ = '\\';
4011 *target++ = '0';
4013 *target++ = source[pos];
4020 *target++ = source[pos];
4035 *target++ = source[pos + i];
4038 *target++ = '\\';
4040 *target++ = '0';
4042 *target++ = source[pos];
4048 *target++ = source[pos];
4051 _mm_storeu_si128((__m128i*)target, s128);
4052 target += 16;
4059 *target++ = '\\';
4060 *target++ = '0';
4065 *target++ = '\\';
4068 *target++ = *source;
4074 *target = '\0';
4076 if (ZSTR_LEN(new_str) - (target - ZSTR_VAL(new_str)) > 16) {
4077 new_str = zend_string_truncate(new_str, target - ZSTR_VAL(new_str), 0);
4079 ZSTR_LEN(new_str) = target - ZSTR_VAL(new_str);
4095 char *target; local
4126 target = ZSTR_VAL(new_str) + offset;
4131 *target++ = '\\';
4132 *target++ = '0';
4137 *target++ = '\\';
4140 *target++ = *source;
4146 *target = '\0';
4148 if (ZSTR_LEN(new_str) - (target - ZSTR_VAL(new_str)) > 16) {
4149 new_str = zend_string_truncate(new_str, target - ZSTR_VAL(new_str), 0);
4151 ZSTR_LEN(new_str) = target - ZSTR_VAL(new_str);
4510 char *str, *heb_str, *target; local
4532 target = heb_str+str_len;
4533 *target = 0;
4534 target--;
4552 *target = str[i-1];
4553 switch (*target) {
4555 *target = ')';
4558 *target = '(';
4561 *target = ']';
4564 *target = '[';
4567 *target = '}';
4570 *target = '{';
4573 *target = '>';
4576 *target = '<';
4579 *target = '/';
4582 *target = '\\';
4587 target--;
4601 *target = str[i-1];
4602 target--;
4612 target = ZSTR_VAL(broken_str);
4650 *target = heb_str[i];
4651 target++;
4654 *target = heb_str[i];
4655 target++;
4660 *target = 0;
4700 char *target; local
4740 target = ZSTR_VAL(result);
4748 *target++ = '<';
4749 *target++ = 'b';
4750 *target++ = 'r';
4753 *target++ = ' ';
4754 *target++ = '/';
4757 *target++ = '>';
4760 *target++ = *tmp++;
4764 *target++ = *tmp;
4770 *target = '\0';
5864 char *target; local
5874 target = ZSTR_VAL(ret);
5928 _mm_storeu_si128((__m128i *)target, in);
5931 target += 16;
5938 *target++ = 'a' + (((*p++ - 'a') + 13) % 26);
5940 *target++ = 'A' + (((*p++ - 'A') + 13) % 26);
5942 *target++ = *p++;
5946 *target = '\0';