Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 763) sorted by last modified time

12345678910>>...31

/PHP-5.5/win32/
H A Dsendmail.c69 #define SMTP_SKIP_SPACE(str) { while (isspace(*str)) { str++; } } argument
H A Dglob.c839 g_opendir(str, pglob) in g_opendir() argument
840 register Char *str; in g_opendir()
845 if (!*str)
889 g_strchr(str, ch) in g_strchr() argument
890 Char *str; in g_strchr()
894 if (*str == ch)
895 return (str);
896 } while (*str++);
901 g_Ctoc(str, buf, len) in g_Ctoc() argument
916 qprintf(str, s) in qprintf() argument
[all …]
/PHP-5.5/tests/strings/
H A D001.phpt10 $str = "testing 1/2\\3";
11 $tok1 = strtok($str, " ");
145 $uc = ucfirst($str);
153 $str = "test abcdefgh";
162 $str = "\"\\'";
163 $as = addslashes($str);
171 $str = "\$\\'";
181 $str = "prefix";
194 $str = "prefix";
195 $ui1 = uniqid($str);
[all …]
/PHP-5.5/tests/output/
H A Dob_start_basic_unerasable_001.phpt14 $str = ob_get_contents();
15 var_dump($str);
H A Dob_start_basic_unerasable_003.phpt14 $str = ob_get_clean();
15 var_dump($str);
H A Dob_start_basic_unerasable_004.phpt14 $str = ob_get_flush();
15 var_dump($str);
H A Dob_start_error_001.phpt10 function justPrint($str) {
11 return $str;
H A Dob_start_error_002.phpt11 static function f($str) {
12 return $str;
H A Dob_start_error_005.phpt11 function f($str) {
15 return $str;
/PHP-5.5/tests/lang/
H A Dstring_decimals_001.phpt5 function test($str) {
6 echo "\n--> Testing $str:\n";
7 var_dump((int)$str);
8 var_dump((float)$str);
9 var_dump($str > 0);
H A Dbug26696.phpt6 $str = 'asdd/?';
7 $len = strlen($str);
9 switch ($str[$i]) {
16 $str = '*';
17 switch ($str[0]) {
H A Dexecution_order.phpt9 var $str = "bad";
28 $str = new strclass();
29 $c = $str->str.($str->str="good");
34 $str->str = "bad";
36 $c = ($str->str="good").$str->str;
/PHP-5.5/tests/func/
H A D010.phpt30 $str = "<?php\nfunction x(";
33 $str .= '$v'.dechex($i).($i===($limit-1) ? '' : ',');
36 $str .= ') {
48 $str .= "\n\nx(";
51 $str .= "'".dechex($i)."'".($i===($limit-1) ? '' : ',');
54 $str .= ");\n";
57 file_put_contents(dirname(__FILE__).'/010-file.php', $str);
58 unset($str);
/PHP-5.5/sapi/nsapi/
H A Dnsapi.c453 static int sapi_nsapi_ub_write(const char *str, unsigned int str_length TSRMLS_DC) in sapi_nsapi_ub_write() argument
462 retval = net_write(rc->sn->csd, (char *)str, str_length); in sapi_nsapi_ub_write()
/PHP-5.5/sapi/phttpd/
H A Dphttpd.c56 php_phttpd_sapi_ub_write(const char *str, uint str_length TSRMLS_DC) in php_phttpd_sapi_ub_write() argument
60 sent_bytes = fd_write(PHG(cip)->fd, str, str_length); in php_phttpd_sapi_ub_write()
/PHP-5.5/sapi/pi3web/
H A Dpi3web_sapi.c123 static int zend_pi3web_ub_write(const char *str, uint str_length TSRMLS_DC) in zend_pi3web_ub_write() argument
131 cb->WriteClient(cb->ConnID, (char *) str, &num_bytes, 0 ); in zend_pi3web_ub_write()
/PHP-5.5/sapi/roxen/
H A Droxen.c192 return head->u.string->str; in lookup_string_header()
214 php_roxen_low_ub_write(const char *str, uint str_length TSRMLS_DC) { in php_roxen_low_ub_write() argument
226 to_write = make_shared_binary_string(str, str_length); in php_roxen_low_ub_write()
245 php_roxen_sapi_ub_write(const char *str, uint str_length TSRMLS_DC) in php_roxen_sapi_ub_write() argument
407 MEMCPY(buf, Pike_sp[-1].u.string->str, in php_roxen_low_read_post()
518 zvalue->value.str.len = strlen(buf); \
519 zvalue->value.str.val = estrndup(buf, zvalue->value.str.len); \
548 strncpy(buf, ind->u.string->str, buf_len); in php_roxen_hash_environment()
552 zvalue->value.str.len = val->u.string->len; in php_roxen_hash_environment()
553 zvalue->value.str.val = estrndup(val->u.string->str, zvalue->value.str.len); in php_roxen_hash_environment()
[all …]
/PHP-5.5/sapi/thttpd/
H A Dthttpd.c67 static int sapi_thttpd_ub_write(const char *str, uint str_length TSRMLS_DC) in sapi_thttpd_ub_write() argument
73 smart_str_appendl_ex(&TG(sbuf), str, str_length, 1); in sapi_thttpd_ub_write()
78 PHP_SYS_CALL(n = send(TG(hc)->conn_fd, str, str_length, 0);); in sapi_thttpd_ub_write()
82 smart_str_appendl_ex(&TG(sbuf), str, str_length, 1); in sapi_thttpd_ub_write()
90 str += n; in sapi_thttpd_ub_write()
156 # define ADD_VEC(str,l) smart_str_appendl(&vec_str, (str), (l)) argument
160 # define ADD_VEC(str,l) vec[n].iov_base=str;len += (vec[n].iov_len=l); n++ argument
165 #define ADD_VEC_S(str) ADD_VEC((str), sizeof(str)-1) argument
H A Dthttpd_patch150 static void add_response( httpd_conn* hc, char* str );
155 static void defang( char* str, char* dfstr, int dfsize );
389 for ( cp1 = str, cp2 = dfstr;
952 static char str[200];
971 … if ( getnameinfo( &saP->sa, sockaddr_len( saP ), str, sizeof(str), 0, 0, NI_NUMERICHOST ) != 0 )
973 str[0] = '?';
/PHP-5.5/sapi/tux/
H A Dphp_tux.c52 static int sapi_tux_ub_write(const char *str, uint str_length TSRMLS_DC) in sapi_tux_ub_write() argument
63 vec[n].iov_base = (void *) str; in sapi_tux_ub_write()
77 estr = str + str_length; in sapi_tux_ub_write()
79 while (str < estr) { in sapi_tux_ub_write()
80 n = send(TG(req)->sock, str, estr - str, 0); in sapi_tux_ub_write()
89 str += n; in sapi_tux_ub_write()
92 n = str_length - (estr - str); in sapi_tux_ub_write()
/PHP-5.5/sapi/webjames/
H A Dwebjames.c42 static int sapi_webjames_ub_write(const char *str, uint str_length TSRMLS_DC) in sapi_webjames_ub_write() argument
49 bytes = webjames_writebuffer(WG(conn),str,str_length); in sapi_webjames_ub_write()
57 str += bytes; in sapi_webjames_ub_write()
/PHP-5.5/scripts/dev/
H A Dcheck_parameters.php62 function error($str, $level = 0) argument
72 echo $filename , " [$line] $current_function : $str\n";
166 function get_params($vars, $str) argument
169 …preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', $str, $m, PREG_…
/PHP-5.5/sapi/isapi/
H A Dphp5isapi.c205 static int sapi_isapi_ub_write(const char *str, uint str_length TSRMLS_DC) in sapi_isapi_ub_write() argument
211 if (ecb->WriteClient(ecb->ConnID, (char *) str, &num_bytes, HSE_IO_SYNC) == FALSE) { in sapi_isapi_ub_write()
/PHP-5.5/sapi/isapi/stresstest/
H A Dstresstest.cpp155 BOOL CompareStringWithFile(const char *filename, const char *str, unsigned int str_length) in CompareStringWithFile() argument
174 || memcmp(buf, str+offset, readbytes)!=NULL) { in CompareStringWithFile()
/PHP-5.5/sapi/litespeed/
H A Dlsapi_main.c129 static int sapi_lsapi_ub_write(const char *str, uint str_length TSRMLS_DC) in sapi_lsapi_ub_write() argument
134 ret = LSAPI_Write( str, str_length ); in sapi_lsapi_ub_write()
142 ret = write( 1, str, remain ); in sapi_lsapi_ub_write()
147 str += ret; in sapi_lsapi_ub_write()

Completed in 43 milliseconds

12345678910>>...31