Searched defs:s1 (Results 1 - 25 of 27) sorted by relevance

12

/PHP_5_3/Zend/
H A Dzend_strtod.c2048 CONST char *s, *s0, *s1; local
2142 s1 = s;
2145 if (s - s1 > 8 || L > 19999)
H A Dzend_operators.c1904 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
1938 c1 = zend_tolower((int)*(unsigned char *)s1++);
1949 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ argument
1957 c1 = zend_tolower((int)*(unsigned char *)s1++);
1968 ZEND_API int zend_binary_zval_strcmp(zval *s1, zval *s2) /* {{{ */ argument
1970 return zend_binary_strcmp(Z_STRVAL_P(s1), 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 Dzend_builtin_functions.c456 char *s1; local
459 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &s1, &s1_len) == FAILURE) {
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,
526 char *s1, *s2; local
[all...]
/PHP_5_3/ext/phar/
H A Dmakestub.php28 $s1 = substr($s, 0, strpos($s, 'index.php')); variable
29 $s2 = substr($s, strlen($s1) + strlen('index.php'));
31 $s3 = substr($s, strlen($s2) + 4 + strlen($s1) + strlen('index.php'));
56 $s1split = str_split($s1, 2046);
/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dvacuum.c44 dynStr s1, s2; /* Two dynamic strings */ member in struct:vacuumStruct
152 p->s1.nUsed = 0;
153 appendText(&p->s1, "SELECT * FROM ", -1);
154 appendQuoted(&p->s1, argv[1]);
156 rc = sqlite_exec(p->dbOld, p->s1.z, vacuumCallback2, p, &zErrMsg);
299 sqliteFree(sVac.s1.z);
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_env.c105 static char * nvmatch(char *s1, char *s2) /* {{{ */ argument
107 while(*s1 == *s2++)
109 if(*s1++ == '=') {
113 if(*s1 == '\0' && *(s2-1) == '=') {
H A Dfpm_main.c716 char *s1, *s2; local
733 s1 = (char *) doc_root;
737 s1 = path;
747 if (strnicmp(s1, s2, s_len) == 0) {
749 if (strncmp(s1, s2, s_len) == 0) {
/PHP_5_3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp51932.c209 int c1, c2, s1; local
211 s1 = 0;
213 s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min];
215 s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min];
217 s1 = ucs_i_jis_table[c - ucs_i_jis_table_min];
219 s1 = ucs_r_jis_table[c - ucs_r_jis_table_min];
221 if (s1 >= 0x8080) s1 = -1; /* we don't support JIS X0213 */
222 if (s1 <= 0) {
225 s1
[all...]
H A Dmbfilter_cp932.c99 #define SJIS_ENCODE(c1,c2,s1,s2) \
101 s1 = c1; \
102 s1--; \
103 s1 >>= 1; \
105 s1 += 0x71; \
107 s1 += 0xb1; \
120 #define SJIS_DECODE(c1,c2,s1,s2) \
122 s1 = c1; \
123 if (s1 < 0xa0) { \
124 s1
149 int c1, s, s1, s2, w; local
234 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_euc_jp_win.c261 int c1, c2, s1; local
263 s1 = 0;
265 s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min];
267 s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min];
269 s1 = ucs_i_jis_table[c - ucs_i_jis_table_min];
271 s1 = ucs_r_jis_table[c - ucs_r_jis_table_min];
273 s1 = c - 0xe000;
274 c1 = s1/94 + 0x75;
275 c2 = s1%94 + 0x21;
276 s1
[all...]
H A Dmbfilter_iso2022_jp_ms.c295 int c1, c2, s1, s2; local
297 s1 = 0;
300 s1 = ucs_a1_jis_table[c - ucs_a1_jis_table_min];
302 s1 = ucs_a2_jis_table[c - ucs_a2_jis_table_min];
304 s1 = ucs_i_jis_table[c - ucs_i_jis_table_min];
306 s1 = ucs_r_jis_table[c - ucs_r_jis_table_min];
308 s1 = c - 0xe000;
309 c1 = s1/94 + 0x7f;
310 c2 = s1%94 + 0x21;
311 s1
[all...]
H A Dmbfilter_sjis.c99 #define SJIS_ENCODE(c1,c2,s1,s2) \
101 s1 = c1; \
102 s1--; \
103 s1 >>= 1; \
105 s1 += 0x71; \
107 s1 += 0xb1; \
120 #define SJIS_DECODE(c1,c2,s1,s2) \
122 s1 = c1; \
123 if (s1 < 0xa0) { \
124 s1
149 int c1, s1, s2, w; local
214 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_sjis_open.c99 #define SJIS_ENCODE(c1,c2,s1,s2) \
101 s1 = c1; \
102 s1--; \
103 s1 >>= 1; \
105 s1 += 0x71; \
107 s1 += 0xb1; \
120 #define SJIS_DECODE(c1,c2,s1,s2) \
122 s1 = c1; \
123 if (s1 < 0xa0) { \
124 s1
149 int c1, s, s1, s2, w; local
234 int c1, c2, s1, s2; local
[all...]
/PHP_5_3/ext/mbstring/oniguruma/
H A Dregexec.c1020 #define STRING_CMP(s1,s2,len) do {\
1022 if (*s1++ != *s2++) goto fail;\
1026 #define STRING_CMP_IC(ambig_flag,s1,ps2,len) do {\
1027 if (string_cmp_ic(encode, ambig_flag, s1, ps2, len) == 0) \
1032 UChar* s1, UChar** ps2, int mblen)
1040 end = s1 + mblen;
1042 while (s1 < end) {
1043 len1 = ONIGENC_MBC_TO_NORMALIZE(enc, ambig_flag, &s1, end, buf1);
1059 #define STRING_CMP_VALUE(s1,s2,len,is_fail) do {\
1062 if (*s1
1031 string_cmp_ic(OnigEncoding enc, int ambig_flag, UChar* s1, UChar** ps2, int mblen) argument
[all...]
H A Dregparse.c215 onig_strncmp(const UChar* s1, const UChar* s2, int n) argument
220 x = *s2++ - *s1++;
/PHP_5_3/ext/mbstring/
H A Dmb_gpc.c198 const char *s1, *s2; local
228 for (s1=res; *s1 != '\0'; s1++) {
230 if (*s1 == *s2) {
/PHP_5_3/ext/standard/
H A Dlevenshtein.c30 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 Dphp_lcg.h27 php_int32 s1; member in struct:__anon218
H A Drand.c214 register php_uint32 s1; local
221 s1 = *BG(next)++;
222 s1 ^= (s1 >> 11);
223 s1 ^= (s1 << 7) & 0x9d2c5680U;
224 s1 ^= (s1 << 15) & 0xefc60000U;
225 return ( s1 ^ (s1 >> 1
[all...]
H A Dstreamsfuncs.c53 php_stream *s1, *s2; local
70 s1 = php_stream_sock_open_from_socket(pair[0], 0);
75 php_stream_auto_cleanup(s1);
78 add_next_index_resource(return_value, php_stream_get_resource_id(s1));
/PHP_5_3/ext/zlib/
H A Dzlib.c539 char *data, *s1=NULL, *s2=NULL; local
560 s2 = (char *) erealloc(s1, length);
562 s1 = s2;
646 char *data, *s1=NULL, *s2=NULL; local
686 s2 = (char *) erealloc(s1, length);
689 if (s1) {
690 efree(s1);
695 s1 = s2;
/PHP_5_3/ext/mysqlnd/
H A Dmysqlnd_debug.c875 enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_MALLOC_COUNT:STAT_MEM_EMALLOC_COUNT; local
878 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size);
943 enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_CALLOC_COUNT:STAT_MEM_ECALLOC_COUNT; local
946 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size);
1013 enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_REALLOC_COUNT:STAT_MEM_EREALLOC_COUNT; local
1016 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, new_size);
H A Dmysqlnd_wireprotocol.c409 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) argument
411 const zend_uchar *s1_end = s1 + len;
412 while (s1 < s1_end) {
413 *buffer++= *s1++ ^ *s2++;
/PHP_5_3/ext/fileinfo/libmagic/
H A Dsoftmagic.c1579 file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) argument
1587 const unsigned char *a = (const unsigned char *)s1;
1592 * What we want here is v = strncmp(s1, s2, len),
/PHP_5_3/sapi/cgi/
H A Dcgi_main.c735 char *s1, *s2; local
753 s1 = (char *) doc_root;
757 s1 = path;
767 if (strnicmp(s1, s2, s_len) == 0) {
769 if (strncmp(s1, s2, s_len) == 0) {

Completed in 69 milliseconds

12