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

12

/PHP_5_5/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_5/ext/intl/spoofchecker/
H A Dspoofchecker_main.c62 char *s1, *s2; local
67 if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss|z", &s1, &s1_len,
74 ret = uspoof_areConfusableUTF8(co->uspoof, s1, s1_len, s2, s2_len, SPOOFCHECKER_ERROR_CODE_P(co));
/PHP_5_5/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_gb18030.c288 int c1, s = 0, s1 = 0; local
379 s1 = c1 + 0x81;
386 s1 = c1 + 0x90;
403 } else if (s1 > 0) { /* qbcs */
404 CK((*filter->output_function)(s1 & 0xff, filter->data));
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.c102 #define SJIS_ENCODE(c1,c2,s1,s2) \
104 s1 = c1; \
105 s1--; \
106 s1 >>= 1; \
108 s1 += 0x71; \
110 s1 += 0xb1; \
123 #define SJIS_DECODE(c1,c2,s1,s2) \
125 s1 = c1; \
126 if (s1 < 0xa0) { \
127 s1
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) \
87 s1 = c1; \
88 s1--; \
89 s1 >>= 1; \
91 s1 += 0x71; \
93 s1 += 0xb1; \
106 #define SJIS_DECODE(c1,c2,s1,s2) \
108 s1 = c1; \
109 if (s1 < 0xa0) { \
110 s1
135 int c1, s, s1, s2, w; local
283 int c1, c2, s1, s2, mode; local
677 int i, c1, s1 = 0; 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
148 int c1, s, s1, s2, w; local
233 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_utf8_mobile.c193 int s1 = 0, c1 = 0, snd = 0; local
222 mbfilter_conv_r_map_tbl(s, &s1, mbfl_docomo2uni_pua, 4) > 0) {
223 s = mbfilter_sjis_emoji_docomo2unicode(s1, &snd);
225 mbfilter_conv_r_map_tbl(s, &s1, mbfl_kddi2uni_pua, 7) > 0) {
226 s = mbfilter_sjis_emoji_kddi2unicode(s1, &snd);
228 mbfilter_conv_r_map_tbl(s, &s1, mbfl_kddi2uni_pua_b, 8) > 0) {
229 s = mbfilter_sjis_emoji_kddi2unicode(s1, &snd);
231 mbfilter_conv_r_map_tbl(s, &s1, mbfl_sb2uni_pua, 6) > 0) {
232 s = mbfilter_sjis_emoji_sb2unicode(s1, &snd);
297 int s1, c local
[all...]
H A Dmbfilter_iso2022jp_mobile.c90 #define SJIS_ENCODE(c1,c2,s1,s2) \
92 s1 = c1; \
93 s1--; \
94 s1 >>= 1; \
96 s1 += 0x71; \
98 s1 += 0xb1; \
111 #define SJIS_DECODE(c1,c2,s1,s2) \
113 s1 = c1; \
114 if (s1 < 0xa0) { \
115 s1
322 int c1, c2, s1, s2; local
[all...]
H A Dmbfilter_sjis_2004.c86 #define SJIS_ENCODE(c1,c2,s1,s2) \
88 s1 = c1; \
89 s1--; \
90 s1 >>= 1; \
92 s1 += 0x71; \
94 s1 += 0xb1; \
107 #define SJIS_DECODE(c1,c2,s1,s2) \
109 s1 = c1; \
110 if (s1 < 0xa0) { \
111 s1
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) \
200 s1 = c1; \
201 s1--; \
202 s1 >>= 1; \
204 s1 += 0x71; \
206 s1 += 0xb1; \
219 #define SJIS_DECODE(c1,c2,s1,s2) \
221 s1 = c1; \
222 if (s1 < 0xa0) { \
223 s1
404 mbfilter_unicode2sjis_emoji_docomo(int c, int *s1, mbfl_convert_filter *filter) argument
463 mbfilter_unicode2sjis_emoji_kddi(int c, int *s1, mbfl_convert_filter *filter) argument
534 mbfilter_unicode2sjis_emoji_sb(int c, int *s1, mbfl_convert_filter *filter) argument
608 int c1, s, s1 = 0, s2 = 0, w; local
788 int c1, c2, s1, s2; local
[all...]
/PHP_5_5/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:__anon258
H A Drand.c213 register php_uint32 s1; local
220 s1 = *BG(next)++;
221 s1 ^= (s1 >> 11);
222 s1 ^= (s1 << 7) & 0x9d2c5680U;
223 s1 ^= (s1 << 15) & 0xefc60000U;
224 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_5/ext/mysqlnd/
H A Dmysqlnd_alloc.c148 enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_MALLOC_COUNT:STAT_MEM_EMALLOC_COUNT; local
151 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size);
231 enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_CALLOC_COUNT:STAT_MEM_ECALLOC_COUNT; local
234 MYSQLND_INC_GLOBAL_STATISTIC_W_VALUE2(s1, 1, s2, size);
317 enum mysqlnd_collected_stats s1 = persistent? STAT_MEM_REALLOC_COUNT:STAT_MEM_EREALLOC_COUNT; 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
319 const zend_uchar *s1_end = s1 + len;
320 while (s1 < s1_end) {
321 *buffer++= *s1++ ^ *s2++;
/PHP_5_5/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) == '=') {
/PHP_5_5/ext/standard/html_tables/
H A Dhtml_table_gen.php527 $s1 = (hexdec($el[1]) & 0xFFF000) >> 12; variable
531 $mstable[$s1][$s2][$s3] = "";
533 $mstable[$s1][$s2][$s3] = $el[0];
/PHP_5_5/ext/opcache/
H A Dzend_accelerator_util_funcs.c1031 #define ADLER32_DO1(buf) {s1 += *(buf); s2 += s1;}
1039 unsigned int s1 = checksum & 0xffff; local
1050 s1 %= ADLER32_BASE;
1070 s1 %= ADLER32_BASE;
1074 return (s2 << 16) | s1;
/PHP_5_5/ext/fileinfo/libmagic/
H A Dsoftmagic.c1772 file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) argument
1780 const unsigned char *a = (const unsigned char *)s1;
1785 * What we want here is v = strncmp(s1, s2, len),
/PHP_5_5/ext/mbstring/
H A Dmb_gpc.c198 const char *s1, *s2; local
220 for (s1=res; *s1 != '\0'; s1++) {
222 if (*s1 == *s2) {

Completed in 28 milliseconds

12