/PHP-5.4/ext/mbstring/oniguruma/ |
H A D | regparse.c | 119 xmemcpy(to->p, from->p, from->used); in bbuf_clone() 1506 return node_new_str(p, p + 1); in node_new_str_char() 2182 p->lower = 0; p->upper = REPEAT_INFINITE; p->greedy = 1; in onig_reduce_nested_quantifier() 2186 p->lower = 0; p->upper = REPEAT_INFINITE; p->greedy = 0; in onig_reduce_nested_quantifier() 2190 p->lower = 0; p->upper = 1; p->greedy = 0; in onig_reduce_nested_quantifier() 2194 p->lower = 0; p->upper = 1; p->greedy = 0; in onig_reduce_nested_quantifier() 2200 p->lower = 0; p->upper = 1; p->greedy = 1; in onig_reduce_nested_quantifier() 2690 q = p + enc_len(enc, p); in find_str_position() 2721 p += enc_len(enc, p); in str_exist_check_with_esc() 2725 q = p + enc_len(enc, p); in str_exist_check_with_esc() [all …]
|
/PHP-5.4/ext/phar/tests/cache_list/files/ |
H A D | write21.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p["test.txt"]->isCompressed()); 10 $p["test.txt"]->compress(Phar::GZ); 11 var_dump($p["test.txt"]->isCompressed());
|
H A D | write25.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump(isset($p["mounted"])); 11 var_dump(isset($p["mounted"])); 12 echo $p["mounted"]->getContent(),"\nok\n";
|
H A D | write13.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p["test.txt"]->isCompressed()); 11 $p->compressFiles(Phar::GZ); 12 var_dump($p["test.txt"]->isCompressed());
|
H A D | write16.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump(isset($p["test.txt"])); 10 unset($p["test.txt"]); 11 var_dump(isset($p["test.txt"]));
|
H A D | write20.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p["test.txt"]->getMetadata()); 10 $p["test.txt"]->delMetadata(); 11 var_dump($p["test.txt"]->getMetadata());
|
H A D | write22.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p["test.txt"]->isCompressed()); 10 $p["test.txt"]->decompress(); 11 var_dump($p["test.txt"]->isCompressed());
|
H A D | write14.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p["test.txt"]->isCompressed()); 11 $p->decompressFiles(); 12 var_dump($p["test.txt"]->isCompressed());
|
H A D | write19.phar.inc | 8 $p = new Phar(__FILE__); 9 var_dump($p["test.txt"]->getMetadata()); 10 $p["test.txt"]->setMetadata("hi2"); 11 var_dump($p["test.txt"]->getMetadata());
|
/PHP-5.4/ext/phar/tests/tar/ |
H A D | phar_magic.phpt | 11 $p = new Phar($fname); 12 var_dump($p->isFileFormat(Phar::TAR)); 13 $p['a'] = '<?php include "b/c.php";' . "\n"; 14 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose… 15 $p['d'] = "in d\n"; 16 $p->setStub('<?php
|
/PHP-5.4/ext/standard/tests/strings/ |
H A D | 004.phpt | 15 $p = range(1,4); 16 shuffle($p); 17 $s = join('', $p); 26 $p = '1234'; 27 $s = str_shuffle($p);
|
/PHP-5.4/ext/phar/tests/ |
H A D | phar_copy.phpt | 20 $p = new Phar($fname); 24 $p['a'] = 'hi'; 25 $p->startBuffering(); 26 $p->copy('a', 'b'); 27 echo file_get_contents($p['b']->getPathName()); 28 $p['a']->compress(Phar::GZ); 29 $p['b']->setMetadata('a'); 30 $p->copy('b', 'c'); 31 $p->stopBuffering(); 32 echo file_get_contents($p['c']->getPathName()); [all …]
|
/PHP-5.4/ext/standard/ |
H A D | versioning.c | 38 const char *p; in php_canonicalize_version() local 45 p = version; in php_canonicalize_version() 47 *q++ = lp = *p++; in php_canonicalize_version() 49 while (*p) { in php_canonicalize_version() 59 if (isspecialver(*p)) { in php_canonicalize_version() 63 } else if ((isndig(lp) && isdig(*p)) || (isdig(lp) && isndig(*p))) { in php_canonicalize_version() 67 *q++ = *p; in php_canonicalize_version() 68 } else if (!isalnum(*p)) { in php_canonicalize_version() 73 *q++ = *p; in php_canonicalize_version() 75 lp = *p++; in php_canonicalize_version()
|
/PHP-5.4/ext/pcre/tests/ |
H A D | backtrack_limit.phpt | 5 if (@preg_match_all('/\p{N}/', '0123456789', $dummy) === false) { 6 die("skip no support for \p support PCRE library"); 14 var_dump(preg_match_all('/.*\p{N}/', '0123456789', $dummy)); 17 var_dump(preg_match_all('/\p{Nd}/', '0123456789', $dummy));
|
/PHP-5.4/win32/ |
H A D | glob.c | 363 const Char *p; local 372 h < (char *)eb && *p && *p != SLASH; *h++ = (char) *p++) 556 Char *p, *q; local 585 p = pattern; 586 while (*p != EOS && !IS_SLASH(*p)) { 591 *q++ = *p++; 596 pattern = p; 736 for (p = path; *p++;) 914 for (p = s; *p; p++) 917 for (p = s; *p; p++) [all …]
|
H A D | syslog.h | 37 #define LOG_PRI(p) ((p) & LOG_PRIMASK) argument 54 #define LOG_FAC(p) (((p) & LOG_FACMASK) >> 3) argument
|
/PHP-5.4/ext/mysqli/ |
H A D | mysqli_prop.c | 42 MYSQL *p; \ 54 MYSQL_RES *p; \ 67 MYSQL_STMT *p; \ 83 if (!p) {\ 103 if (!p) {\ 300 if (!p) { in result_type_read() 319 if (!p || !p->field_count || !(ret = mysql_fetch_lengths(p))) { in result_lengths_read() 344 MY_STMT *p; in MYSQLI_MAP_PROPERTY_FUNC_LONG() local 351 if (!p) { in MYSQLI_MAP_PROPERTY_FUNC_LONG() 363 MY_STMT *p; in stmt_affected_rows_read() local [all …]
|
/PHP-5.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_htmlent.c | 113 char *p; in mbfl_filt_conv_html_enc() local 115 for (p = e->name; *p != '\0'; p++) { in mbfl_filt_conv_html_enc() 116 CK((*filter->output_function)((int)*p, filter->data)); in mbfl_filt_conv_html_enc() 123 int *p = tmp + sizeof(tmp) / sizeof(tmp[0]); in mbfl_filt_conv_html_enc() local 129 *(--p) = '\0'; in mbfl_filt_conv_html_enc() 131 *(--p) = "0123456789"[uc % 10]; in mbfl_filt_conv_html_enc() 135 for (; *p != '\0'; p++) { in mbfl_filt_conv_html_enc() 136 CK((*filter->output_function)(*p, filter->data)); in mbfl_filt_conv_html_enc()
|
/PHP-5.4/ext/dom/tests/ |
H A D | DOMDocument_loadHTML_basic.phpt | 13 $doc->loadHTML("<html><body><p>Test<br></p></body></html>"); 18 <html><body><p>Test<br></p></body></html>
|
/PHP-5.4/main/ |
H A D | mergesort.c | 98 #define EVAL(p) (u_char **) \ argument 164 if ((p = (b + i)) >= t) { in php_mergesort() 165 if ((p = t - size) > b && in php_mergesort() 167 t = p; in php_mergesort() 169 b = p; in php_mergesort() 172 t = p; in php_mergesort() 177 b = p; in php_mergesort() 181 t = p; in php_mergesort() 183 b = p; in php_mergesort() 189 t = p; in php_mergesort() [all …]
|
/PHP-5.4/ext/phar/tests/zip/ |
H A D | phar_magicU.phpt | 15 $p = new Phar($fname); 16 var_dump($p->isFileFormat(Phar::ZIP)); 17 $p['a'] = '<?php include "b/c.php";' . "\n"; 18 $p['b/c.php'] = '<?php echo "in b\n";$a = fopen("a", "r", true);echo stream_get_contents($a);fclose… 19 $p['d'] = "in d\n"; 20 $p->setStub('<?php
|
/PHP-5.4/sapi/fpm/fpm/ |
H A D | fastcgi.c | 379 if (p < end) { in fcgi_get_params_len() 380 *result = p[0]; in fcgi_get_params_len() 388 *result |= p[3]; in fcgi_get_params_len() 403 for (; p != end; ++p) { in fcgi_param_get_eff_len() 404 if (*p == '\0') { in fcgi_param_get_eff_len() 436 while (p < end) { in fcgi_get_params() 443 p += bytes_consumed; in fcgi_get_params() 462 if (!fcgi_param_get_eff_len(p, p+name_len, &eff_name_len)){ in fcgi_get_params() 637 *p++ = zlen; in fcgi_read_request() 645 p += str_length; in fcgi_read_request() [all …]
|
/PHP-5.4/Zend/ |
H A D | zend_alloc.h | 110 inline static void * __zend_realloc(void *p, size_t len) in __zend_realloc() argument 112 p = realloc(p, len); in __zend_realloc() 113 if (p) { in __zend_realloc() 114 return p; in __zend_realloc() 196 ZEND_API void _zend_mm_free(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC); 201 #define zend_mm_free(heap, p) _zend_mm_free((heap), (p) ZEND_FILE_LINE_CC ZEND_FILE_LINE_EMPTY_C… argument 202 #define zend_mm_realloc(heap, p, size) _zend_mm_realloc((heap), (p), (size) ZEND_FILE_LINE_CC ZEND… argument 203 #define zend_mm_block_size(heap, p) _zend_mm_block_size((heap), (p) ZEND_FILE_LINE_CC ZEND_FILE_L… argument 206 #define zend_mm_free_rel(heap, p) _zend_mm_free((heap), (p) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LIN… argument 207 #define zend_mm_realloc_rel(heap, p, size) _zend_mm_realloc((heap), (p), (size) ZEND_FILE_LINE_RELA… argument [all …]
|
/PHP-5.4/sapi/cli/ |
H A D | php_cli_server.c | 1167 for (p = sal; *p; p++) { in php_network_listen_socket() 1360 q = p; in php_cli_server_request_translate_vpath() 1435 char *p; in normalize_vpath() local 1448 if (p < decoded_vpath_end && *p == '/') { in normalize_vpath() 1458 if (n - p == 2 && p[0] == '.' && p[1] == '.') { in normalize_vpath() 1460 --p; in normalize_vpath() 1477 } else if (n - p == 1 && p[0] == '.') { in normalize_vpath() 1609 --p; in php_cli_server_client_read_request_on_message_complete() 1611 ++p; in php_cli_server_client_read_request_on_message_complete() 2128 port = strtol(p + 1, &p, 10); in php_cli_server_ctor() [all …]
|
/PHP-5.4/ext/filter/ |
H A D | logical_filters.c | 179 char *p; in php_filter_int() local 206 if (*p == '0') { in php_filter_int() 207 p++; len--; in php_filter_int() 208 if (allow_hex && (*p == 'x' || *p == 'X')) { in php_filter_int() 209 p++; len--; in php_filter_int() 310 char *num, *p; in php_filter_float() local 342 *p++ = *str++; in php_filter_float() 349 *p++ = *str++; in php_filter_float() 356 *p++ = '.'; in php_filter_float() 363 *p++ = *str++; in php_filter_float() [all …]
|