Lines Matching refs:target
2869 char *target; local
2895 target = ZSTR_VAL(result);
2900 memcpy(target, s, (p - s));
2901 target += p - s;
2902 memcpy(target, to, to_len);
2903 target += to_len;
2911 memcpy(target, s, (e - s));
2912 target += e - s;
2920 memcpy(target, to, to_len);
2921 target += to_len;
2923 *target = *source;
2924 target++;
2928 *target = 0;
3457 char *target; local
3461 …for (source = (char*)ZSTR_VAL(str), end = source + ZSTR_LEN(str), target = ZSTR_VAL(str); source <…
3465 case 'n': *target++='\n'; nlen--; break;
3466 case 'r': *target++='\r'; nlen--; break;
3467 case 'a': *target++='\a'; nlen--; break;
3468 case 't': *target++='\t'; nlen--; break;
3469 case 'v': *target++='\v'; nlen--; break;
3470 case 'b': *target++='\b'; nlen--; break;
3471 case 'f': *target++='\f'; nlen--; break;
3472 case '\\': *target++='\\'; nlen--; break;
3484 *target++=(char)strtol(numtmp, NULL, 16);
3495 *target++=(char)strtol(numtmp, NULL, 8);
3499 *target++=*source;
3504 *target++=*source;
3509 *target='\0';
3520 char *target; local
3528 for (source = str, end = source + len, target = ZSTR_VAL(new_str); source < end; source++) {
3532 *target++ = '\\';
3534 case '\n': *target++ = 'n'; break;
3535 case '\t': *target++ = 't'; break;
3536 case '\r': *target++ = 'r'; break;
3537 case '\a': *target++ = 'a'; break;
3538 case '\v': *target++ = 'v'; break;
3539 case '\b': *target++ = 'b'; break;
3540 case '\f': *target++ = 'f'; break;
3541 default: target += sprintf(target, "%03o", (unsigned char) c);
3545 *target++ = '\\';
3547 *target++ = c;
3549 *target = 0;
3550 newlen = target - ZSTR_VAL(new_str);
3644 char *target; local
3687 target = ZSTR_VAL(new_str) + offset;
3694 *target++ = source[pos + i];
3697 *target++ = '\\';
3699 *target++ = '0';
3701 *target++ = source[pos];
3708 *target++ = source[pos];
3723 *target++ = source[pos + i];
3726 *target++ = '\\';
3728 *target++ = '0';
3730 *target++ = source[pos];
3736 *target++ = source[pos];
3739 _mm_storeu_si128((__m128i*)target, s128);
3740 target += 16;
3747 *target++ = '\\';
3748 *target++ = '0';
3753 *target++ = '\\';
3756 *target++ = *source;
3762 *target = '\0';
3764 if (ZSTR_LEN(new_str) - (target - ZSTR_VAL(new_str)) > 16) {
3765 new_str = zend_string_truncate(new_str, target - ZSTR_VAL(new_str), 0);
3767 ZSTR_LEN(new_str) = target - ZSTR_VAL(new_str);
3794 static zend_always_inline char *aarch64_add_slashes(quad_word res, const char *source, char *target) argument
3800 *target++ = s;
3802 *target++ = '\\';
3804 *target++ = '0';
3806 *target++ = s;
3809 return target;
3821 char *target; local
3865 target = ZSTR_VAL(new_str) + offset;
3869 target = aarch64_add_slashes(res, source, target);
3876 target = aarch64_add_slashes(res, source, target);
3878 vst1q_u8((uint8_t*)target, x);
3879 target += 16;
3888 *target++ = '\\';
3889 *target++ = '0';
3894 *target++ = '\\';
3897 *target++ = *source;
3903 *target = '\0';
3905 if (ZSTR_LEN(new_str) - (target - ZSTR_VAL(new_str)) > 16) {
3906 new_str = zend_string_truncate(new_str, target - ZSTR_VAL(new_str), 0);
3908 ZSTR_LEN(new_str) = target - ZSTR_VAL(new_str);
4286 char *str, *heb_str, *target; local
4308 target = heb_str+str_len;
4309 *target = 0;
4310 target--;
4328 *target = str[i-1];
4329 switch (*target) {
4331 *target = ')';
4334 *target = '(';
4337 *target = ']';
4340 *target = '[';
4343 *target = '}';
4346 *target = '{';
4349 *target = '>';
4352 *target = '<';
4355 *target = '/';
4358 *target = '\\';
4363 target--;
4377 *target = str[i-1];
4378 target--;
4388 target = ZSTR_VAL(broken_str);
4426 *target = heb_str[i];
4427 target++;
4430 *target = heb_str[i];
4431 target++;
4436 *target = 0;
4454 char *target; local
4494 target = ZSTR_VAL(result);
4502 *target++ = '<';
4503 *target++ = 'b';
4504 *target++ = 'r';
4507 *target++ = ' ';
4508 *target++ = '/';
4511 *target++ = '>';
4514 *target++ = *tmp++;
4518 *target++ = *tmp;
4524 *target = '\0';
5564 char *target; local
5574 target = ZSTR_VAL(ret);
5628 _mm_storeu_si128((__m128i *)target, in);
5631 target += 16;
5638 *target++ = 'a' + (((*p++ - 'a') + 13) % 26);
5640 *target++ = 'A' + (((*p++ - 'A') + 13) % 26);
5642 *target++ = *p++;
5646 *target = '\0';