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

/PHP_5_6/ext/ereg/regex/
H A Dmain.c162 if (opt('&', f[1])) /* try with either type of RE */
231 if (err != 0 && (!opt('C', f1) || err != efind(f2))) {
238 } else if (err == 0 && opt('C', f1)) {
368 - opt - is a particular option in a regression string?
369 == int opt(int c, char *s);
372 opt(c, s) function
/PHP_5_6/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_5_6/ext/sybase_ct/
H A Dphp_sybase_ct.c526 long opt; local
562 if (cfg_get_long("sybct.timeout", &opt)==SUCCESS) {
563 CS_INT cs_timeout = opt;
/PHP_5_6/ext/tidy/
H A Dtidy.c495 TidyOption opt = tidyGetOptionByName(doc, optname); local
498 if (!opt) {
503 if (tidyOptIsReadOnly(opt)) {
508 switch(tidyOptGetType(opt)) {
514 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) {
530 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
540 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
938 static void *php_tidy_get_opt_val(PHPTidyDoc *ptdoc, TidyOption opt, TidyOptionType *type TSRMLS_DC) argument
940 *type = tidyOptGetType(opt);
944 char *val = (char *) tidyOptGetValue(ptdoc->doc, tidyOptGetId(opt));
1373 TidyOption opt; local
1422 TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); local
1533 TidyOption opt; local
[all...]
/PHP_5_6/ext/xml/
H A Dxml.c1620 long opt; local
1622 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlZ", &pind, &opt, &val) == FAILURE) {
1627 switch (opt) {
1666 long opt; local
1668 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &pind, &opt) == FAILURE) {
1673 switch (opt) {
/PHP_5_6/sapi/continuity/
H A Dcapi.c457 int phpFinit(lstTset * opt) argument
/PHP_5_6/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_5_6/ext/mbstring/
H A Dmbstring.c3411 int opt, i; local
3431 opt = 0;
3436 opt |= 0x1;
3439 opt |= 0x10;
3442 opt |= 0x2;
3445 opt |= 0x20;
3448 opt |= 0x4;
3451 opt |= 0x40;
3454 opt |= 0x8;
3457 opt |
[all...]
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 TSRMLS_CC);
1452 opt = MBREX(regex_default_options);
1455 _php_mb_regex_get_option_string(buf, sizeof(buf), opt, syntax);
/PHP_5_6/ext/bz2/
H A Dbz2.c593 static void php_bz2_error(INTERNAL_FUNCTION_PARAMETERS, int opt) argument
617 switch (opt) {
/PHP_5_6/ext/standard/
H A Dstring.c1547 long opt = PHP_PATHINFO_ALL; local
1549 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &path, &path_len, &opt) == FAILURE) {
1553 have_basename = ((opt & PHP_PATHINFO_BASENAME) == PHP_PATHINFO_BASENAME);
1558 if ((opt & PHP_PATHINFO_DIRNAME) == PHP_PATHINFO_DIRNAME) {
1573 if ((opt & PHP_PATHINFO_EXTENSION) == PHP_PATHINFO_EXTENSION) {
1589 if ((opt & PHP_PATHINFO_FILENAME) == PHP_PATHINFO_FILENAME) {
1608 if (opt == PHP_PATHINFO_ALL) {
H A Dbasic_functions.c4214 char opt[2] = { '\0' }; local
4354 opt[0] = o;
4355 optname = opt;
4650 char *message, *opt = NULL, *headers = NULL; local
4655 if (zend_parse_parameters(argc TSRMLS_CC, "s|lps", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4663 if (_php_error_log_ex(opt_err, message, message_len, opt, headers TSRMLS_CC) == FAILURE) {
4672 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC) /* {{{ */ argument
4674 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers TSRMLS_CC);
4678 PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC) /* {{{ */ argument
4685 if (!php_mail(opt, "PH
[all...]
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_net.c819 int opt = PHP_STREAM_OPTION_BLOCKING; local
821 int was_blocked = net_stream->ops->set_option(net_stream, opt, 0, NULL TSRMLS_CC);
834 net_stream->ops->set_option(net_stream, opt, 1, NULL TSRMLS_CC);
/PHP_5_6/ext/pdo/
H A Dpdo_dbh.c505 zval *options = NULL, **opt, **item, *ctor_args; local
516 if (ZEND_NUM_ARGS() > 1 && SUCCESS == zend_hash_index_find(Z_ARRVAL_P(options), PDO_ATTR_STATEMENT_CLASS, (void**)&opt)) {
517 if (Z_TYPE_PP(opt) != IS_ARRAY || zend_hash_index_find(Z_ARRVAL_PP(opt), 0, (void**)&item) == FAILURE
541 if (zend_hash_index_find(Z_ARRVAL_PP(opt), 1, (void**)&item) == SUCCESS) {
/PHP_5_6/ext/pgsql/
H A Dpgsql.c5754 if (!(opt & PGSQL_CONV_IGNORE_DEFAULT) && Z_BVAL_PP(has_default)) { \
5760 else if (!(opt & PGSQL_CONV_IGNORE_NOT_NULL) && Z_BVAL_PP(not_null)) { \
5769 PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, const zval *values, zval *result, ulong opt TSRMLS_DC)
5782 assert(!(opt & ~PGSQL_CONV_OPTS));
6009 if (opt & PGSQL_CONV_FORCE_NULL) {
6456 static int do_exec(smart_str *querystr, int expect, PGconn *pg_link, ulong opt TSRMLS_DC)
6458 if (opt & PGSQL_DML_ASYNC) {
6513 PHP_PGSQL_API int php_pgsql_insert(PGconn *pg_link, const char *table, zval *var_array, ulong opt, char **sql TSRMLS_DC) argument
6537 if (!(opt & (PGSQL_DML_NO_CONV|PGSQL_DML_ESCAPE))) {
6540 if (php_pgsql_convert(pg_link, table, var_array, converted, (opt
6788 php_pgsql_update(PGconn *pg_link, const char *table, zval *var_array, zval *ids_array, ulong opt, char **sql TSRMLS_DC) argument
6897 php_pgsql_delete(PGconn *pg_link, const char *table, zval *ids_array, ulong opt, char **sql TSRMLS_DC) argument
7031 php_pgsql_select(PGconn *pg_link, const char *table, zval *ids_array, zval *ret_array, ulong opt, char **sql TSRMLS_DC) argument
[all...]
/PHP_5_6/ext/sqlite3/libsqlite/
H A Dsqlite3.c7882 ** is set. Thus NDEBUG becomes an opt-in rather than an opt-out
13274 #define CTIMEOPT_VAL_(opt) #opt
13275 #define CTIMEOPT_VAL(opt) CTIMEOPT_VAL_(opt)
146228 const int32_t opt = U_FOLD_CASE_DEFAULT; local
[all...]
/PHP_5_6/ext/zip/
H A Dphp_zip.c364 long opt; local
369 opt = Z_LVAL(tmp);
371 opt = Z_LVAL_PP(option);
373 *remove_all_path = opt;
1421 static void php_zip_entry_get_info(INTERNAL_FUNCTION_PARAMETERS, int opt) /* {{{ */ argument
1436 switch (opt) {
/PHP_5_6/sapi/phpdbg/
H A Dphpdbg.c1039 int php_optind, opt, show_banner = 1; local
1094 opt = 0;
1101 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1102 switch (opt) {
/PHP_5_6/
H A Dserver-tests.php643 $opt = $argv[$i++][1]; variable
648 switch($opt) {
665 if ($this->xargs[$opt][1] && isset($value))
666 $this->conf[$this->xargs[$opt][0]] = $value;
667 else if (!$this->xargs[$opt][1])
668 $this->conf[$this->xargs[$opt][0]] = isset($value)?$value:1;
670 $this->error("Invalid argument setting for argument $opt, should be [{$this->xargs[$opt][1]}]\n");
/PHP_5_6/ext/filter/
H A Dfilter.c758 zval **option, **opt, **def; local
766 zend_hash_find(HASH_OF(*filter_args), "options", sizeof("options"), (void **)&opt) == SUCCESS &&
767 Z_TYPE_PP(opt) == IS_ARRAY &&
768 zend_hash_find(HASH_OF(*opt), "default", sizeof("default"), (void **)&def) == SUCCESS

Completed in 238 milliseconds