Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 94) sorted by last modified time

1234

/PHP-5.5/sapi/fpm/fpm/
H A Dfpm_env.c105 static char * nvmatch(char *s1, char *s2) /* {{{ */ in nvmatch() argument
107 while(*s1 == *s2++) in nvmatch()
110 return s2; in nvmatch()
113 if(*s1 == '\0' && *(s2-1) == '=') { in nvmatch()
114 return s2; in nvmatch()
H A Dfpm_main.c715 char *s1, *s2; local
733 s2 = path;
737 s2 = (char *) doc_root;
746 if (strnicmp(s1, s2, s_len) == 0) {
748 if (strncmp(s1, s2, s_len) == 0) {
750 ptr = s2 + start; /* start is the point where doc_root ends! */
/PHP-5.5/sapi/cgi/
H A Dcgi_main.c774 char *s1, *s2; local
792 s2 = path;
796 s2 = (char *) doc_root;
805 if (strnicmp(s1, s2, s_len) == 0) {
807 if (strncmp(s1, s2, s_len) == 0) {
809 ptr = s2 + start; /* start is the point where doc_root ends! */
/PHP-5.5/main/
H A Drfc1867.c561 char *s2 = strrchr(path, '/'); in php_ap_basename() local
563 if (s && s2) { in php_ap_basename()
564 if (s > s2) { in php_ap_basename()
567 s = ++s2; in php_ap_basename()
572 } else if (s2) { in php_ap_basename()
573 return ++s2; in php_ap_basename()
/PHP-5.5/ext/zip/lib/
H A Dzip_fopen_index_encrypted.c53 struct zip_source *src, *s2; in zip_fopen_index_encrypted() local
116 if ((s2=enc_impl(za, src, ZIP_EM_TRAD_PKWARE, 0, in zip_fopen_index_encrypted()
122 src = s2; in zip_fopen_index_encrypted()
125 if ((s2=comp_impl(za, src, za->cdir->entry[fileno].comp_method, in zip_fopen_index_encrypted()
131 src = s2; in zip_fopen_index_encrypted()
135 if ((s2=zip_source_crc(za, src, 1)) == NULL) { in zip_fopen_index_encrypted()
140 src = s2; in zip_fopen_index_encrypted()
H A Dzip_source_deflate.c68 struct zip_source *s2; in zip_source_deflate() local
89 if ((s2=zip_source_layered(za, src, in zip_source_deflate()
97 return s2; in zip_source_deflate()
H A Dzip_source_pkware.c72 struct zip_source *s2; in zip_source_pkware() local
98 if ((s2=zip_source_layered(za, src, pkware_decrypt, ctx)) == NULL) { in zip_source_pkware()
103 return s2; in zip_source_pkware()
H A Dzip_close.c356 struct zip_source *s2; in add_data() local
370 if ((s2=zip_source_crc(za, src, 0)) == NULL) { in add_data()
371 zip_source_pop(s2); in add_data()
383 zip_source_pop(s2); in add_data()
386 if ((s2=comp_impl(za, s2, ZIP_CM_DEFLATE, ZIP_CODEC_ENCODE)) in add_data()
389 zip_source_pop(s2); in add_data()
394 s2 = src; in add_data()
398 ret = copy_source(za, s2, ft); in add_data()
400 if (zip_source_stat(s2, &st) < 0) in add_data()
403 while (s2 != src) { in add_data()
[all …]
/PHP-5.5/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc_win32.h13 # define strcasecmp(s1, s2) stricmp(s1, s2) argument
/PHP-5.5/ext/standard/tests/strings/
H A Dstrval_variation2.phpt14 $s2 = "\x20\x21\x22\x23\x24\x25\x26\x27\x28\x29\x2a\x2b\x2c\x2d\x2e\x2f";
33 echo bin2hex(strval($s2));
H A Dstrnatcasecmp_basic.phpt7 /* Prototype : int strnatcasecmp(string s1, string s2)
H A Dstrnatcasecmp_variation1.phpt7 /* Prototype : int strnatcasecmp(string s1, string s2)
H A Dhtmlspecialchars_basic.phpt13 $s2 = "&&abc<>\"&\n";
19 echo "Test 2: " . htmlspecialchars ($s2);
24 echo "Test 7: " . htmlspecialchars ($s2,ENT_NOQUOTES);
29 echo "Test 12: " . htmlspecialchars ($s2,ENT_COMPAT);
34 echo "Test 17: " . htmlspecialchars ($s2,ENT_QUOTES);
41 echo "Test 22: " . htmlspecialchars ($s2,ENT_COMPAT, "ISO-8859-1");
47 $s2 = "&quot;&amp;123&lt;456&quot;\n";
50 echo "Test 26: " . htmlspecialchars ($s2,ENT_NOQUOTES, "ISO-8859-1", false);
55 echo "Test 29: " . htmlspecialchars ($s2, ENT_NOQUOTES, "ISO-8859-1", true);
/PHP-5.5/ext/standard/tests/file/
H A Dfclose_variation1.phpt7 $s2 = $s;
8 separate_zval($s2);
10 echo fread($s2, strlen("<?php"));
/PHP-5.5/ext/standard/
H A Dstring.c738 char *s1, *s2; in PHP_FUNCTION() local
746 (const char *) s2)); in PHP_FUNCTION()
1653 PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end) argument
1659 for (spanp = s2; p != s1_end && spanp != s2_end;) {
1671 PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end) argument
1677 spanp = s2;
5034 char *s1, *s2; local
5042 s2, s2_len,
5629 char *s1, *s2; local
5661 RETURN_LONG(zend_binary_strncmp(s1 + offset, (s1_len - offset), s2, s2_len, cmp_len));
[all …]
H A Dstreamsfuncs.c53 php_stream *s1, *s2; in PHP_FUNCTION() local
71 s2 = php_stream_sock_open_from_socket(pair[1], 0); in PHP_FUNCTION()
76 php_stream_auto_cleanup(s2); in PHP_FUNCTION()
79 add_next_index_resource(return_value, php_stream_get_resource_id(s2)); in PHP_FUNCTION()
H A Dphp_string.h143 PHPAPI size_t php_strspn(char *s1, char *s2, char *s1_end, char *s2_end);
144 PHPAPI size_t php_strcspn(char *s1, char *s2, char *s1_end, char *s2_end);
H A Dphp_lcg.h28 php_int32 s2; member
H A Dlcg.c65 MODMULT(52774, 40692, 3791, 2147483399L, LCG(s2)); in php_combined_lcg()
67 z = LCG(s1) - LCG(s2); in php_combined_lcg()
86 LCG(s2) = (long) tsrm_thread_id(); in lcg_seed()
88 LCG(s2) = (long) getpid(); in lcg_seed()
93 LCG(s2) ^= (tv.tv_usec<<11); in lcg_seed()
H A Dlevenshtein.c30 static int reference_levdist(const char *s1, int l1, const char *s2, int l2, int cost_ins, int cost… in reference_levdist() argument
55 c0 = p1[i2] + ((s1[i1] == s2[i2]) ? 0 : cost_rep); in reference_levdist()
H A Dbasic_functions.c2428 ZEND_ARG_INFO(0, s2)
2436 ZEND_ARG_INFO(0, s2)
/PHP-5.5/ext/standard/html_tables/
H A Dhtml_table_gen.php528 $s2 = (hexdec($el[1]) & 0xFC0) >> 6; variable
531 $mstable[$s1][$s2][$s3] = "";
533 $mstable[$s1][$s2][$s3] = $el[0];
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c49503 u32 s1, s2;
49509 s2 = aIn[1];
49511 s1 = s2 = 0;
49520 s2 += *aData++ + s1;
49531 aOut[1] = s2;
78757 assert( (s2>0 && s2<7) || s2==8 || s2==9 );
78759 if( s1>7 && s2>7 ){
78760 res = s1 - s2;
78762 if( s1==s2 ){
78776 if( s2>7 ){
[all …]
/PHP-5.5/ext/spl/tests/
H A Dbug45826.phpt15 $s2 = $o->serialize();
17 var_dump($s2);
25 $o2->unserialize($s2);
32 unset($o,$x,$s1,$s2,$o1,$o2);
53 $s2 = $o->serialize();
55 var_dump($s2);
63 $o2->unserialize($s2);
H A DSplObjectStorage_getHash.phpt32 $s2 = new MySplObjectStorage2;
33 $s2[$o2] = "foo";

Completed in 542 milliseconds

1234