Home
last modified time | relevance | path

Searched refs:p (Results 201 – 225 of 726) sorted by last modified time

12345678910>>...30

/PHP-5.5/ext/standard/
H A Dstring.c1310 if (!p || p >= pe) { in PHP_FUNCTION()
2633 for (p = old, q = str; p != old_end; p++) {
3228 for (p = (char *) txt1; p < end1; p++) {
3630 while ((p = memchr(p, from, (e - p)))) {
3653 while ((p = memchr(p, from, (e - p)))) {
3787 memcpy(e, p, r - p);
3797 memcpy(e, p, end - p);
4746 if (p >= buf + 2 && *(p-1) == '-' && *(p-2) == '-') {
5242 while ((p = memchr(p, cmp, endp - p))) {
5486 …while (p < e && (isalpha((unsigned char)*p) || (char_list && ch[(unsigned char)*p]) || *p == '\'' …
[all …]
H A Dproc_open.c83 char *p; in _php_array_to_envp() local
145 p = env.envp = (char *) pecalloc(sizeenv + 4, 1, is_persistent); in _php_array_to_envp()
173 memcpy(p, string_key, string_length); in _php_array_to_envp()
174 strncat(p, "=", 1); in _php_array_to_envp()
175 strncat(p, data, el_len); in _php_array_to_envp()
178 *ep = p; in _php_array_to_envp()
181 p += l; in _php_array_to_envp()
184 memcpy(p,data,el_len); in _php_array_to_envp()
186 *ep = p; in _php_array_to_envp()
189 p += el_len + 1; in _php_array_to_envp()
[all …]
H A Drand.c180 register php_uint32 *p = state; in php_mt_reload() local
183 for (i = N - M; i--; ++p) in php_mt_reload()
184 *p = twist(p[M], p[0], p[1]); in php_mt_reload()
185 for (i = M; --i; ++p) in php_mt_reload()
186 *p = twist(p[M-N], p[0], p[1]); in php_mt_reload()
187 *p = twist(p[M-N], p[0], state[0]); in php_mt_reload()
H A Dphp_var.h53 PHPAPI int php_var_unserialize(zval **rval, const unsigned char **p, const unsigned char *max, php_…
H A Dphp_crypt_r.c138 char *p = NULL; in php_md5_crypt_r() local
282 l = (final[ 0]<<16) | (final[ 6]<<8) | final[12]; to64(p,l,4); p += 4; in php_md5_crypt_r()
283 l = (final[ 1]<<16) | (final[ 7]<<8) | final[13]; to64(p,l,4); p += 4; in php_md5_crypt_r()
284 l = (final[ 2]<<16) | (final[ 8]<<8) | final[14]; to64(p,l,4); p += 4; in php_md5_crypt_r()
285 l = (final[ 3]<<16) | (final[ 9]<<8) | final[15]; to64(p,l,4); p += 4; in php_md5_crypt_r()
286 l = (final[ 4]<<16) | (final[10]<<8) | final[ 5]; to64(p,l,4); p += 4; in php_md5_crypt_r()
287 l = final[11]; to64(p,l,2); p += 2; in php_md5_crypt_r()
289 *p = '\0'; in php_md5_crypt_r()
412 l = (final[ 0]<<16) | (final[ 6]<<8) | final[12]; to64(p,l,4); p += 4; in php_md5_crypt_r()
417 l = final[11] ; to64(p,l,2); p += 2; in php_md5_crypt_r()
[all …]
H A Dphp_fopen_wrapper.c135 char *p, *token; in php_stream_apply_filter_list() local
139 while (p) { in php_stream_apply_filter_list()
140 php_url_decode(p, strlen(p)); in php_stream_apply_filter_list()
155 p = php_strtok_r(NULL, "|", &token); in php_stream_apply_filter_list()
165 char *p, *token, *pathdup; in php_stream_url_wrap_php() local
316 p = strstr(pathdup, "/resource="); in php_stream_url_wrap_php()
317 if (!p) { in php_stream_url_wrap_php()
327 *p = '\0'; in php_stream_url_wrap_php()
330 while (p) { in php_stream_url_wrap_php()
331 if (!strncasecmp(p, "read=", 5)) { in php_stream_url_wrap_php()
[all …]
H A Dmail.c69 p = str; \
70 e = p + len; \
71 while ((p = memchr(p, '\0', (e - p)))) { \
72 *p = ' '; \
109 char *p, *e; in PHP_FUNCTION() local
201 char *p = message; in php_mail_log_crlf_to_spaces() local
202 while ((p = strpbrk(p, "\r\n"))) { in php_mail_log_crlf_to_spaces()
203 *p = ' '; in php_mail_log_crlf_to_spaces()
H A Dhttp.c92 p = newprefix; in php_url_encode_hash_ex()
100 p += ekey_len; in php_url_encode_hash_ex()
107 *(p++) = '%'; in php_url_encode_hash_ex()
108 *(p++) = '5'; in php_url_encode_hash_ex()
109 *(p++) = 'B'; in php_url_encode_hash_ex()
110 *p = '\0'; in php_url_encode_hash_ex()
116 p = newprefix; in php_url_encode_hash_ex()
134 *(p++) = '%'; in php_url_encode_hash_ex()
135 *(p++) = '5'; in php_url_encode_hash_ex()
136 *(p++) = 'B'; in php_url_encode_hash_ex()
[all …]
H A Dhttp_fopen_wrapper.c248 while (*p != 0 && *p != ':' && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex()
254 while (*p != 0 && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex()
259 while (*p != 0 && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex()
271 p = s; in php_stream_url_wrap_http_ex()
272 while (*p != 0 && *p != ':' && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex()
274 p++; in php_stream_url_wrap_http_ex()
278 while (*p != 0 && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex()
283 while (*p != 0 && *p != '\r' && *p !='\n') p++; in php_stream_url_wrap_http_ex()
286 s = p; in php_stream_url_wrap_http_ex()
500 while (*p != 0 && *p != '\r' && *p != '\n') p++; in php_stream_url_wrap_http_ex()
[all …]
H A Dfilters.c1968 if (*p >= '0' && *p <= '9') { in php_dechunk()
1970 } else if (*p >= 'A' && *p <= 'F') { in php_dechunk()
1972 } else if (*p >= 'a' && *p <= 'f') { in php_dechunk()
1982 p++; in php_dechunk()
1991 while (p < end && *p != '\r' && *p != '\n') { in php_dechunk()
1992 p++; in php_dechunk()
1999 p++; in php_dechunk()
2007 p++; in php_dechunk()
2034 memmove(out, p, end - p); in php_dechunk()
2043 p++; in php_dechunk()
[all …]
H A Dftp_fopen_wrapper.c833 char *p = tmp_line + 4; in php_stream_ftp_url_stat() local
838 while (p - tmp_line < sizeof(tmp_line) && !isdigit(*p)) { in php_stream_ftp_url_stat()
839 p++; in php_stream_ftp_url_stat()
1069 *p = '\0'; in php_stream_ftp_mkdir()
1073 *p = '/'; in php_stream_ftp_mkdir()
1077 if (p == buf) { in php_stream_ftp_mkdir()
1084 if (!p) { in php_stream_ftp_mkdir()
1085 p = buf; in php_stream_ftp_mkdir()
1088 while (++p != e) { in php_stream_ftp_mkdir()
1089 if (*p == '\0' && *(p + 1) != '\0') { in php_stream_ftp_mkdir()
[all …]
H A Dhead.c125 const char *p; in php_setcookie() local
130 p = zend_memrchr(dt, '-', strlen(dt)); in php_setcookie()
131 if (!p || *(p + 5) != ' ') { in php_setcookie()
H A Dhtml.c934 const char *p, in traverse_for_entities() local
942 for (p = old, q = ret; p < lim;) { in traverse_for_entities()
952 if (p[0] != '&' || (p + 3 >= lim)) { in traverse_for_entities()
953 *(q++) = *(p++); in traverse_for_entities()
960 if (p[1] == '#') { in traverse_for_entities()
961 next = &p[2]; in traverse_for_entities()
982 next = &p[1]; in traverse_for_entities()
1021 p = next + 1; in traverse_for_entities()
1025 for (; p < next; p++) { in traverse_for_entities()
1026 *(q++) = *p; in traverse_for_entities()
H A Ddns.c439 u_char *tp, *p; in php_parserr() local
624 p = cp; in php_parserr()
691 if (cp < p + dlen) { in php_parserr()
H A Dfile.c760 p = e; in PHP_FUNCTION()
772 p++; in PHP_FUNCTION()
775 s = p; in PHP_FUNCTION()
776 } while ((p = memchr(p, eol_marker, (e-p)))); in PHP_FUNCTION()
784 s = ++p; in PHP_FUNCTION()
788 s = ++p; in PHP_FUNCTION()
789 } while ((p = memchr(p, eol_marker, (e-p)))); in PHP_FUNCTION()
794 p = e; in PHP_FUNCTION()
814 char *p; in PHP_FUNCTION() local
827 p[63] = '\0'; in PHP_FUNCTION()
[all …]
H A Dexec.c294 char *p = NULL; in php_escape_shell_cmd() local
323 if (!p && (p = memchr(str + x + 1, str[x], l - x - 1))) { in php_escape_shell_cmd()
325 } else if (p && *p == str[x]) { in php_escape_shell_cmd()
326 p = NULL; in php_escape_shell_cmd()
H A Dcrc32.c29 char *p; in PHP_NAMED_FUNCTION() local
34 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &p, &nr) == FAILURE) { in PHP_NAMED_FUNCTION()
39 for (len =+nr; nr--; ++p) { in PHP_NAMED_FUNCTION()
40 crc = ((crc >> 8) & 0x00FFFFFF) ^ crc32tab[(crc ^ (*p)) & 0xFF ]; in PHP_NAMED_FUNCTION()
H A Dcrypt_blowfish.c831 const char *p; in php_crypt_blowfish_rn() local
859 p = BF_crypt(test_key, buf.s, buf.o, sizeof(buf.o) - (1 + 1), 1); in php_crypt_blowfish_rn()
861 ok = (p == buf.o && in php_crypt_blowfish_rn()
862 !memcmp(p, buf.s, 7 + 22) && in php_crypt_blowfish_rn()
863 !memcmp(p + (7 + 22), test_hash, 31 + 1 + 1 + 1)); in php_crypt_blowfish_rn()
H A Dcrypt_freesec.c218 uint32_t *p, *il, *ir, *fl, *fr; in _crypt_extended_init() local
338 *(p = &psbox[b][i]) = 0; in _crypt_extended_init()
621 u_char *p, *q; in _crypt_extended_r() local
680 p = (u_char *) data->output + 9; in _crypt_extended_r()
711 *p++ = ascii64[(l >> 6) & 0x3f]; in _crypt_extended_r()
712 *p++ = ascii64[l & 0x3f]; in _crypt_extended_r()
717 *p++ = ascii64[(l >> 6) & 0x3f]; in _crypt_extended_r()
718 *p++ = ascii64[l & 0x3f]; in _crypt_extended_r()
722 *p++ = ascii64[(l >> 6) & 0x3f]; in _crypt_extended_r()
723 *p++ = ascii64[l & 0x3f]; in _crypt_extended_r()
[all …]
H A Dcrypt_sha256.c288 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint32_t) != 0) in sha256_process_bytes() argument
290 # define UNALIGNED_P(p) (((uintptr_t) p) % sizeof (uint32_t) != 0) in sha256_process_bytes()
H A Dcrypt_sha512.c318 # define UNALIGNED_P(p) (((uintptr_t) p) % __alignof__ (uint64_t) != 0) in sha512_process_bytes() argument
320 # define UNALIGNED_P(p) (((uintptr_t) p) % sizeof(uint64_t) != 0) in sha512_process_bytes()
H A Dbasic_functions.c4083 char *p, **env; local
4102 if ((p = strchr(pe.key, '='))) { /* nullify the '=' if there is one */
4103 *p = '\0';
4113 value = p + 1;
4116 value = p;
4138 if (!p) { /* no '=' means we want to unset it */
4141 if (!p || putenv(pe.putenv_string) == 0) { /* success */
4197 opt_struct *p; local
4200 for (p = longopts; p && p->opt_char != '-'; p++) {
4201 if (p->opt_name != NULL) {
[all …]
H A Dbrowscap.c454 static void browscap_zval_copy_ctor(zval **p) /* {{{ */ in browscap_zval_copy_ctor() argument
459 *new = **p; in browscap_zval_copy_ctor()
464 *p = new; in browscap_zval_copy_ctor()
H A Darray.c1846 for (pos = 0, p = in_hash->pListHead; pos < offset && p ; pos++, p = p->pListNext) { in php_splice()
1885 for ( ; p ; p = p->pListNext) { in php_splice()
1982 p = p->pListNext; in _phpi_pop()
2077 for (p = Z_ARRVAL_P(repl_array)->pListHead, i = 0; p; p = p->pListNext, i++) { in PHP_FUNCTION()
2853 for (i = 0, p = Z_ARRVAL_P(array)->pListHead; p; i++, p = p->pListNext) { in PHP_FUNCTION()
2996 for (p = Z_ARRVAL_PP(args[0])->pListHead; p != NULL; p = p->pListNext) { in php_array_intersect_key()
3169 for (p = hash->pListHead; p; p = p->pListNext) { in php_array_intersect()
3414 for (p = Z_ARRVAL_PP(args[0])->pListHead; p != NULL; p = p->pListNext) { in php_array_diff_key()
3586 for (p = hash->pListHead; p; p = p->pListNext) { in php_array_diff()
3945 for (p = Z_ARRVAL_PP(arrays[i])->pListHead; p; p = p->pListNext, k++) { in PHP_FUNCTION()
[all …]
/PHP-5.5/ext/standard/tests/array/
H A D009.phpt19 array('d' => 'drink', 'p' => 'port', 's' => 'set'), // another associative array
295 string(1) "p"
308 ["p"]=>

Completed in 105 milliseconds

12345678910>>...30