/PHP-5.5/ext/opcache/ |
H A D | shared_alloc_mmap.c | 49 …shared_segment->p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS, -1, … in create_segments() 50 if (shared_segment->p == MAP_FAILED) { in create_segments() 63 munmap(shared_segment->p, shared_segment->size); in detach_segment()
|
H A D | shared_alloc_posix.c | 66 …shared_segment->common.p = mmap(0, requested_size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_segm… in create_segments() 67 if (shared_segment->common.p == MAP_FAILED) { in create_segments() 82 munmap(shared_segment->common.p, shared_segment->common.size); in detach_segment()
|
H A D | shared_alloc_shm.c | 113 shared_segments[i].common.p = shmat(shared_segments[i].shm_id, NULL, 0); in create_segments() 114 if (shared_segments[i].common.p == (void *)-1) { in create_segments() 130 shmdt(shared_segment->common.p); in detach_segment()
|
H A D | shared_alloc_win32.c | 288 …shared_segment->p = mapping_base = MapViewOfFileEx(memfile, FILE_MAP_ALL_ACCESS, 0, 0, 0, *wanted_… in create_segments()
|
H A D | zend_accelerator_blacklist.c | 106 p = regexp + 2; in zend_accel_blacklist_update_regexp() 122 p += 5; in zend_accel_blacklist_update_regexp() 128 p += 4; in zend_accel_blacklist_update_regexp() 137 p += 2; in zend_accel_blacklist_update_regexp() 146 p += 6; in zend_accel_blacklist_update_regexp() 153 p += 5; in zend_accel_blacklist_update_regexp() 186 *p++ = ')'; in zend_accel_blacklist_update_regexp() 187 *p++ = '\0'; in zend_accel_blacklist_update_regexp() 205 *p++ = '|'; in zend_accel_blacklist_update_regexp() 215 while (p<end) { in zend_accel_blacklist_shutdown() [all …]
|
H A D | zend_accelerator_module.c | 103 long *p; in ZEND_INI_MH() local 114 p = (long *) (base + (size_t)mh_arg1); in ZEND_INI_MH() 135 *p = memsize * (1024 * 1024); in ZEND_INI_MH() 141 long *p; in ZEND_INI_MH() local 152 p = (long *) (base + (size_t)mh_arg1); in ZEND_INI_MH() 181 *p = size; in ZEND_INI_MH() 187 double *p; in ZEND_INI_MH() local 217 *p = (double)percentage / 100.0; in ZEND_INI_MH() 229 zend_bool *p; in ZEND_INI_MH() local 244 *p = 0; in ZEND_INI_MH() [all …]
|
H A D | zend_accelerator_util_funcs.c | 320 memcpy(q->arKey, p->arKey, p->nKeyLength); 356 p = p->pListNext; 382 p = p->pListNext; 440 memcpy(q->arKey, p->arKey, p->nKeyLength); 494 p = p->pListNext; 551 memcpy(q->arKey, p->arKey, p->nKeyLength); 595 p = p->pListNext; 832 if (zend_hash_quick_add(target, p->arKey, p->nKeyLength, p->h, p->pData, size, &t) == SUCCESS) { 837 if (p->nKeyLength > 0 && p->arKey[0] == 0) { 840 …if (zend_hash_quick_update(target, p->arKey, p->nKeyLength, p->h, p->pData, size, &t) == SUCCESS) { [all …]
|
H A D | zend_persist.c | 64 while (p) { in zend_hash_persist() 69 p = zend_accel_memdup(p, sizeof(Bucket)); in zend_hash_persist() 71 p->arKey = zend_accel_memdup_interned_string(p->arKey, p->nKeyLength); in zend_hash_persist() 74 p = zend_accel_memdup(p, sizeof(Bucket) - 1 + p->nKeyLength); in zend_hash_persist() 82 p->pData = &p->pDataPtr; in zend_hash_persist() 92 p->pLast->pNext = p; in zend_hash_persist() 95 p->pNext->pLast = p; in zend_hash_persist() 98 p->pListLast->pListNext = p; in zend_hash_persist() 101 p->pListNext->pListLast = p; in zend_hash_persist() 104 p = p->pListNext; in zend_hash_persist() [all …]
|
H A D | zend_persist_calc.c | 53 Bucket *p = ht->pListHead; in zend_hash_persist_calc() local 56 while (p) { in zend_hash_persist_calc() 60 if (p->nKeyLength) { in zend_hash_persist_calc() 62 if (tmp != p->arKey) { in zend_hash_persist_calc() 63 p->arKey = tmp; in zend_hash_persist_calc() 65 ADD_DUP_SIZE(p->arKey, p->nKeyLength); in zend_hash_persist_calc() 69 ADD_DUP_SIZE(p, sizeof(Bucket) - 1 + p->nKeyLength); in zend_hash_persist_calc() 73 if (!p->pDataPtr) { in zend_hash_persist_calc() 82 p = p->pListNext; in zend_hash_persist_calc() 147 while (p < end) { [all …]
|
H A D | zend_shared_alloc.c | 140 if ((*shared_segments_p)[i]->p && (*shared_segments_p)[i]->p != (void *)-1) { in zend_shared_alloc_try() 314 …void *retval = (void *) (((char *) ZSMMG(shared_segments)[i]->p) + ZSMMG(shared_segments)[i]->pos); in zend_shared_alloc() 491 mprotect(ZSMMG(shared_segments)[i]->p, ZSMMG(shared_segments)[i]->size, mode); in zend_accel_shared_protect()
|
H A D | zend_shared_alloc.h | 75 void *p; member 127 void *_zend_shared_memdup(void *p, size_t size, zend_bool free_source TSRMLS_DC); 128 int zend_shared_memdup_size(void *p, size_t size);
|
/PHP-5.5/ext/opcache/tests/ |
H A D | bug67215.phpt | 13 $file_p = __DIR__ . "/bug67215.p.php"; 14 file_put_contents($file_c, "<?php require \"$file_p\"; class c extends p {} ?>"); 15 file_put_contents($file_p, '<?php class p { protected $var = ""; } ?>'); 23 $file_p = __DIR__ . "/bug67215.p.php";
|
H A D | issue0115.phpt | 17 $p = new Phar(__DIR__ . '/issue0115_1.phar.php', 0, 'this'); 18 $p['index.php'] = '<?php 22 $p['hello.php'] = "Hello World 1!\n"; 23 $p->setStub($stub); 24 unset($p); 25 $p = new Phar(__DIR__ . '/issue0115_2.phar.php', 0, 'this'); 26 $p['index.php'] = '<?php 30 $p['hello.php'] = "Hello World 2!\n"; 31 $p->setStub($stub); 32 unset($p);
|
H A D | issue0149.phpt | 17 $p = new Phar(__DIR__ . '/issue0149.phar.php', 0, 'this'); 18 $p['index.php'] = ""; # A Phar must have at least one file, hence this dummy 19 $p->setStub($stub); 20 unset($p);
|
/PHP-5.5/ext/openssl/ |
H A D | openssl.c | 1440 const unsigned char *p; in openssl_x509v3_subjectAltName() local 1447 p = extension->value->data; in openssl_x509v3_subjectAltName() 1450 names = (GENERAL_NAMES*)(ASN1_item_d2i(NULL, &p, length, in openssl_x509v3_subjectAltName() 3112 OPENSSL_PKEY_SET_BN(Z_ARRVAL_PP(data), rsa, p); in PHP_FUNCTION() 3133 OPENSSL_PKEY_SET_BN(Z_ARRVAL_PP(data), dsa, p); in PHP_FUNCTION() 3138 if (dsa->p && dsa->q && dsa->g) { in PHP_FUNCTION() 3157 OPENSSL_PKEY_SET_BN(Z_ARRVAL_PP(data), dh, p); in PHP_FUNCTION() 3161 if (dh->p && dh->g) { in PHP_FUNCTION() 3413 OPENSSL_PKEY_GET_BN(rsa, p); in PHP_FUNCTION() 3433 OPENSSL_PKEY_GET_BN(dsa, p); in PHP_FUNCTION() [all …]
|
/PHP-5.5/ext/pcre/pcrelib/ |
H A D | ChangeLog | 68 16. When PCRE was compiled without UCP support, the use of \p and \P gave an 1545 things like p++ in the argument of isxdigit(). 2006 test, for example, \p{Nd}+, there was the theoretical possibility of 2859 are: /\p{Zl}{2,3}+/8 and /\p{Cc}{2}+/8. It was the possessive "+" that 3116 (c) A pattern such as \p{Yi}+(\P{Yi}+)(?1) could give an incorrect 3130 \p or \P) caused a compile-time loop. 4016 \p or \P will have to recompile them. 4224 -w, --word-regex(p) 4840 \L, \l, \N, \P, \p, \U, \u, and \X. 4876 27. Fixed typo in error message for invalid (?R item (it said "(?p"). [all …]
|
H A D | HACKING | 299 character by testing its Unicode property (the \p and \P escape sequences). 334 \p or \P, OP_XCLASS is used. It optionally uses a bit map if any code points
|
H A D | NEWS | 476 use \p or \P must be recompiled. 547 means that the patterns items such as \p{Lu} and \X can now be used. Only
|
H A D | README | 248 include support for the \P, \p, and \X sequences that recognize Unicode
|
H A D | pcre_compile.c | 963 p++; in is_counted_repeat() 964 while (IS_DIGIT(*p)) p++; in is_counted_repeat() 971 p++; in is_counted_repeat() 972 while (IS_DIGIT(*p)) p++; in is_counted_repeat() 1131 for (p = ptr+2; *p != CHAR_NULL && *p != CHAR_RIGHT_CURLY_BRACKET; p++) in check_escape() 1646 return p; in read_repeat_counts() 4374 while(p[n+1] == p[0] + n + 1) n++; in add_list_to_class() 4412 while (p[1] == p[0] + 1) p++; in add_not_list_to_class() 4415 p++; in add_not_list_to_class() 5656 while (MAX_255(*p) && (cd->ctypes[*p] & ctype_space) != 0) p++; in compile_branch() [all …]
|
H A D | pcre_exec.c | 135 if (is_subject && length > md->end_subject - p) length = md->end_subject - p; in pchars() 183 pchars(p, length, FALSE, md); in match_ref() 210 PCRE_PUCHAR endptr = p + length; in match_ref() 211 while (p < endptr) in match_ref() 217 GETCHARINC(d, p); in match_ref() 241 cp = UCHAR21TEST(p); in match_ref() 243 p++; in match_ref() 6885 if (p > req_char_ptr) in pcre_exec() 6899 if (UCHAR21INCTEST(p) == req_char) { p--; break; } in pcre_exec() 6906 if (p >= end_subject) in pcre_exec() [all …]
|
H A D | pcre_get.c | 457 pcre_uchar *p; in pcre_get_substring_list() local 472 p = (pcre_uchar *)(stringlist + stringcount + 1); in pcre_get_substring_list() 477 memcpy(p, subject + ovector[i], IN_UCHARS(len)); in pcre_get_substring_list() 478 *stringlist++ = p; in pcre_get_substring_list() 479 p += len; in pcre_get_substring_list() 480 *p++ = 0; in pcre_get_substring_list()
|
H A D | pcre_internal.h | 99 #define DPRINTF(p) printf p argument 101 #define DPRINTF(p) /* Nothing */ argument 316 #define IS_NEWLINE(p) \ argument 318 ((p) < NLBLOCK->PSEND && \ 319 PRIV(is_newline)((p), NLBLOCK->nltype, NLBLOCK->PSEND, \ 322 ((p) <= NLBLOCK->PSEND - NLBLOCK->nllen && \ 323 UCHAR21TEST(p) == NLBLOCK->nl[0] && \ 330 #define WAS_NEWLINE(p) \ argument 332 ((p) > NLBLOCK->PSSTART && \ 333 PRIV(was_newline)((p), NLBLOCK->nltype, NLBLOCK->PSSTART, \ [all …]
|
H A D | pcre_maketables.c | 80 unsigned char *yield, *p; in pcre_maketables() local 90 p = yield; in pcre_maketables() 94 for (i = 0; i < 256; i++) *p++ = tolower(i); in pcre_maketables() 113 memset(p, 0, cbit_length); in pcre_maketables() 116 if (isdigit(i)) p[cbit_digit + i/8] |= 1 << (i&7); in pcre_maketables() 117 if (isupper(i)) p[cbit_upper + i/8] |= 1 << (i&7); in pcre_maketables() 118 if (islower(i)) p[cbit_lower + i/8] |= 1 << (i&7); in pcre_maketables() 119 if (isalnum(i)) p[cbit_word + i/8] |= 1 << (i&7); in pcre_maketables() 120 if (i == '_') p[cbit_word + i/8] |= 1 << (i&7); in pcre_maketables() 128 p += cbit_length; in pcre_maketables() [all …]
|
/PHP-5.5/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 5230 \w any character that matches \p{L} or \p{N}, plus underscore 5347 \p{Greek} 5385 \p{L} 5911 [:alnum:] becomes \p{Xan} 5912 [:alpha:] becomes \p{L} 5914 [:digit:] becomes \p{Nd} 5915 [:lower:] becomes \p{Ll} 5916 [:space:] becomes \p{Xps} 5917 [:upper:] becomes \p{Lu} 5918 [:word:] becomes \p{Xwd} [all …]
|