Searched defs:s2 (Results 1 - 25 of 34) sorted by relevance

12

/PHP_5_4/ext/phar/
H A Dmakestub.php29 $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_4/ext/intl/spoofchecker/
H A Dspoofchecker_main.c62 char *s1, *s2; local
68 &s2, &s2_len, &error_code)) {
74 ret = uspoof_areConfusableUTF8(co->uspoof, s1, s1_len, s2, s2_len, SPOOFCHECKER_ERROR_CODE_P(co));
/PHP_5_4/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp932.c99 #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 Dmbfilter_iso2022_jp_ms.c295 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 Dmbfilter_sjis.c102 #define SJIS_ENCODE(c1,c2,s1,s2) \
112 s2 = c2; \
115 s2--; \
117 s2 += 0x20; \
119 s2 += 0x7e; \
123 #define SJIS_DECODE(c1,c2,s1,s2) \
133 s2 = c2; \
134 if (s2 < 0x9f) { \
135 if (s2 < 0x7f) { \
136 s2
152 int c1, s1, s2, w; local
217 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_sjis_open.c99 #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
148 int c1, s, s1, s2, w; local
233 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_iso2022jp_mobile.c90 #define SJIS_ENCODE(c1,c2,s1,s2) \
100 s2 = c2; \
103 s2--; \
105 s2 += 0x20; \
107 s2 += 0x7e; \
111 #define SJIS_DECODE(c1,c2,s1,s2) \
121 s2 = c2; \
122 if (s2 < 0x9f) { \
123 if (s2 < 0x7f) { \
124 s2
322 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_sjis_2004.c86 #define SJIS_ENCODE(c1,c2,s1,s2) \
96 s2 = c2; \
99 s2--; \
101 s2 += 0x20; \
103 s2 += 0x7e; \
107 #define SJIS_DECODE(c1,c2,s1,s2) \
117 s2 = c2; \
118 if (s2 < 0x9f) { \
119 if (s2 < 0x7f) { \
120 s2
137 int c1, c2, s, s1 = 0, s2 = 0, w = 0, w1; local
487 int c1, c2, s1 = 0, s2; local
680 int k, c1, c2, s1, s2; local
[all...]
H A Dmbfilter_sjis_mobile.c198 #define SJIS_ENCODE(c1,c2,s1,s2) \
208 s2 = c2; \
211 s2--; \
213 s2 += 0x20; \
215 s2 += 0x7e; \
219 #define SJIS_DECODE(c1,c2,s1,s2) \
229 s2 = c2; \
230 if (s2 < 0x9f) { \
231 if (s2 < 0x7f) { \
232 s2
608 int c1, s, s1 = 0, s2 = 0, w; local
788 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_sjis_mac.c85 #define SJIS_ENCODE(c1,c2,s1,s2) \
95 s2 = c2; \
98 s2--; \
100 s2 += 0x20; \
102 s2 += 0x7e; \
106 #define SJIS_DECODE(c1,c2,s1,s2) \
116 s2 = c2; \
117 if (s2 < 0x9f) { \
118 if (s2 < 0x7f) { \
119 s2
135 int c1, s, s1, s2, w; local
283 int c1, c2, s1, s2, mode; local
[all...]
/PHP_5_4/Zend/
H A Dzend_strtod.c1479 j, j1, k, k0, k_check, leftright, m2, m5, s2, s5, local
1594 s2 = j;
1598 s2 = 0;
1603 s2 += k;
1818 s2 += i;
1821 if (m2 > 0 && s2 > 0) {
1822 i = m2 < s2 ? m2 : s2;
1825 s2 -= i;
1855 s2
[all...]
H A Dzend_operators.c1940 ZEND_API int zend_binary_strcmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ argument
1944 if (s1 == s2) {
1947 retval = memcmp(s1, s2, MIN(len1, len2));
1956 ZEND_API int zend_binary_strncmp(const char *s1, uint len1, const char *s2, uint len2, uint length) /* {{{ */ argument
1960 if (s1 == s2) {
1963 retval = memcmp(s1, s2, MIN(length, MIN(len1, len2)));
1972 ZEND_API int zend_binary_strcasecmp(const char *s1, uint len1, const char *s2, uint len2) /* {{{ */ argument
1977 if (s1 == s2) {
1984 c2 = zend_tolower((int)*(unsigned char *)s2++);
1994 ZEND_API int zend_binary_strncasecmp(const char *s1, uint len1, const char *s2, uin argument
2015 zend_binary_zval_strcmp(zval *s1, zval *s2) argument
2021 zend_binary_zval_strncmp(zval *s1, zval *s2, zval *s3) argument
2027 zend_binary_zval_strcasecmp(zval *s1, zval *s2) argument
2033 zend_binary_zval_strncasecmp(zval *s1, zval *s2, zval *s3) argument
2039 zendi_smart_strcmp(zval *result, zval *s1, zval *s2) argument
[all...]
/PHP_5_4/ext/zip/lib/
H A Dzip_close.c360 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...]
H A Dzip_fopen_index_encrypted.c55 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 Dzip_source_deflate.c70 struct zip_source *s2;
91 if ((s2=zip_source_layered(za, src,
99 return s2;
68 struct zip_source *s2; local
H A Dzip_source_pkware.c75 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
/PHP_5_4/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.h28 php_int32 s2; member in struct:__anon257
H A Dstreamsfuncs.c53 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_4/ext/mysqlnd/
H A Dmysqlnd_alloc.c148 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_MALLOC_AMOUNT:STAT_MEM_EMALLOC_AMOUNT; local
150 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size);
230 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_CALLOC_AMOUNT:STAT_MEM_ECALLOC_AMOUNT; local
232 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size);
314 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_REALLOC_AMOUNT:STAT_MEM_EREALLOC_AMOUNT; local
316 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, new_size);
H A Dmysqlnd_auth.c318 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) argument
322 *buffer++= *s1++ ^ *s2++;
/PHP_5_4/sapi/fpm/fpm/
H A Dfpm_env.c105 static char * nvmatch(char *s1, char *s2) /* {{{ */ argument
107 while(*s1 == *s2++)
110 return s2;
113 if(*s1 == '\0' && *(s2-1) == '=') {
114 return s2;
/PHP_5_4/ext/standard/html_tables/
H A Dhtml_table_gen.php525 $s2 = (hexdec($el[1]) & 0xFC0) >> 6; variable
528 $mstable[$s1][$s2][$s3] = "";
530 $mstable[$s1][$s2][$s3] = $el[0];
/PHP_5_4/ext/fileinfo/libmagic/
H A Dsoftmagic.c1772 file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) argument
1781 const unsigned char *b = (const unsigned char *)s2;
1785 * What we want here is v = strncmp(s1, s2, len),
/PHP_5_4/ext/mbstring/
H A Dmb_gpc.c198 const char *s1, *s2; local
221 for (s2=info->separator; *s2 != '\0'; s2++) {
222 if (*s1 == *s2) {

Completed in 46 milliseconds

12