/PHP-5.3/ext/sqlite/libsqlite/src/ |
H A D | vdbeaux.c | 182 p->aLabel[-1-x] = p->nOp; in sqliteVdbeResolveLabel() 184 if( p->aOp[j].p2==x ) p->aOp[j].p2 = p->nOp; in sqliteVdbeResolveLabel() 247 if( p && addr>=0 && p->nOp>addr && p->aOp ){ in sqliteVdbeChangeP1() 259 if( p && addr>=0 && p->nOp>addr && p->aOp ){ in sqliteVdbeChangeP2() 467 assert( p && p->pFunc ); in sqlite_user_data() 481 assert( p && p->pFunc && p->pFunc->xStep ); in sqlite_aggregate_context() 502 assert( p && p->pFunc && p->pFunc->xStep ); in sqlite_aggregate_count() 601 if( p->nOp==0 || (p->aOp && p->aOp[p->nOp-1].opcode!=OP_Halt) ){ in sqliteVdbeMakeReady() 623 p->anVar = (int*)&p->azVar[p->nVar]; in sqliteVdbeMakeReady() 624 p->abVar = (u8*)&p->anVar[p->nVar]; in sqliteVdbeMakeReady() [all …]
|
H A D | date.c | 209 p->validTZ = p->tz!=0; in parseHhMmSs() 244 p->rJD += (p->h*3600.0 + p->m*60.0 + p->s)/86400.0; in computeJD() 246 p->rJD += p->tz*60/86400.0; in computeJD() 314 memset(p, 0, sizeof(*p)); in parseDateOrTime() 356 p->Y = p->M>2 ? C - 4716 : C - 4715; in computeYMD() 375 p->s += s - p->m*60; in computeHMS() 481 p->rJD += localtimeOffset(p); in parseModifier() 495 p->rJD = p->rJD/86400.0 + 2440587.5; in parseModifier() 504 p->rJD += c1 - localtimeOffset(p); in parseModifier() 544 p->h = p->m = 0; in parseModifier() [all …]
|
H A D | vacuum.c | 53 if( p->z==0 || p->nUsed + nText + 1 >= p->nAlloc ){ in appendText() 55 p->nAlloc = p->nUsed + nText + 1000; in appendText() 56 zNew = sqliteRealloc(p->z, p->nAlloc); in appendText() 59 memset(p, 0, sizeof(*p)); in appendText() 62 p->z = zNew; in appendText() 64 memcpy(&p->z[p->nUsed], zText, nText+1); in appendText() 117 appendQuoted(&p->s2, p->zTable); in vacuumCallback2() 129 p->rc = execsql(p->pzErrMsg, p->dbNew, p->s2.z); in vacuumCallback2() 130 return p->rc; in vacuumCallback2() 149 rc = execsql(p->pzErrMsg, p->dbNew, argv[2]); in vacuumCallback1() [all …]
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regerror.c | 44 char *p; in onig_error_code_to_format() local 190 UChar *p; in to_ascii() local 194 p = s; in to_ascii() 212 p += enc_len(enc, p); in to_ascii() 261 p = s; 267 p += len; 270 p += 3; 279 *p++ = *q++; 329 p = pat; 332 *s++ = *p++; [all …]
|
H A D | regenc.c | 58 p += enc_len(enc, p); in onigenc_get_right_adjust_char_head() 60 return p; in onigenc_get_right_adjust_char_head() 71 p += enc_len(enc, p); in onigenc_get_right_adjust_char_head_with_prev() 76 return p; in onigenc_get_right_adjust_char_head_with_prev() 143 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_strlen_null() 168 p += ONIGENC_MBC_ENC_LEN(enc, p); in onigenc_str_bytelen_null() 894 p += enc_len(enc, p); in onigenc_with_ascii_strncmp() 974 c = m17n_codepoint(enc, p, p + enc_len(enc, *p)); in onigenc_mbc_to_lower() 991 c = m17n_codepoint(enc, p, p + len); in onigenc_is_mbc_ambiguous() 1010 while (!m17n_islead(enc, *p) && p > start) p--; in onigenc_get_left_adjust_char_head() [all …]
|
H A D | regint.h | 302 (p) += 2;\ 310 (p) += 4;\ 322 (p) += 8;\ 327 #define SERIALIZE_SHORT(i,p) SERIALIZE_2BYTE_INT(i,p) argument 330 #define SERIALIZE_SHORT(i,p) SERIALIZE_4BYTE_INT(i,p) argument 333 #define SERIALIZE_SHORT(i,p) SERIALIZE_8BYTE_INT(i,p) argument 339 #define SERIALIZE_INT(i,p) SERIALIZE_2BYTE_INT(i,p) argument 452 UChar* p; member 503 xmemmove((buf)->p + (to), (buf)->p + (from), (n));\ 509 xmemmove((buf)->p + (to), (buf)->p + (from), (n));\ [all …]
|
/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcre_valid_utf8.c | 110 register PCRE_PUCHAR p; in PRIV() local 114 for (p = string; *p != 0; p++); in PRIV() 115 length = (int)(p - string); in PRIV() 118 for (p = string; length-- > 0; p++) in PRIV() 123 c = *p; in PRIV() 128 *erroroffset = (int)(p - string); in PRIV() 134 *erroroffset = (int)(p - string); in PRIV() 148 if (((d = *(++p)) & 0xc0) != 0x80) in PRIV() 150 *erroroffset = (int)(p - string) - 1; in PRIV() 218 v = ((c & 0x07) << 18) | ((d & 0x3f) << 12) | ((p[-1] & 0x3f) << 6) | (*p & 0x3f); in PRIV() [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() 109 memset(p, 0, cbit_length); in pcre_maketables() 112 if (isdigit(i)) p[cbit_digit + i/8] |= 1 << (i&7); in pcre_maketables() 113 if (isupper(i)) p[cbit_upper + i/8] |= 1 << (i&7); in pcre_maketables() 114 if (islower(i)) p[cbit_lower + i/8] |= 1 << (i&7); in pcre_maketables() 115 if (isalnum(i)) p[cbit_word + i/8] |= 1 << (i&7); in pcre_maketables() 116 if (i == '_') p[cbit_word + i/8] |= 1 << (i&7); in pcre_maketables() 124 p += cbit_length; in pcre_maketables() [all …]
|
/PHP-5.3/ext/mbstring/oniguruma/enc/ |
H A D | utf32_be.c | 42 if (*(p+3) == 0x0a && *(p+2) == 0 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline() 45 if ((*(p+3) == 0x0d || *(p+3) == 0x85) in utf32be_is_mbc_newline() 46 && *(p+2) == 0 && *(p+1) == 0 && *p == 0x00) in utf32be_is_mbc_newline() 48 if (*(p+2) == 0x20 && (*(p+3) == 0x29 || *(p+3) == 0x28) in utf32be_is_mbc_newline() 49 && *(p+1) == 0 && *p == 0) in utf32be_is_mbc_newline() 59 return (OnigCodePoint )(((p[0] * 256 + p[1]) * 256 + p[2]) * 256 + p[3]); in utf32be_mbc_to_code() 86 if (*(p+2) == 0 && *(p+1) == 0 && *p == 0) { in utf32be_mbc_to_normalize() 87 p += 3; in utf32be_mbc_to_normalize() 124 if (*(p+2) == 0 && *(p+1) == 0 && *p == 0) { in utf32be_is_mbc_ambiguous() 127 p += 3; in utf32be_is_mbc_ambiguous() [all …]
|
H A D | utf32_le.c | 42 if (*p == 0x0a && *(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) in utf32le_is_mbc_newline() 45 if ((*p == 0x0d || *p == 0x85) && *(p+1) == 0x00 in utf32le_is_mbc_newline() 46 && (p+2) == 0x00 && *(p+3) == 0x00) in utf32le_is_mbc_newline() 48 if (*(p+1) == 0x20 && (*p == 0x29 || *p == 0x28) in utf32le_is_mbc_newline() 49 && *(p+2) == 0x00 && *(p+3) == 0x00) in utf32le_is_mbc_newline() 59 return (OnigCodePoint )(((p[3] * 256 + p[2]) * 256 + p[1]) * 256 + p[0]); in utf32le_mbc_to_code() 71 UChar* p = buf; in utf32le_code_to_mbc() local 86 if (*(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) { in utf32le_mbc_to_normalize() 108 *lower++ = *p++; in utf32le_mbc_to_normalize() 123 if (*(p+1) == 0 && *(p+2) == 0 && *(p+3) == 0) { in utf32le_is_mbc_ambiguous() [all …]
|
H A D | utf16_be.c | 64 if (*(p+1) == 0x0a && *p == 0x00) in utf16be_is_mbc_newline() 67 if ((*(p+1) == 0x0d || *(p+1) == 0x85) && *p == 0x00) in utf16be_is_mbc_newline() 69 if (*p == 0x20 && (*(p+1) == 0x29 || *(p+1) == 0x28)) in utf16be_is_mbc_newline() 83 + ((((p[1] & 0x3f) << 2) + (p[2] - 0xdc)) << 8) in utf16be_mbc_to_code() 84 + p[3]; in utf16be_mbc_to_code() 87 code = p[0] * 256 + p[1]; in utf16be_mbc_to_code() 127 if (*p == 0) { in utf16be_mbc_to_normalize() 128 p++; in utf16be_mbc_to_normalize() 164 if (*p == 0) { in utf16be_is_mbc_ambiguous() 167 p++; in utf16be_is_mbc_ambiguous() [all …]
|
H A D | utf16_le.c | 69 if (p + 1 < end) { in utf16le_is_mbc_newline() 70 if (*p == 0x0a && *(p+1) == 0x00) in utf16le_is_mbc_newline() 73 if ((*p == 0x0d || *p == 0x85) && *(p+1) == 0x00) in utf16le_is_mbc_newline() 75 if (*(p+1) == 0x20 && (*p == 0x29 || *p == 0x28)) in utf16le_is_mbc_newline() 86 UChar c0 = *p; in utf16le_mbc_to_code() 87 UChar c1 = *(p+1); in utf16le_mbc_to_code() 92 + p[2]; in utf16le_mbc_to_code() 103 UChar* p = buf; in utf16le_code_to_mbc() local 139 *lower = *p; in utf16le_mbc_to_normalize() 149 *lower++ = *p++; in utf16le_mbc_to_normalize() [all …]
|
H A D | sjis.c | 102 c = *p++; in sjis_mbc_to_code() 108 c = *p++; in sjis_mbc_to_code() 117 UChar *p = buf; in sjis_code_to_mbc() local 126 return p - buf; in sjis_code_to_mbc() 152 *lower++ = *p++; in sjis_mbc_to_normalize() 185 const UChar *p; in sjis_left_adjust_char_head() local 189 p = s; in sjis_left_adjust_char_head() 194 p++; in sjis_left_adjust_char_head() 200 if (p + len > s) return (UChar* )p; in sjis_left_adjust_char_head() 201 p += len; in sjis_left_adjust_char_head() [all …]
|
H A D | euc_jp.c | 71 c = *p++; in eucjp_mbc_to_code() 108 UChar *p = buf; in eucjp_code_to_mbc() local 118 return p - buf; in eucjp_code_to_mbc() 133 *lower = *p; in eucjp_mbc_to_normalize() 144 *lower++ = *p++; in eucjp_mbc_to_normalize() 179 const UChar *p; in eucjp_left_adjust_char_head() local 183 p = s; in eucjp_left_adjust_char_head() 185 while (!eucjp_islead(*p) && p > start) p--; in eucjp_left_adjust_char_head() 187 if (p + len > s) return (UChar* )p; in eucjp_left_adjust_char_head() 188 p += len; in eucjp_left_adjust_char_head() [all …]
|
H A D | utf8.c | 71 if (p < end) { in utf8_is_mbc_newline() 77 if (*(p+1) == 0x85 && *p == 0xc2) /* U+0085 */ in utf8_is_mbc_newline() 80 if ((*(p+2) == 0xa8 || *(p+2) == 0xa9) in utf8_is_mbc_newline() 81 && *(p+1) == 0x80 && *p == 0xe2) /* U+2028, U+2029 */ in utf8_is_mbc_newline() 98 c = *p++; in utf8_mbc_to_code() 103 c = *p++; in utf8_mbc_to_code() 203 *p = 0xfe; in utf8_code_to_mbc() 207 *p = 0xff; in utf8_code_to_mbc() 257 *lower++ = *p++; in utf8_mbc_to_normalize() 3697 p = s; in utf8_left_adjust_char_head() [all …]
|
/PHP-5.3/Zend/ |
H A D | zend_hash.c | 247 p = p->pNext; in _zend_hash_add_or_update() 312 p = p->pNext; in _zend_hash_quick_add_or_update() 389 p = p->pNext; in _zend_hash_index_update_or_next_insert() 510 p = p->pNext; in zend_hash_del_key_or_index() 890 p = p->pNext; in zend_hash_find() 917 p = p->pNext; in zend_hash_quick_find() 941 p = p->pNext; in zend_hash_exists() 967 p = p->pNext; in zend_hash_quick_exists() 989 p = p->pNext; in zend_hash_index_find() 1009 p = p->pNext; in zend_hash_index_exists() [all …]
|
H A D | zend_fast_cache.h | 74 #define ZEND_FAST_FREE(p, fc_type) \ 83 ZEND_FAST_ALLOC(p, type, fc_type) 85 #define ZEND_FAST_FREE_REL(p, fc_type) \ 86 ZEND_FAST_FREE(p, fc_type) 91 #define ZEND_FAST_ALLOC(p, type, fc_type) \ 92 (p) = (type *) emalloc(sizeof(type)) 94 #define ZEND_FAST_FREE(p, fc_type) \ 95 efree(p) 98 (p) = (type *) emalloc_rel(sizeof(type)) 100 #define ZEND_FAST_FREE_REL(p, fc_type) \ [all …]
|
/PHP-5.3/ext/ereg/regex/ |
H A D | regcomp.c | 45 #define MORE() (p->next < p->end) 46 #define MORE2() (p->next+1 < p->end) 131 p->end = p->next + len; 511 (void) dupl(p, p->pbegin[i]+1, p->pend[i]); 589 if (p->next + 5 < p->end && strncmp(p->next, "[:<:]]", 6) == 0) { 594 if (p->next + 5 < p->end && strncmp(p->next, "[:>:]]", 6) == 0) { 645 ordinary(p, firstch(p, cs)); 1228 for (p = cs->multis; *p != '\0'; p += strlen(p) + 1) 1352 assert(p->ssize >= p->slen + len); 1381 if (p->slen >= p->ssize) [all …]
|
/PHP-5.3/tests/lang/ |
H A D | engine_assignExecutionOrder_008.phpt | 33 echo $a[$i->p=f()][++$i->p]; 37 echo $a[$i->p->q=f()][++$i->p->q]; 41 echo $a[$i->p[0]=f()][++$i->p[0]]; 44 echo "\n" . '$i->p[0]->p=f(): '; 45 echo $a[$i->p[0]->p=f()][++$i->p[0]->p]; 49 static $p; 53 echo $a[C::$p=f()][++C::$p]; 57 echo $a[C::$p[0]=f()][++C::$p[0]]; 61 echo $a[C::$p->q=f()][++C::$p->q]; 69 $i->p=f(): good [all …]
|
/PHP-5.3/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 690 p->fld = ~p->fld \ 776 p->s[sizeof(p->s) - 1] = '\0'; in mconvert() 798 p->h = (short)((p->hs[0]<<8)|(p->hs[1])); in mconvert() 805 ((p->hl[0]<<24)|(p->hl[1]<<16)|(p->hl[2]<<8)|(p->hl[3])); in mconvert() 819 p->h = (short)((p->hs[1]<<8)|(p->hs[0])); in mconvert() 826 ((p->hl[3]<<24)|(p->hl[2]<<16)|(p->hl[1]<<8)|(p->hl[0])); in mconvert() 843 ((p->hl[1]<<24)|(p->hl[0]<<16)|(p->hl[3]<<8)|(p->hl[2])); in mconvert() 850 p->l = ((uint32_t)p->hl[0]<<24)|((uint32_t)p->hl[1]<<16)| in mconvert() 855 p->l = ((uint32_t)p->hl[3]<<24)|((uint32_t)p->hl[2]<<16)| in mconvert() 863 p->q = ((uint64_t)p->hq[0]<<56)|((uint64_t)p->hq[1]<<48)| in mconvert() [all …]
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_real_escape_string_sjis.phpt | 30 if ('?p??\\\\?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??\\?p??'))) 33 if ('?p??\"?p??' !== ($tmp = mysqli_real_escape_string($link, '?p??"?p??'))) 36 if ("?p??\'?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??'?p??"))) 39 if ("?p??\\n?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\n?p??"))) 42 if ("?p??\\r?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??\r?p??"))) 45 if ("?p??\\0?p??" !== ($tmp = mysqli_real_escape_string($link, "?p??" . chr(0) . "?p??"))) 46 printf("[009] Expecting %s, got %s\n", "?p??\\0?p??", $tmp); 48 var_dump(mysqli_query($link, "INSERT INTO test(id, label) VALUES (100, '?p')"));
|
/PHP-5.3/ext/standard/ |
H A D | uuencode.c | 71 char *p, *s, *e, *ee; in php_uuencode() local 87 *p++ = PHP_UU_ENC(len); in php_uuencode() 91 *p++ = PHP_UU_ENC_C2(s); in php_uuencode() 99 *p++ = '\n'; in php_uuencode() 110 *p++ = PHP_UU_ENC_C2(s); in php_uuencode() 116 *p++ = '\n'; in php_uuencode() 119 *p++ = PHP_UU_ENC('\0'); in php_uuencode() 120 *p++ = '\n'; in php_uuencode() 121 *p = '\0'; in php_uuencode() 123 return (p - *dest); in php_uuencode() [all …]
|
/PHP-5.3/ext/simplexml/tests/ |
H A D | 034.phpt | 11 <p>Blah 1</p> 12 <p>Blah 2</p> 13 <p>Blah 3</p> 18 $p = $foo->bar->p; 19 echo count($p); 20 $p = (array)$foo->bar->p; 21 echo count($p);
|
H A D | 035.phpt | 9 <p>Blah 1</p> 10 <p>Blah 2</p> 11 <p>Blah 3</p> 16 $p = $foo->bar->p; 17 echo $p."\n"; 18 echo $p->__toString()."\n"; 19 echo $p."\n";
|
/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 316 p++; in php_mysqlnd_greet_read() 348 p++; in php_mysqlnd_greet_read() 356 p++; in php_mysqlnd_greet_read() 401 mnd_pefree(p, p->header.persistent); in php_mysqlnd_greet_free_mem() 469 p++; in php_mysqlnd_auth_write() 514 mnd_pefree(p, p->header.persistent); in php_mysqlnd_auth_free_mem() 541 p++; in php_mysqlnd_ok_read() 601 mnd_pefree(p, p->header.persistent); in php_mysqlnd_ok_free_mem() 754 mnd_pefree(p, p->header.persistent); in php_mysqlnd_cmd_free_mem() 875 mnd_pefree(p, p->header.persistent); in php_mysqlnd_rset_header_free_mem() [all …]
|