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

12

/PHP_TRUNK/ext/intl/spoofchecker/
H A Dspoofchecker_main.c62 char *s1, *s2; local
68 &s2, &s2_len, &error_code)) {
76 ret = uspoof_areConfusableUTF8(co->uspoof, s1, (int32_t)s1_len, s2, (int32_t)s2_len, SPOOFCHECKER_ERROR_CODE_P(co));
/PHP_TRUNK/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_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_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...]
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_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...]
/PHP_TRUNK/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_TRUNK/ext/standard/
H A Dlevenshtein.c30 static zend_long reference_levdist(const char *s1, size_t l1, const char *s2, size_t l2, zend_long cost_ins, zend_long cost_rep, zend_long cost_del ) argument
56 c0 = p1[i2] + ((s1[i1] == s2[i2]) ? 0 : cost_rep);
H A Dphp_lcg.h28 php_int32 s2; member in struct:__anon297
/PHP_TRUNK/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_TRUNK/ext/fileinfo/libmagic/
H A Dstrcasestr.c49 _strncasecmp(const char *s1, const char *s2, size_t n) argument
53 *us2 = (const unsigned char *)s2;
/PHP_TRUNK/ext/standard/html_tables/
H A Dhtml_table_gen.php527 $s2 = (hexdec($el[1]) & 0xFC0) >> 6; variable
530 $mstable[$s1][$s2][$s3] = "";
532 $mstable[$s1][$s2][$s3] = $el[0];
/PHP_TRUNK/ext/zip/lib/
H A Dzip_close.c237 zip_source_t *s2; local
322 s2 = comp_impl(za, s_crc, de->comp_method, ZIP_CODEC_ENCODE);
324 if (s2 == NULL) {
329 s2 = s_crc;
334 s2 = src;
341 ret = copy_source(za, s2);
343 if (zip_source_stat(s2, &st) < 0)
346 zip_source_free(s2);
H A Dzip_source_deflate.c63 zip_source_t *s2; local
83 if ((s2=zip_source_layered(za, src,
91 return s2;
H A Dzip_source_pkware.c64 zip_source_t *s2; local
87 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) {
92 return s2;
H A Dzip_source_zip_new.c45 zip_source_t *src, *s2; local
138 s2 = enc_impl(za, src, st.encryption_method, 0, password);
140 if (s2 == NULL) {
143 src = s2;
146 s2 = comp_impl(za, src, st.comp_method, 0);
148 if (s2 == NULL) {
151 src = s2;
155 s2 = zip_source_crc(za, src, 1);
157 if (s2 == NULL) {
160 src = s2;
[all...]
/PHP_TRUNK/Zend/
H A Dzend_string.h277 static zend_always_inline zend_bool zend_string_equals(zend_string *s1, zend_string *s2) argument
279 return s1 == s2 || (ZSTR_LEN(s1) == ZSTR_LEN(s2) && !memcmp(ZSTR_VAL(s1), ZSTR_VAL(s2), ZSTR_LEN(s1)));
282 #define zend_string_equals_ci(s1, s2) \
283 (ZSTR_LEN(s1) == ZSTR_LEN(s2) && !zend_binary_strcasecmp(ZSTR_VAL(s1), ZSTR_LEN(s1), ZSTR_VAL(s2), ZSTR_LEN(s2)))
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c196 const char *s1, *s2; local
219 for (s2=info->separator; *s2 != '\0'; s2++) {
220 if (*s1 == *s2) {
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_alloc.c149 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_MALLOC_AMOUNT:STAT_MEM_EMALLOC_AMOUNT; local
151 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size);
232 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_CALLOC_AMOUNT:STAT_MEM_ECALLOC_AMOUNT; local
234 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size);
318 enum mysqlnd_collected_stats s2 = persistent? STAT_MEM_REALLOC_AMOUNT:STAT_MEM_EREALLOC_AMOUNT; local
320 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, new_size);
H A Dmysqlnd_auth.c317 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) argument
321 *buffer++= *s1++ ^ *s2++;
/PHP_TRUNK/ext/spl/
H A Dspl_observer.c376 spl_SplObjectStorageElement *s2 = (spl_SplObjectStorageElement*)Z_PTR_P(e2); local
379 if (compare_function(&result, &s1->inf, &s2->inf) == FAILURE) {
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c780 #define ADLER32_DO1(buf) {s1 += *(buf); s2 += s1;}
789 unsigned int s2 = (checksum >> 16) & 0xffff; local
800 s2 %= ADLER32_BASE;
820 s2 %= ADLER32_BASE;
823 return (s2 << 16) | s1;

Completed in 73 milliseconds

12