Searched defs:p1 (Results 1 - 19 of 19) sorted by relevance

/PHP_TRUNK/ext/gd/libgd/
H A Dgdkanji.c230 SJIStoJIS (int *p1, int *p2) argument
232 register unsigned char c1 = *p1;
238 *p1 = ((c1 - rowOffset) << 1) - adjust;
248 han2zen (int *p1, int *p2) argument
250 int c = *p1;
320 if (*p2 == 222 && IS_DAKU (*p1))
322 else if (*p2 == 223 && IS_HANDAKU (*p1))
325 *p1 = mtable[c - 161][0];
385 int p1, p2, i, j;
431 p1
468 int p1, p2, i, j; local
[all...]
H A Dgd.c2781 int p1, p2; local
2819 p1 = im1->trueColor ? gdImageTrueColorPixel(im1, x, y) : gdImagePalettePixel(im1, x, y);
2822 if (gdImageRed(im1, p1) != gdImageRed(im2, p2)) {
2826 if (gdImageGreen(im1, p1) != gdImageGreen(im2, p2)) {
2830 if (gdImageBlue(im1, p1) != gdImageBlue(im2, p2)) {
2836 if (gdImageAlpha(im1, p1) != gdImageAlpha(im2, p2)) {
/PHP_TRUNK/main/
H A Dmergesort.c111 u_char *list2, *list1, *p2, *p, *last, **p1; local
138 p1 = EVAL(list1);
139 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) {
224 *p1 = l2;
/PHP_TRUNK/ext/standard/
H A Dlevenshtein.c32 zend_long *p1, *p2, *tmp; local
46 p1 = safe_emalloc((l2 + 1), sizeof(zend_long), 0);
50 p1[i2] = i2 * cost_ins;
53 p2[0] = p1[0] + cost_del;
56 c0 = p1[i2] + ((s1[i1] == s2[i2]) ? 0 : cost_rep);
57 c1 = p1[i2 + 1] + cost_del;
67 tmp = p1;
68 p1 = p2;
71 c0 = p1[l2];
73 efree(p1);
[all...]
H A Dversioning.c131 char *p1, *p2, *n1, *n2; local
152 p1 = n1 = ver1;
154 while (*p1 && *p2 && n1 && n2) {
155 if ((n1 = strchr(p1, '.')) != NULL) {
161 if (isdigit(*p1) && isdigit(*p2)) {
163 l1 = strtol(p1, NULL, 10);
166 } else if (!isdigit(*p1) && !isdigit(*p2)) {
168 compare = compare_special_version_forms(p1, p2);
171 if (isdigit(*p1)) {
174 compare = compare_special_version_forms(p1, "#
[all...]
H A Dquot_print.c57 register unsigned const char *p1; local
87 i = length, p1 = str; buf_size = length;
89 while (i > 1 && *p1 != '\0') {
90 if (*p1 == '=') {
92 p1++;
95 p1++;
100 i = length; p1 = str; p2 = (unsigned char*)ZSTR_VAL(retval);
103 while (i > 0 && *p1 != '\0') {
104 if (*p1 == '=') {
105 i--, p1
[all...]
H A Dstring.c1083 char *p1 = ZSTR_VAL(str); local
1093 ZVAL_STRINGL(&tmp, p1, p2 - p1);
1095 p1 = p2 + ZSTR_LEN(delim);
1096 p2 = (char *) php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp);
1099 if (p1 <= endp) {
1100 ZVAL_STRINGL(&tmp, p1, endp - p1);
1112 char *p1 = ZSTR_VAL(str); local
1127 positions[found++] = p1;
[all...]
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_sort.c249 static int collator_cmp_sort_keys( const void *p1, const void *p2 ) argument
251 char* key1 = ((collator_sort_key_index_t*)p1)->key;
/PHP_TRUNK/ext/mbstring/oniguruma/enc/
H A Dunicode.c10912 const CaseUnfold_11_Type *p1; local
10936 p1 = &CaseUnfold_11[i];
10937 st_add_direct(Unfold1Table, (st_data_t )p1->from, (st_data_t )&(p1->to));
10942 p1 = &CaseUnfold_11_Locale[i];
10943 st_add_direct(Unfold1Table, (st_data_t )p1->from, (st_data_t )&(p1->to));
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregexec.c981 UChar *p1, *p2, *end1, *s2, *end2; local
991 p1 = buf1;
994 if (*p1 != *p2) return 0;
995 p1++;
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dapprentice.c1113 cmpstrp(const void *p1, const void *p2) argument
1115 return strcmp(*(char *const *)p1, *(char *const *)p2);
/PHP_TRUNK/ext/mbstring/ucgendat/
H A Ducgendat.c225 add_range(ac_uint4 start, ac_uint4 end, char *p1, char *p2) argument
233 name = p1;
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c9667 int p1; /* First operand */ member in struct:VdbeOp
9718 signed char p1; /* First operand */ member in struct:VdbeOpList
24215 /* b: p1 (unmasked) */
24248 /* b: p1<<14 | p3 (unmasked) */
24261 /* b: p1<<14 | p3 (unmasked) */
24262 /* 1:save off p0<<21 | p1<<14 | p2<<7 | p3 (masked) */
24285 /* 2:save off p0<<21 | p1<<14 | p2<<7 | p3 (masked) */
24288 /* s: p0<<21 | p1<<14 | p2<<7 | p3 (masked) */
24293 /* b: p1<<28 | p3<<14 | p5 (unmasked) */
24391 /* b: p1 (unmaske
64931 sqlite3VdbeAddOp3(Vdbe *p, int op, int p1, int p2, int p3) argument
64982 sqlite3VdbeAddOp1(Vdbe *p, int op, int p1) argument
64985 sqlite3VdbeAddOp2(Vdbe *p, int op, int p1, int p2) argument
64993 sqlite3VdbeAddOp4( Vdbe *p, int op, int p1, int p2, int p3, const char *zP4, int p4type ) argument
65025 sqlite3VdbeAddOp4Int( Vdbe *p, int op, int p1, int p2, int p3, int p4 ) argument
72022 int p1; /* Register to copy from */ local
72870 int p1; local
73601 int p1; /* Value of P1 operand */ local
76833 int p1 = pOp->p1; local
78707 const u8 * const p1 = (const u8 * const)pKey1; local
78748 const u8 * const p1 = (const u8 * const)pKey1; local
79234 vdbeSorterMerge( SortSubtask *pTask, SorterRecord *p1, SorterRecord *p2, SorterRecord **ppOut ) argument
79914 PmaReader *p1; local
85845 int p1 = pExpr->iTable * (pTab->nCol+1) + 1 + pExpr->iColumn; local
90910 int p1 = p->iDb; local
96694 i64 p1, p2; local
115797 int p1, p2; /* Operands of the opcode used to ends the loop */ member in struct:WhereLevel
118472 sqlite3_value *p1 = 0; /* Value extracted from pLower */ local
135082 char *p1 = *pp1; local
135175 char *p1 = *pp1; local
135298 char *p1 = *pp1; local
135439 char *p1 = a1; local
135532 char *p1 = aLeft; local
137131 char *p1 = aPoslist; local
137159 char *p1; local
142177 const sqlite3_tokenizer_module *p1; local
152735 cellUnion(Rtree *pRtree, RtreeCell *p1, RtreeCell *p2) argument
152754 cellContains(Rtree *pRtree, RtreeCell *p1, RtreeCell *p2) argument
[all...]
/PHP_TRUNK/ext/iconv/
H A Diconv.c1490 const char *p1; local
1521 p1 = str;
1522 for (str_left = str_nbytes; str_left > 0; str_left--, p1++) {
1527 switch (*p1) {
1537 encoded_word = p1;
1542 spaces = p1;
1547 _php_iconv_appendc(pretval, *p1, cd_pl);
1557 if (*p1 != '?') {
1558 err = _php_iconv_appendl(pretval, encoded_word, (size_t)((p1 + 1) - encoded_word), cd_pl);
1570 csname = p1
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c692 char *p, *p1, *p2, *endp, *tmpstr; local
718 p1 = tmpstr;
719 while ((p2 = (char*)php_memnstr(p1, ",", 1, endp)) != NULL) {
720 p1 = p2 + 1;
730 p1 = tmpstr;
732 p2 = p = (char*)php_memnstr(p1, ",", 1, endp);
738 while (p1 < p && (*p1 == ' ' || *p1 == '\t')) {
739 p1
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c383 char *p1, *p2; local
397 p1 = strrchr(intern->file_name, '/');
403 if (p1 || p2) {
404 intern->_path_len = (int)((p1 > p2 ? p1 : p2) - intern->file_name);
2260 char *p1, *p2; local
2293 p1 = strrchr(tmp_path, '/');
2299 if (p1 || p2) {
2300 intern->_path_len = (int)((p1 > p2 ? p1
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c801 char *p1, *p2, *endp; local
804 p1 = (char *)atts[i];
805 while ((p2 = php_memnstr(p1, ",", sizeof(",")-1, endp)) != NULL) {
806 key = estrndup(p1, p2 - p1);
808 add_assoc_zval_ex(&ent.data, key, p2 - p1, &tmp);
809 p1 = p2 + sizeof(",")-1;
813 if (p1 <= endp) {
815 add_assoc_zval_ex(&ent.data, p1, endp - p1,
[all...]
/PHP_TRUNK/Zend/
H A Dzend_object_handlers.c1360 zval *p1, *p2, *end; local
1365 p1 = zobj1->properties_table;
1367 end = p1 + zobj1->ce->default_properties_count;
1371 if (Z_TYPE_P(p1) != IS_UNDEF) {
1375 if (compare_function(&result, p1, p2)==FAILURE) {
1397 p1++;
1399 } while (p1 != end);
H A Dzend_hash.c2217 Bucket *p1 = ht1->arData + idx1, *p2; local
2221 if (Z_TYPE(p1->val) == IS_UNDEF) continue;
2229 if (p1->key == NULL && p2->key == NULL) { /* numeric indices */
2230 if (p1->h != p2->h) {
2231 return p1->h > p2->h ? 1 : -1;
2233 } else if (p1->key != NULL && p2->key != NULL) { /* string indices */
2234 if (ZSTR_LEN(p1->key) != ZSTR_LEN(p2->key)) {
2235 return ZSTR_LEN(p1->key) > ZSTR_LEN(p2->key) ? 1 : -1;
2238 result = memcmp(ZSTR_VAL(p1->key), ZSTR_VAL(p2->key), ZSTR_LEN(p1
[all...]

Completed in 210 milliseconds