Home
last modified time | relevance | path

Searched refs:p (Results 76 – 100 of 726) sorted by path

12345678910>>...30

/PHP-5.5/ext/dom/tests/
H A Dbug40836.phpt15 <p>paragraph</p>
29 …ted/><content><div xmlns="http://www.w3.org/1999/xhtml"><p>paragraph2007-02-14T00:00:00+01:00</p><…
H A Dbug47430.phpt8 version="1.0"?><html><p><i>Hello</i></p><p><i>World!</i></p></html>';
H A Ddom005.phpt17 return str_replace(array("DOCTYPE HTML",'<p>','</p>'),array("DOCTYPE html",'',''),$xml);
/PHP-5.5/ext/ereg/regex/
H A Dengine.c635 register unsigned char *p = start; local
646 SP("start", st, *p);
651 c = (p == m->endp) ? OUT : *p;
653 coldp = p;
699 p++;
705 return(p+1);
736 SP("sstart", st, *p);
742 c = (p == m->endp) ? OUT : *p;
779 matchp = p;
780 if (EQ(st, empty) || p == stop)
[all …]
H A Dmain.c323 for (p = s; *p != '\0'; p++)
325 switch (*p) {
384 fixstr(p) in fixstr() argument
385 register char *p; in fixstr()
387 if (p == NULL)
390 for (; *p != '\0'; p++)
391 if (*p == 'N')
392 *p = '\n';
394 *p = '\t';
396 *p = ' ';
[all …]
H A Dmain.ih11 void fixstr(register char *p);
H A Dregcomp.c45 #define MORE() (p->next < p->end)
46 #define MORE2() (p->next+1 < p->end)
139 p->end = p->next + len;
519 (void) dupl(p, p->pbegin[i]+1, p->pend[i]);
597 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) {
602 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) {
653 ordinary(p, firstch(p, cs));
1236 for (p = cs->multis; *p != '\0'; p += strlen(p) + 1)
1364 assert(p->ssize >= p->slen + len);
1393 if (p->slen >= p->ssize)
[all …]
H A Dregcomp.ih7 static void p_ere(register struct parse *p, int stop);
8 static void p_ere_exp(register struct parse *p);
9 static void p_str(register struct parse *p);
12 static int p_count(register struct parse *p);
13 static void p_bracket(register struct parse *p);
17 static unsigned char p_b_symbol(register struct parse *p);
20 static void bothcases(register struct parse *p, int ch);
22 static void nonnewline(register struct parse *p);
24 static int seterr(register struct parse *p, int e);
25 static cset *allocset(register struct parse *p);
[all …]
H A Dregex2.h99 #define MCadd(p, cs, cp) mcadd(p, cs, cp) /* regcomp() internal fns */ argument
100 #define MCsub(p, cs, cp) mcsub(p, cs, cp) argument
101 #define MCin(p, cs, cp) mcin(p, cs, cp) argument
H A Dsplit.c28 p--;
44 *fp++ = p;
68 *fp++ = p;
81 p--;
88 p--;
95 p--;
98 p++;
112 *fp++ = p;
115 c = *p++;
127 c = *p++;
[all …]
H A Dtests30 # p REG_PEND
447 aZb &p a
448 aZb &p# (aZb) aZb
449 aZ*b &p# (ab) ab
/PHP-5.5/ext/exif/
H A Dexif.c88 # define safe_erealloc(p,a,b,c) erealloc(p, (a)*(b)+(c)) argument
1049 int c, i, p=0, n = 5+31; in exif_char_dump() local
1051 p += slprintf(buf+p, sizeof(buf)-p, "\nDump Len: %08X (%d)", len, len); in exif_char_dump()
1053 for(i=0; i<len+15 && p+n<=sizeof(buf); i++) { in exif_char_dump()
1055 p += slprintf(buf+p, sizeof(buf)-p, "\n%08X: ", i+offset); in exif_char_dump()
1059 p += slprintf(buf+p, sizeof(buf)-p, "%02X ", c); in exif_char_dump()
1063 p += slprintf(buf+p, sizeof(buf)-p, " "); in exif_char_dump()
1066 p += slprintf(buf+p, sizeof(buf)-p, " %s", tmp); in exif_char_dump()
H A Dtest.txt126 if ( ($p=strpos($path,'?')) !== false) $path = substr($path,0,$p);
127 if ( ($p=strrpos($path,'/')) /*< strlen($path)-1*/) $path = substr($path,0,$p);
181 </p>
182 <p>
190 </p>
191 <p>
193 </p>
194 <p>
197 </p>
198 <p>
[all …]
/PHP-5.5/ext/fileinfo/
H A Dlibmagic.patch187 - if (map->p == NULL)
194 - free(map->p);
197 + if (map->p == NULL) {
205 + efree(map->p);
234 char *p, *mfn;
274 fn = p;
803 const char *p, *q;
913 DPRINTF(("%d: offset begin %p < end %p || %" SIZE_T_FORMAT "u"
982 DPRINTF(("Ran of the end %p > %p\n", q, e));
1841 - const char *p;
[all …]
/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c98 void *p; member
250 for (p = tbl; p->len; p++) { in get_type()
251 if (strncmp(l, p->name, p->len) == 0) { in get_type()
355 for (p = type_tbl; p->len; p++) { in init_file_tables()
357 file_names[p->type] = p->name; in init_file_tables()
358 file_formats[p->type] = p->format; in init_file_tables()
590 if (p) in file_apprentice()
1060 if (p && (p == me[i].mp->desc || in set_text_binary()
1433 for (p = cond_tbl; p->len; p++) { in get_cond()
1434 if (strncmp(l, p->name, p->len) == 0 && in get_cond()
[all …]
H A Dcdf.c144 cdf_getuint32(const uint8_t *p, size_t offs) in cdf_getuint32() argument
276 const void *p, size_t tail, int line) in cdf_check_stream_offset() argument
279 const char *e = ((const char *)p) + tail; in cdf_check_stream_offset()
761 const uint8_t *p, *q, *e; in cdf_read_property_info() local
819 ofs = CDF_GETUINT32(p, tail); in cdf_read_property_info()
823 if (q < p || q > e) { in cdf_read_property_info()
1027 if (vn[i].v == p) in cdf_print_property_name()
1120 unsigned char *p = v; in cdf_dump() local
1123 for (i = 0, j = 0; i < len; i++, p++) { in cdf_dump()
1124 (void)fprintf(stderr, "%.2x ", *p); in cdf_dump()
[all …]
H A Dcdf_time.c188 char *p, *q; in main() local
191 p = cdf_ctime(&ts.tv_sec, buf); in main()
192 if ((q = strchr(p, '\n')) != NULL) in main()
194 if (strcmp(ref, p) != 0) in main()
195 errx(1, "Error date %s != %s\n", ref, p); in main()
H A Dfile.h504 static const char *rcsid(const char *p) { \
505 return rcsid(p = id); \
H A Dis_tar.c98 const unsigned char *p; in is_tar() local
106 p = header->charptr; in is_tar()
108 sum += *p++; in is_tar()
H A Dsoftmagic.c793 p->fld = ~p->fld \
880 p->s[sizeof(p->s) - 1] = '\0'; in mconvert()
905 p->h = (short)((p->hs[0]<<8)|(p->hs[1])); in mconvert()
912 ((p->hl[0]<<24)|(p->hl[1]<<16)|(p->hl[2]<<8)|(p->hl[3])); in mconvert()
927 p->h = (short)((p->hs[1]<<8)|(p->hs[0])); in mconvert()
934 ((p->hl[3]<<24)|(p->hl[2]<<16)|(p->hl[1]<<8)|(p->hl[0])); in mconvert()
952 ((p->hl[1]<<24)|(p->hl[0]<<16)|(p->hl[3]<<8)|(p->hl[2])); in mconvert()
959 p->l = ((uint32_t)p->hl[0]<<24)|((uint32_t)p->hl[1]<<16)| in mconvert()
964 p->l = ((uint32_t)p->hl[3]<<24)|((uint32_t)p->hl[2]<<16)| in mconvert()
972 p->q = ((uint64_t)p->hq[0]<<56)|((uint64_t)p->hq[1]<<48)| in mconvert()
[all …]
/PHP-5.5/ext/fileinfo/tests/
H A Dmagic2447 # xar archive format: http://code.google.com/p/xar/
3779 # soh S p f 8 U D sp ^ S cr nl p o d i
9109 # http://git.savannah.gnu.org/gitweb/?p=guile.git;f=libguile/_scm.h;hb=HEAD#l250
10218 # p M 8 5/6 xx yy zz data...
11059 # * android port: http://code.google.com/p/keepassdroid/
14833 # not 'p', check other lines
14834 0 search/1 !p
17193 # not 'p', check other lines
17194 0 search/1 !p
18598 #>>>>>>&0 string !p \b)
[all …]
/PHP-5.5/ext/filter/
H A Dfilter_private.h103 #define PHP_FILTER_TRIM_DEFAULT(p, len) PHP_FILTER_TRIM_DEFAULT_EX(p, len, 1); argument
105 #define PHP_FILTER_TRIM_DEFAULT_EX(p, len, return_if_empty) { \ argument
106 while ((len > 0) && (*p == ' ' || *p == '\t' || *p == '\r' || *p == '\v' || *p == '\n')) { \
107 p++; \
114 …while (p[len-1] == ' ' || p[len-1] == '\t' || p[len-1] == '\r' || p[len-1] == '\v' || p[len-1] == …
H A Dlogical_filters.c179 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 …]
H A Dsanitizing_filters.c69 unsigned char *str, *p; in php_filter_encode_url() local
90 p = str = (unsigned char *) safe_emalloc(3, Z_STRLEN_P(value), 1); in php_filter_encode_url()
96 *p++ = '%'; in php_filter_encode_url()
97 *p++ = hexchars[(unsigned char) *s >> 4]; in php_filter_encode_url()
98 *p++ = hexchars[(unsigned char) *s & 15]; in php_filter_encode_url()
100 *p++ = *s; in php_filter_encode_url()
104 *p = '\0'; in php_filter_encode_url()
107 Z_STRLEN_P(value) = p - str; in php_filter_encode_url()
/PHP-5.5/ext/filter/tests/
H A D011.phpt10 c=<p>string</p>&d=12345.7
40 string(29) "&#60;p&#62;string&#60;/p&#62;"

Completed in 204 milliseconds

12345678910>>...30