Searched defs:opt (Results 1 - 17 of 17) sorted by relevance

/PHP_TRUNK/scripts/dev/generate-phpt/tests/
H A DgtOptionalSectionsTest.php13 $opt = new gtOptionalSections(); variable
14 $opt->setOptions($clo);
15 $a = $opt->getOptions();
27 $opt = new gtOptionalSections(); variable
28 $opt->setOptions($clo);
34 $opt = new gtOptionalSections(); variable
35 $opt->setOptions($clo);
37 $opt = new gtOptionalSections(); variable
38 $opt->setOptions($clo);
40 $this->assertEquals('standard', $opt
47 $opt = new gtOptionalSections(); variable
50 $opt = new gtOptionalSections(); variable
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c827 int opt = PHP_STREAM_OPTION_BLOCKING; local
829 int was_blocked = net_stream->ops->set_option(net_stream, opt, 0, NULL);
842 net_stream->ops->set_option(net_stream, opt, 1, NULL);
/PHP_TRUNK/
H A Dserver-tests.php642 $opt = $argv[$i++][1]; variable
647 switch($opt) {
664 if ($this->xargs[$opt][1] && isset($value))
665 $this->conf[$this->xargs[$opt][0]] = $value;
666 else if (!$this->xargs[$opt][1])
667 $this->conf[$this->xargs[$opt][0]] = isset($value)?$value:1;
669 $this->error("Invalid argument setting for argument $opt, should be [{$this->xargs[$opt][1]}]\n");
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c1436 OnigOptionType opt; local
1447 opt = 0;
1449 _php_mb_regex_init_options(string, string_len, &opt, &syntax, NULL);
1450 _php_mb_regex_set_options(opt, syntax, NULL, NULL);
1452 opt = MBREX(regex_default_options);
1455 _php_mb_regex_get_option_string(buf, sizeof(buf), opt, syntax);
H A Dmbstring.c3446 int opt, i; local
3466 opt = 0;
3471 opt |= 0x1;
3474 opt |= 0x10;
3477 opt |= 0x2;
3480 opt |= 0x20;
3483 opt |= 0x4;
3486 opt |= 0x40;
3489 opt |= 0x8;
3492 opt |
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_dbh.c482 zval *options = NULL, *opt, *item, ctor_args; local
495 if (ZEND_NUM_ARGS() > 1 && (opt = zend_hash_index_find(Z_ARRVAL_P(options), PDO_ATTR_STATEMENT_CLASS)) != NULL) {
496 if (Z_TYPE_P(opt) != IS_ARRAY || (item = zend_hash_index_find(Z_ARRVAL_P(opt), 0)) == NULL
520 if ((item = zend_hash_index_find(Z_ARRVAL_P(opt), 1)) != NULL) {
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregcomp.c4439 set_bound_node_opt_info(NodeOptInfo* opt, MinMaxLen* mmd) argument
4441 copy_mml(&(opt->exb.mmd), mmd);
4442 copy_mml(&(opt->expr.mmd), mmd);
4443 copy_mml(&(opt->map.mmd), mmd);
4447 clear_node_opt_info(NodeOptInfo* opt) argument
4449 clear_mml(&opt->len);
4450 clear_opt_anc_info(&opt->anc);
4451 clear_opt_exact_info(&opt->exb);
4452 clear_opt_exact_info(&opt->exm);
4453 clear_opt_exact_info(&opt
4538 optimize_node_left(Node* node, NodeOptInfo* opt, OptEnv* env) argument
4961 NodeOptInfo opt; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dstring.c1656 zend_long opt = PHP_PATHINFO_ALL; local
1659 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &path, &path_len, &opt) == FAILURE) {
1663 have_basename = ((opt & PHP_PATHINFO_BASENAME) == PHP_PATHINFO_BASENAME);
1667 if ((opt & PHP_PATHINFO_DIRNAME) == PHP_PATHINFO_DIRNAME) {
1681 if ((opt & PHP_PATHINFO_EXTENSION) == PHP_PATHINFO_EXTENSION) {
1697 if ((opt & PHP_PATHINFO_FILENAME) == PHP_PATHINFO_FILENAME) {
1716 if (opt == PHP_PATHINFO_ALL) {
H A Dbasic_functions.c4226 char opt[2] = { '\0' }; local
4342 opt[0] = o;
4343 optname = opt;
4623 char *message, *opt = NULL, *headers = NULL; local
4628 if (zend_parse_parameters(argc, "s|lps", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4636 if (_php_error_log_ex(opt_err, message, message_len, opt, headers) == FAILURE) {
4645 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers) /* {{{ */ argument
4647 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers);
4651 PHPAPI int _php_error_log_ex(int opt_err, char *message, size_t message_len, char *opt, char *headers) /* {{{ */ argument
4658 if (!php_mail(opt, "PH
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c318 zend_long opt; local
323 opt = Z_LVAL(tmp);
325 opt = Z_LVAL_P(option);
327 *remove_all_path = opt;
1292 static void php_zip_entry_get_info(INTERNAL_FUNCTION_PARAMETERS, int opt) /* {{{ */ argument
1309 switch (opt) {
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c1020 int php_optind, opt, show_banner = 1; local
1076 opt = 0;
1083 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1084 switch (opt) {
/PHP_TRUNK/ext/bz2/
H A Dbz2.c611 static void php_bz2_error(INTERNAL_FUNCTION_PARAMETERS, int opt) argument
635 switch (opt) {
/PHP_TRUNK/ext/filter/
H A Dfilter.c732 zval *option, *opt, *def; local
740 (opt = zend_hash_str_find(HASH_OF(filter_args), "options", sizeof("options") - 1)) != NULL &&
741 Z_TYPE_P(opt) == IS_ARRAY &&
742 (def = zend_hash_str_find(HASH_OF(opt), "default", sizeof("default") - 1)) != NULL) {
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c5786 if (!(opt & PGSQL_CONV_IGNORE_DEFAULT) && Z_TYPE_P(has_default) == IS_TRUE) { \
5791 else if (!(opt & PGSQL_CONV_IGNORE_NOT_NULL) && Z_TYPE_P(not_null) == IS_TRUE) { \
5800 PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, const zval *values, zval *result, zend_ulong opt) argument
5811 assert(!(opt & ~PGSQL_CONV_OPTS));
6039 if (opt & PGSQL_CONV_FORCE_NULL) {
6480 static int do_exec(smart_str *querystr, int expect, PGconn *pg_link, zend_ulong opt) /* {{{ */ argument
6482 if (opt & PGSQL_DML_ASYNC) {
6542 PHP_PGSQL_API int php_pgsql_insert(PGconn *pg_link, const char *table, zval *var_array, zend_ulong opt, zend_string **sql) argument
6566 if (!(opt & (PGSQL_DML_NO_CONV|PGSQL_DML_ESCAPE))) {
6568 if (php_pgsql_convert(pg_link, table, var_array, &converted, (opt
6743 build_assignment_string(PGconn *pg_link, smart_str *querystr, HashTable *ht, int where_cond, const char *pad, int pad_len, zend_ulong opt) argument
6808 php_pgsql_update(PGconn *pg_link, const char *table, zval *var_array, zval *ids_array, zend_ulong opt, zend_string **sql) argument
6914 php_pgsql_delete(PGconn *pg_link, const char *table, zval *ids_array, zend_ulong opt, zend_string **sql) argument
7042 php_pgsql_select(PGconn *pg_link, const char *table, zval *ids_array, zval *ret_array, zend_ulong opt, zend_string **sql) argument
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c496 TidyOption opt = tidyGetOptionByName(doc, optname); local
501 if (!opt) {
506 if (tidyOptIsReadOnly(opt)) {
511 switch(tidyOptGetType(opt)) {
517 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) {
533 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
543 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
921 static void *php_tidy_get_opt_val(PHPTidyDoc *ptdoc, TidyOption opt, TidyOptionType *type) argument
923 *type = tidyOptGetType(opt);
927 char *val = (char *) tidyOptGetValue(ptdoc->doc, tidyOptGetId(opt));
1344 TidyOption opt; local
1393 TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); local
1506 TidyOption opt; local
[all...]
/PHP_TRUNK/ext/xml/
H A Dxml.c1589 zend_long opt; local
1591 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlz", &pind, &opt, &val) == FAILURE) {
1599 switch (opt) {
1638 zend_long opt; local
1640 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &pind, &opt) == FAILURE) {
1648 switch (opt) {
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c8269 ** is set. Thus NDEBUG becomes an opt-in rather than an opt-out
13881 #define CTIMEOPT_VAL_(opt) #opt
13882 #define CTIMEOPT_VAL(opt) CTIMEOPT_VAL_(opt)
153211 const int32_t opt = U_FOLD_CASE_DEFAULT; local
[all...]

Completed in 199 milliseconds