Searched defs:opt (Results 1 - 20 of 20) 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/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/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_TRUNK/
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_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c8051 ** is set. Thus NDEBUG becomes an opt-in rather than an opt-out
13619 #define CTIMEOPT_VAL_(opt) #opt
13620 #define CTIMEOPT_VAL(opt) CTIMEOPT_VAL_(opt)
151528 const int32_t opt = U_FOLD_CASE_DEFAULT; local
[all...]
/PHP_TRUNK/ext/bz2/
H A Dbz2.c619 static void php_bz2_error(INTERNAL_FUNCTION_PARAMETERS, int opt) argument
643 switch (opt) {
/PHP_TRUNK/ext/filter/
H A Dfilter.c738 zval *option, *opt, *def; local
746 (opt = zend_hash_str_find(HASH_OF(filter_args), "options", sizeof("options") - 1)) != NULL &&
747 Z_TYPE_P(opt) == IS_ARRAY &&
748 (def = zend_hash_str_find(HASH_OF(opt), "default", sizeof("default") - 1)) != NULL) {
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c3445 int opt, i; local
3465 opt = 0;
3470 opt |= 0x1;
3473 opt |= 0x10;
3476 opt |= 0x2;
3479 opt |= 0x20;
3482 opt |= 0x4;
3485 opt |= 0x40;
3488 opt |= 0x8;
3491 opt |
[all...]
H A Dphp_mbregex.c1434 OnigOptionType opt; local
1445 opt = 0;
1447 _php_mb_regex_init_options(string, string_len, &opt, &syntax, NULL);
1448 _php_mb_regex_set_options(opt, syntax, NULL, NULL);
1450 opt = MBREX(regex_default_options);
1453 _php_mb_regex_get_option_string(buf, sizeof(buf), opt, syntax);
/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/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/pgsql/
H A Dpgsql.c5728 if (!(opt & PGSQL_CONV_IGNORE_DEFAULT) && Z_TYPE_P(has_default) == IS_TRUE) { \
5733 else if (!(opt & PGSQL_CONV_IGNORE_NOT_NULL) && Z_TYPE_P(not_null) == IS_TRUE) { \
5742 PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, const zval *values, zval *result, zend_ulong opt) argument
5753 assert(!(opt & ~PGSQL_CONV_OPTS));
5976 if (opt & PGSQL_CONV_FORCE_NULL) {
6416 static int do_exec(smart_str *querystr, int expect, PGconn *pg_link, zend_ulong opt) /* {{{ */ argument
6418 if (opt & PGSQL_DML_ASYNC) {
6475 PHP_PGSQL_API int php_pgsql_insert(PGconn *pg_link, const char *table, zval *var_array, zend_ulong opt, zend_string **sql) argument
6499 if (!(opt & (PGSQL_DML_NO_CONV|PGSQL_DML_ESCAPE))) {
6501 if (php_pgsql_convert(pg_link, table, var_array, &converted, (opt
6675 build_assignment_string(PGconn *pg_link, smart_str *querystr, HashTable *ht, int where_cond, const char *pad, int pad_len, zend_ulong opt) argument
6740 php_pgsql_update(PGconn *pg_link, const char *table, zval *var_array, zval *ids_array, zend_ulong opt, zend_string **sql) argument
6844 php_pgsql_delete(PGconn *pg_link, const char *table, zval *ids_array, zend_ulong opt, zend_string **sql) argument
6970 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/sybase_ct/
H A Dphp_sybase_ct.c524 long opt; local
560 if (cfg_get_long("sybct.timeout", &opt)==SUCCESS) {
561 CS_INT cs_timeout = opt;
/PHP_TRUNK/ext/xml/
H A Dxml.c1552 zend_long opt; local
1554 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rlz", &pind, &opt, &val) == FAILURE) {
1560 switch (opt) {
1599 zend_long opt; local
1601 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rl", &pind, &opt) == FAILURE) {
1606 switch (opt) {
/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;
1279 static void php_zip_entry_get_info(INTERNAL_FUNCTION_PARAMETERS, int opt) /* {{{ */ argument
1294 switch (opt) {
/PHP_TRUNK/sapi/continuity/
H A Dcapi.c457 int phpFinit(lstTset * opt) argument
/PHP_TRUNK/ext/standard/
H A Dstring.c1533 zend_long opt = PHP_PATHINFO_ALL; local
1536 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|l", &path, &path_len, &opt) == FAILURE) {
1540 have_basename = ((opt & PHP_PATHINFO_BASENAME) == PHP_PATHINFO_BASENAME);
1544 if ((opt & PHP_PATHINFO_DIRNAME) == PHP_PATHINFO_DIRNAME) {
1558 if ((opt & PHP_PATHINFO_EXTENSION) == PHP_PATHINFO_EXTENSION) {
1574 if ((opt & PHP_PATHINFO_FILENAME) == PHP_PATHINFO_FILENAME) {
1593 if (opt == PHP_PATHINFO_ALL) {
H A Dbasic_functions.c4219 char opt[2] = { '\0' }; local
4335 opt[0] = o;
4336 optname = opt;
4629 char *message, *opt = NULL, *headers = NULL; local
4634 if (zend_parse_parameters(argc, "s|lps", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4642 if (_php_error_log_ex(opt_err, message, message_len, opt, headers) == FAILURE) {
4651 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers) /* {{{ */ argument
4653 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers);
4657 PHPAPI int _php_error_log_ex(int opt_err, char *message, size_t message_len, char *opt, char *headers) /* {{{ */ argument
4664 if (!php_mail(opt, "PH
[all...]
/PHP_TRUNK/ext/tidy/
H A Dtidy.c498 TidyOption opt = tidyGetOptionByName(doc, optname); local
503 if (!opt) {
508 if (tidyOptIsReadOnly(opt)) {
513 switch(tidyOptGetType(opt)) {
519 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) {
535 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
545 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
923 static void *php_tidy_get_opt_val(PHPTidyDoc *ptdoc, TidyOption opt, TidyOptionType *type) argument
925 *type = tidyOptGetType(opt);
929 char *val = (char *) tidyOptGetValue(ptdoc->doc, tidyOptGetId(opt));
1346 TidyOption opt; local
1395 TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); local
1508 TidyOption opt; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c1004 int php_optind, opt, show_banner = 1; local
1060 opt = 0;
1067 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1068 switch (opt) {

Completed in 201 milliseconds