Home
last modified time | relevance | path

Searched refs:str (Results 226 – 250 of 805) sorted by relevance

12345678910>>...33

/php-src/ext/zlib/tests/
H A Dzlib_wrapper_fflush_basic.phpt10 $str = "Here is the string to be written.";
13 gzwrite( $h, $str);
14 gzwrite( $h, $str);
/php-src/ext/fileinfo/libmagic/
H A Dreadcdf.c142 const char *str = NULL; in cdf_file_property_info() local
211 str = cdf_app_to_mime(vbuf, app2mime); in cdf_file_property_info()
246 if (str == NULL) in cdf_file_property_info()
298 const char *str; in cdf_file_summary_info() local
330 if (str) { in cdf_file_summary_info()
382 const char *str = NULL; in cdf_check_summary_info() local
400 str = cdf_app_to_mime(name, in cdf_check_summary_info()
404 if (str != NULL) { in cdf_check_summary_info()
405 if (file_printf(ms, "%s", str) == -1) in cdf_check_summary_info()
410 if (str == NULL) in cdf_check_summary_info()
[all …]
/php-src/main/
H A Dphp_odbc_utils.h19 PHPAPI bool php_odbc_connstr_is_quoted(const char *str);
20 PHPAPI bool php_odbc_connstr_should_quote(const char *str);
H A Dspprintf.c122 #define INS_STRING(xbuf, str, len, is_char) do { \ argument
150 #define STR_TO_DEC(str, num) do { \ argument
151 num = NUM(*str++); \
152 while (isdigit((int)*str)) { \
154 num += NUM(*str++); \
156 while (isdigit((int)*str++)); \
367 s_len = ZSTR_LEN(str); in xbuf_format_converter()
368 s = ZSTR_VAL(str); in xbuf_format_converter()
375 zend_string *str = va_arg(ap, zend_string*); in xbuf_format_converter() local
376 s_len = ZSTR_LEN(str); in xbuf_format_converter()
[all …]
/php-src/ext/standard/tests/strings/
H A Dbug78346.phpt5 $str = '<?= \'<?= 1 ?>\' ?>2';
6 var_dump(strip_tags($str));
H A Dstr_split_variation3.phpt2 Test str_split() function : usage variations - different double quoted strings for 'str' argument
6 * passing different double quoted strings as 'str' argument to str_split()
10 echo "*** Testing str_split() : double quoted strings for 'str' ***\n";
15 // different values for 'str'
32 //loop through each element of $values for 'str' argument
40 *** Testing str_split() : double quoted strings for 'str' ***
H A Dchunk_split_basic.phpt14 $str = 'Testing';
20 var_dump( chunk_split($str, $chunklen, $ending) );
25 var_dump( chunk_split($str, $chunklen) );
30 var_dump( chunk_split($str) );
H A Dchunk_split_variation6.phpt2 Test chunk_split() function : usage variations - single quoted strings for 'str' argument
6 * passing different single quoted strings as 'str' argument to the function
10 echo "*** Testing chunk_split() : with different single quoted 'str' ***\n";
16 //different single quoted string for 'str'
34 //Loop through each element of values for 'str'
43 *** Testing chunk_split() : with different single quoted 'str' ***
H A Dchunk_split_variation7.phpt2 Test chunk_split() function : usage variations - different double quoted values for 'str' argument
6 * Passing different double quoted strings for 'str' argument to chunk_split()
10 echo "*** Testing chunk_split() : with different double quoted values for 'str' argument ***\n";
16 // different values for 'str'
32 // loop through each element of the array for 'str'
41 *** Testing chunk_split() : with different double quoted values for 'str' argument ***
H A Dexplode_variation5.phpt7 $str = 'one||two||three||four';
10 var_dump(explode('||', $str, 2));
13 var_dump(explode('||', $str, -1));
/php-src/Zend/tests/
H A Dbug81216.phpt5 $str = "foo";
6 null?->{$str . "bar"};
H A Dbug60350.phpt5 $str = "\e";
6 if (ord($str) == 27) {
/php-src/ext/pdo_sqlite/
H A Dsqlite_statement.c239 const char *str; in pdo_sqlite_stmt_describe() local
247 str = sqlite3_column_name(S->stmt, colno); in pdo_sqlite_stmt_describe()
248 stmt->columns[colno].name = zend_string_init(str, strlen(str), 0); in pdo_sqlite_stmt_describe()
305 const char *str; in pdo_sqlite_stmt_col_meta() local
346 str = sqlite3_column_decltype(S->stmt, colno); in pdo_sqlite_stmt_col_meta()
347 if (str) { in pdo_sqlite_stmt_col_meta()
348 add_assoc_string(return_value, "sqlite:decl_type", (char *)str); in pdo_sqlite_stmt_col_meta()
352 str = sqlite3_column_table_name(S->stmt, colno); in pdo_sqlite_stmt_col_meta()
353 if (str) { in pdo_sqlite_stmt_col_meta()
354 add_assoc_string(return_value, "table", (char *)str); in pdo_sqlite_stmt_col_meta()
/php-src/ext/intl/tests/
H A Dtransliterator_transliterate_variant1.phpt9 $str = " o";
10 echo transliterator_transliterate("[\p{White_Space}] hex", $str), "\n";
12 echo transliterator_transliterate("\x8F", $str), "\n";
19 echo transliterator_transliterate(new A(), $str), "\n";
/php-src/ext/pgsql/tests/
H A D14pg_update_9.phpt18 pg_query($db, "CREATE TABLE {$table_name} (num int, str text, bin bytea)");
24 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
42 UPDATE "table_14pg_update_9" SET "num"=1234,"str"=E'ABC',"bin"=E'\\x58595a' WHERE "num"=1234;
43 UPDATE "table_14pg_update_9" SET "num"='1234',"str"='ABC',"bin"='XYZ' WHERE "num"='1234';
H A D17result.phpt15 pg_query($db, "CREATE TABLE {$table_name} (num int, str text, bin bytea)");
45 ["str"]=>
57 ["str"]=>
75 ["str"]=>
H A D14pg_update.phpt17 $fields = array('num'=>'1234', 'str'=>'ABC', 'bin'=>'XYZ');
27 UPDATE "php_pgsql_test" SET "num"=1234,"str"=E'ABC',"bin"=E'XYZ' WHERE "num"=1234;
28 UPDATE "php_pgsql_test" SET "num='1234',"str='ABC',"bin='XYZ' WHERE "num='1234';
/php-src/ext/pdo_firebird/tests/
H A Derror_handle.phpt21 $dbh->query("INSERT INTO {$table} VALUES ('str')");
26 $stmt = $dbh->prepare("INSERT INTO {$table} VALUES ('str')");
40 …id character value for cast specification: -413 conversion error from string "str" in %s on line %d
43 …id character value for cast specification: -413 conversion error from string "str" in %s on line %d
/php-src/sapi/phpdbg/
H A Dphpdbg_set.c52 phpdbg_set_prompt(param->str); in PHPDBG_SET()
144 const phpdbg_color_t *color = phpdbg_get_color(param->next->str, param->next->len); in PHPDBG_SET()
147 phpdbg_error("Failed to find the requested color (%s)", param->next->str); in PHPDBG_SET()
151 switch (phpdbg_get_element(param->str, param->len)) { in PHPDBG_SET()
172 phpdbg_error("Failed to find the requested element (%s)", param->str); in PHPDBG_SET()
224 if (param->len == sizeof("opcode") - 1 && !memcmp(param->str, "opcode", sizeof("opcode"))) { in PHPDBG_SET()
226 } else if (param->len == sizeof("line") - 1 && !memcmp(param->str, "line", sizeof("line"))) { in PHPDBG_SET()
/php-src/ext/gd/libgd/
H A Dgdkanji.c108 c = str[i++]; in DetectKanjiCode()
111 c = str[i++]; in DetectKanjiCode()
119 c = str[i++]; in DetectKanjiCode()
130 c = str[i++]; in DetectKanjiCode()
138 c = str[i++]; in DetectKanjiCode()
155 c = str[i++]; in DetectKanjiCode()
165 c = str[i++]; in DetectKanjiCode()
599 unsigned char *str;
611 str = output;
612 while (*str != '\0')
[all …]
/php-src/Zend/asm/
H A Dmake_arm64_aapcs_pe_armasm.asm75 str x3, [x0, #0xa0]
80 str xzr, [x0, #0xb8]
84 str x2, [x0, #0x40]
87 str x2, [x0, #0xc0]
92 str x1, [x0, #0x98]
H A Dmake_arm_aapcs_macho_gas.S52 str a3, [a1, #108]
57 str a3, [a1, #68]
63 str a2, [a1, #104]
/php-src/ext/standard/
H A Dexec.h23 PHPAPI zend_string *php_escape_shell_cmd(const char *str);
24 PHPAPI zend_string *php_escape_shell_arg(const char *str);
/php-src/ext/simplexml/tests/
H A D037.phpt8 $str = '<xml></xml>';
9 $sxe = new SimpleXmlElement($str);
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dforeign_content.c131 lexbor_str_t str; in lxb_html_tree_insertion_mode_foreign_content_text() local
136 tree->status = lxb_html_token_make_text_replace_null(token, &str, in lxb_html_tree_insertion_mode_foreign_content_text()
140 tree->status = lxb_html_token_make_text(token, &str, in lxb_html_tree_insertion_mode_foreign_content_text()
149 if (str.length == 0) { in lxb_html_tree_insertion_mode_foreign_content_text()
150 lexbor_str_destroy(&str, tree->document->dom_document.text, false); in lxb_html_tree_insertion_mode_foreign_content_text()
156 const lxb_char_t *pos = str.data; in lxb_html_tree_insertion_mode_foreign_content_text()
157 const lxb_char_t *end = str.data + str.length; in lxb_html_tree_insertion_mode_foreign_content_text()
194 tree->status = lxb_html_tree_insert_character_for_data(tree, &str, NULL); in lxb_html_tree_insertion_mode_foreign_content_text()

Completed in 38 milliseconds

12345678910>>...33