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

12

/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/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_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_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...]
/PHP_TRUNK/ext/zip/lib/
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.c71 struct zip_source *s2;
94 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) {
99 return s2;
68 struct zip_source *s2; local
H A Dzip_source_zip_new.c50 struct zip_source *src, *s2;
137 if ((s2=enc_impl(za, src, st.encryption_method, 0, password)) == NULL) {
142 src = s2;
145 if ((s2=comp_impl(za, src, st.comp_method, 0)) == NULL) {
150 src = s2;
155 if ((s2=zip_source_crc(za, src, 1)) == NULL) {
160 src = s2;
164 if ((s2=zip_source_window(za, src, start, len ? len : st.size-start)) == NULL) {
169 src = s2;
48 struct zip_source *src, *s2; local
H A Dzip_close.c299 struct zip_source *s2;
383 if ((s2=comp_impl(za, s_crc, de->comp_method, ZIP_CODEC_ENCODE)) == NULL) {
391 s2 = s_crc;
394 s2 = src;
398 ret = copy_source(za, s2, ft);
400 if (zip_source_stat(s2, &st) < 0)
403 while (s2 != src) {
404 if ((s2=zip_source_pop(s2)) == NULL) {
295 struct zip_source *s2; local
/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/fileinfo/libmagic/
H A Dstrcasestr.c47 _strncasecmp(const char *s1, const char *s2, size_t n) argument
51 *us2 = (const unsigned char *)s2;
/PHP_TRUNK/Zend/
H A Dzend_string.h212 static zend_always_inline zend_bool zend_string_equals(zend_string *s1, zend_string *s2) argument
214 return s1 == s2 || (s1->len == s2->len && !memcmp(s1->val, s2->val, s1->len));
/PHP_TRUNK/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_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_auth.c317 php_mysqlnd_crypt(zend_uchar *buffer, const zend_uchar *s1, const zend_uchar *s2, size_t len) argument
321 *buffer++= *s1++ ^ *s2++;
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);
/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/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:__anon254
/PHP_TRUNK/ext/spl/
H A Dspl_observer.c394 spl_SplObjectStorageElement *s2 = (spl_SplObjectStorageElement*)Z_PTR_P(e2); local
397 if (compare_function(&result, &s1->inf, &s2->inf TSRMLS_CC) == FAILURE) {
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_util_funcs.c962 #define ADLER32_DO1(buf) {s1 += *(buf); s2 += s1;}
971 unsigned int s2 = (checksum >> 16) & 0xffff; local
982 s2 %= ADLER32_BASE;
1002 s2 %= ADLER32_BASE;
1005 return (s2 << 16) | s1;

Completed in 43 milliseconds

12