| /PHP_5_3/Zend/ |
| H A D | zend_strtod.c | 1480 j, j1, k, k0, k_check, leftright, m2, m5, s2, s5, local 1595 s2 = j; 1599 s2 = 0; 1604 s2 += k; 1819 s2 += i; 1822 if (m2 > 0 && s2 > 0) { 1823 i = m2 < s2 ? m2 : s2; 1826 s2 -= i; 1856 s2 [all...] |
| H A D | zend_operators.c | 1904 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ argument 1908 retval = memcmp(s1, s2, MIN(len1, len2)); 1917 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ argument 1921 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2))); 1930 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ argument 1939 c2 = zend_tolower((int)*(unsigned char *)s2++); 1949 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ argument 1958 c2 = zend_tolower((int)*(unsigned char *)s2++); 1968 ZEND_API int zend_binary_zval_strcmp(zval *s1, zval *s2) /* {{{ */ argument 1970 return zend_binary_strcmp(Z_STRVAL_P(s1), Z_STRLEN_P(s1), Z_STRVAL_P(s2), Z_STRLEN_ 1974 zend_binary_zval_strncmp(zval *s1, zval *s2, zval *s3) argument 1980 zend_binary_zval_strcasecmp(zval *s1, zval *s2) argument 1986 zend_binary_zval_strncasecmp(zval *s1, zval *s2, zval *s3) argument 1992 zendi_smart_strcmp(zval *result, zval *s1, zval *s2) argument [all...] |
| H A D | zend_builtin_functions.c | 472 char *s1, *s2; local 475 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &s1, &s1_len, &s2, &s2_len) == FAILURE) { 479 RETURN_LONG(zend_binary_strcmp(s1, s1_len, s2, s2_len)); 488 char *s1, *s2; local 492 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ssl", &s1, &s1_len, &s2, &s2_len, &len) == FAILURE) { 501 RETURN_LONG(zend_binary_strncmp(s1, s1_len, s2, s2_len, len)); 510 char *s1, *s2; local 513 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &s1, &s1_len, &s2, &s2_len) == FAILURE) { 517 RETURN_LONG(zend_binary_strcasecmp(s1, s1_len, s2, s2_len)); 526 char *s1, *s2; local [all...] |
| /PHP_5_3/ext/phar/ |
| H A D | makestub.php | 29 $s2 = substr($s, strlen($s1) + strlen('index.php')); variable 30 $s2 = substr($s2, 0, strpos($s2, 'XXXX')); variable 31 $s3 = substr($s, strlen($s2) + 4 + strlen($s1) + strlen('index.php')); 86 $stub .= "\tstatic const char newstub2[] = \"" . $s2 . "\";
|
| /PHP_5_3/ext/sqlite/libsqlite/src/ |
| H A D | vacuum.c | 44 dynStr s1, s2; /* Two dynamic strings */ member in struct:vacuumStruct 115 p->s2.nUsed = 0; 116 appendText(&p->s2, "INSERT INTO ", -1); 117 appendQuoted(&p->s2, p->zTable); 118 appendText(&p->s2, " VALUES", -1); 120 appendText(&p->s2, zSep, 1); 123 appendText(&p->s2, "NULL", 4); 125 appendQuoted(&p->s2, argv[i]); 128 appendText(&p->s2,")", 1); 129 p->rc = execsql(p->pzErrMsg, p->dbNew, p->s2 [all...] |
| /PHP_5_3/ext/zip/lib/ |
| H A D | zip_fopen_index_encrypted.c | 55 struct zip_source *src, *s2; 118 if ((s2=enc_impl(za, src, ZIP_EM_TRAD_PKWARE, 0, 124 src = s2; 127 if ((s2=comp_impl(za, src, za->cdir->entry[fileno].comp_method, 133 src = s2; 137 if ((s2=zip_source_crc(za, src, 1)) == NULL) { 142 src = s2; 53 struct zip_source *src, *s2; local
|
| H A D | zip_source_deflate.c | 70 struct zip_source *s2; 91 if ((s2=zip_source_layered(za, src, 99 return s2; 68 struct zip_source *s2; local
|
| H A D | zip_source_pkware.c | 75 struct zip_source *s2; 101 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) { 106 return s2; 72 struct zip_source *s2; local
|
| H A D | zip_close.c | 360 struct zip_source *s2; 374 if ((s2=zip_source_crc(za, src, 0)) == NULL) { 375 zip_source_pop(s2); 387 zip_source_pop(s2); 390 if ((s2=comp_impl(za, s2, ZIP_CM_DEFLATE, ZIP_CODEC_ENCODE)) 393 zip_source_pop(s2); 398 s2 = src; 402 ret = copy_source(za, s2, ft); 404 if (zip_source_stat(s2, 356 struct zip_source *s2; local [all...] |
| /PHP_5_3/sapi/fpm/fpm/ |
| H A D | fpm_env.c | 105 static char * nvmatch(char *s1, char *s2) /* {{{ */ argument 107 while(*s1 == *s2++) 110 return s2; 113 if(*s1 == '\0' && *(s2-1) == '=') { 114 return s2;
|
| H A D | fpm_main.c | 716 char *s1, *s2; local 734 s2 = path; 738 s2 = (char *) doc_root; 747 if (strnicmp(s1, s2, s_len) == 0) { 749 if (strncmp(s1, s2, s_len) == 0) { 751 ptr = s2 + start; /* start is the point where doc_root ends! */
|
| /PHP_5_3/ext/fileinfo/libmagic/ |
| H A D | softmagic.c | 1571 file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) argument 1580 const unsigned char *b = (const unsigned char *)s2; 1584 * What we want here is v = strncmp(s1, s2, len),
|
| /PHP_5_3/ext/mbstring/libmbfl/filters/ |
| H A D | mbfilter_cp932.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ 109 s2 = c2; \ 112 s2--; \ 114 s2 += 0x20; \ 116 s2 += 0x7e; \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ 130 s2 = c2; \ 131 if (s2 < 0x9f) { \ 132 if (s2 < 0x7f) { \ 133 s2 149 int c1, s, s1, s2, w; local 234 int c1, c2, s1, s2; local [all...] |
| H A D | mbfilter_iso2022_jp_ms.c | 295 int c1, c2, s1, s2; local 298 s2 = 0; 317 s2 = 1; 343 if ((s1 <= 0) || (s1 >= 0xa1a1 && s2 == 0)) { /* not found or X 0212 */
|
| H A D | mbfilter_sjis.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ 109 s2 = c2; \ 112 s2--; \ 114 s2 += 0x20; \ 116 s2 += 0x7e; \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ 130 s2 = c2; \ 131 if (s2 < 0x9f) { \ 132 if (s2 < 0x7f) { \ 133 s2 149 int c1, s1, s2, w; local 214 int c1, c2, s1, s2; local [all...] |
| H A D | mbfilter_sjis_open.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ 109 s2 = c2; \ 112 s2--; \ 114 s2 += 0x20; \ 116 s2 += 0x7e; \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ 130 s2 = c2; \ 131 if (s2 < 0x9f) { \ 132 if (s2 < 0x7f) { \ 133 s2 149 int c1, s, s1, s2, w; local 234 int c1, c2, s1, s2; local [all...] |
| /PHP_5_3/ext/mbstring/ |
| H A D | mb_gpc.c | 198 const char *s1, *s2; local 229 for (s2=info->separator; *s2 != '\0'; s2++) { 230 if (*s1 == *s2) {
|
| /PHP_5_3/ext/standard/ |
| H A D | http_fopen_wrapper.c | 429 char *s2, *tmp_c = estrdup(tmp); local 433 if ((s2 = memchr(s, '\n', tmp_c + l - s))) { 434 int b = tmp_c + l - 1 - s2; 435 memmove(tmp, tmp + (s2 + 1 - tmp_c), b); 436 memmove(tmp_c, s2 + 1, b); 444 if ((s2 = memchr(s, '\n', tmp_c + l - s))) { 445 memmove(tmp, tmp + (s2 + 1 - tmp_c), tmp_c + l - 1 - s2);
|
| H A D | levenshtein.c | 30 static int reference_levdist(const char *s1, int l1, const char *s2, int l2, int cost_ins, int cost_rep, int cost_del ) argument 55 c0 = p1[i2] + ((s1[i1] == s2[i2]) ? 0 : cost_rep);
|
| H A D | php_lcg.h | 28 php_int32 s2; member in struct:__anon218
|
| H A D | streamsfuncs.c | 53 php_stream *s1, *s2; local 71 s2 = php_stream_sock_open_from_socket(pair[1], 0); 76 php_stream_auto_cleanup(s2); 79 add_next_index_resource(return_value, php_stream_get_resource_id(s2));
|
| /PHP_5_3/ext/zlib/ |
| H A D | zlib.c | 496 char *data, *s2; local 508 s2 = (char *) emalloc(l2); 509 if (!s2) { 514 status = compress2(s2, &l2, data, data_len, level); 516 status = compress(s2, &l2, data, data_len); 520 s2 = erealloc(s2, l2 + 1); 521 s2[l2] = '\0'; 522 RETURN_STRINGL(s2, l2, 0); 524 efree(s2); 539 char *data, *s1=NULL, *s2=NULL; local 584 char *data, *s2; local 646 char *data, *s1=NULL, *s2=NULL; local 859 char *data, *s2; local [all...] |
| /PHP_5_3/sapi/cgi/ |
| H A D | cgi_main.c | 735 char *s1, *s2; local 754 s2 = path; 758 s2 = (char *) doc_root; 767 if (strnicmp(s1, s2, s_len) == 0) { 769 if (strncmp(s1, s2, s_len) == 0) { 771 ptr = s2 + start; /* start is the point where doc_root ends! */
|
| /PHP_5_3/ext/mysqlnd/ |
| H A D | mysqlnd_debug.c | 876 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_MALLOC_AMOUNT:STAT_MEM_EMALLOC_AMOUNT; local 878 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size); 944 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_CALLOC_AMOUNT:STAT_MEM_ECALLOC_AMOUNT; local 946 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size); 1014 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_REALLOC_AMOUNT:STAT_MEM_EREALLOC_AMOUNT; local 1016 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, new_size);
|
| H A D | mysqlnd_wireprotocol.c | 409 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) argument 413 *buffer++= *s1++ ^ *s2++;
|