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

/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/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/
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/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/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_TRUNK/sapi/continuity/
H A Dcapi.c457 int phpFinit(lstTset * opt) argument
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c927 int php_optind, opt, show_banner = 1; local
1020 opt = 0;
1025 while ((opt = php_getopt(argc, argv, OPTIONS, &php_optarg, &php_optind, 0, 2)) != -1) {
1026 switch (opt) {
/PHP_TRUNK/ext/bz2/
H A Dbz2.c598 static void php_bz2_error(INTERNAL_FUNCTION_PARAMETERS, int opt) argument
622 switch (opt) {
/PHP_TRUNK/ext/filter/
H A Dfilter.c730 zval *option, *opt, *def; local
738 (opt = zend_hash_str_find(HASH_OF(filter_args), "options", sizeof("options") - 1)) != NULL &&
739 Z_TYPE_P(opt) == IS_ARRAY &&
740 (def = zend_hash_str_find(HASH_OF(opt), "default", sizeof("default") - 1)) != NULL) {
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c3436 int opt, i; local
3456 opt = 0;
3461 opt |= 0x1;
3464 opt |= 0x10;
3467 opt |= 0x2;
3470 opt |= 0x20;
3473 opt |= 0x4;
3476 opt |= 0x40;
3479 opt |= 0x8;
3482 opt |
[all...]
H A Dphp_mbregex.c1435 OnigOptionType opt; local
1446 opt = 0;
1448 _php_mb_regex_init_options(string, string_len, &opt, &syntax, NULL);
1449 _php_mb_regex_set_options(opt, syntax, NULL, NULL TSRMLS_CC);
1451 opt = MBREX(regex_default_options);
1454 _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 TSRMLS_CC);
842 net_stream->ops->set_option(net_stream, opt, 1, NULL TSRMLS_CC);
/PHP_TRUNK/ext/pgsql/
H A Dpgsql.c5697 if (!(opt & PGSQL_CONV_IGNORE_DEFAULT) && Z_TYPE_P(has_default) == IS_TRUE) { \
5702 else if (!(opt & PGSQL_CONV_IGNORE_NOT_NULL) && Z_TYPE_P(not_null) == IS_TRUE) { \
5711 PHP_PGSQL_API int php_pgsql_convert(PGconn *pg_link, const char *table_name, const zval *values, zval *result, ulong opt TSRMLS_DC)
5722 assert(!(opt & ~PGSQL_CONV_OPTS));
5945 if (opt & PGSQL_CONV_FORCE_NULL) {
6385 static int do_exec(smart_str *querystr, int expect, PGconn *pg_link, ulong opt TSRMLS_DC) /* {{{ */
6387 if (opt & PGSQL_DML_ASYNC) {
6444 PHP_PGSQL_API int php_pgsql_insert(PGconn *pg_link, const char *table, zval *var_array, ulong opt, zend_string **sql TSRMLS_DC) argument
6468 if (!(opt & (PGSQL_DML_NO_CONV|PGSQL_DML_ESCAPE))) {
6470 if (php_pgsql_convert(pg_link, table, var_array, &converted, (opt
6709 php_pgsql_update(PGconn *pg_link, const char *table, zval *var_array, zval *ids_array, ulong opt, zend_string **sql TSRMLS_DC) argument
6813 php_pgsql_delete(PGconn *pg_link, const char *table, zval *ids_array, ulong opt, zend_string **sql TSRMLS_DC) argument
6939 php_pgsql_select(PGconn *pg_link, const char *table, zval *ids_array, zval *ret_array, ulong opt, zend_string **sql TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Dbasic_functions.c4217 char opt[2] = { '\0' }; local
4332 opt[0] = o;
4333 optname = opt;
4626 char *message, *opt = NULL, *headers = NULL; local
4631 if (zend_parse_parameters(argc TSRMLS_CC, "s|lps", &message, &message_len, &erropt, &opt, &opt_len, &headers, &headers_len) == FAILURE) {
4639 if (_php_error_log_ex(opt_err, message, message_len, opt, headers TSRMLS_CC) == FAILURE) {
4648 PHPAPI int _php_error_log(int opt_err, char *message, char *opt, char *headers TSRMLS_DC) /* {{{ */ argument
4650 return _php_error_log_ex(opt_err, message, (opt_err == 3) ? strlen(message) : 0, opt, headers TSRMLS_CC);
4654 PHPAPI int _php_error_log_ex(int opt_err, char *message, int message_len, char *opt, char *headers TSRMLS_DC) /* {{{ */ argument
4661 if (!php_mail(opt, "PH
[all...]
H A Dstring.c1536 long opt = PHP_PATHINFO_ALL; local
1539 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &path, &path_len, &opt) == FAILURE) {
1543 have_basename = ((opt & PHP_PATHINFO_BASENAME) == PHP_PATHINFO_BASENAME);
1547 if ((opt & PHP_PATHINFO_DIRNAME) == PHP_PATHINFO_DIRNAME) {
1561 if ((opt & PHP_PATHINFO_EXTENSION) == PHP_PATHINFO_EXTENSION) {
1577 if ((opt & PHP_PATHINFO_FILENAME) == PHP_PATHINFO_FILENAME) {
1596 if (opt == PHP_PATHINFO_ALL) {
/PHP_TRUNK/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_TRUNK/ext/tidy/
H A Dtidy.c496 TidyOption opt = tidyGetOptionByName(doc, optname); local
499 if (!opt) {
504 if (tidyOptIsReadOnly(opt)) {
509 switch(tidyOptGetType(opt)) {
515 if (tidyOptSetValue(doc, tidyOptGetId(opt), Z_STRVAL(conv))) {
531 if (tidyOptSetInt(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
541 if (tidyOptSetBool(doc, tidyOptGetId(opt), Z_LVAL(conv))) {
919 static void *php_tidy_get_opt_val(PHPTidyDoc *ptdoc, TidyOption opt, TidyOptionType *type TSRMLS_DC) argument
921 *type = tidyOptGetType(opt);
925 char *val = (char *) tidyOptGetValue(ptdoc->doc, tidyOptGetId(opt));
1338 TidyOption opt; local
1387 TidyOption opt = tidyGetNextOption(obj->ptdoc->doc, &itOpt); local
1500 TidyOption opt; local
[all...]
/PHP_TRUNK/ext/zip/
H A Dphp_zip.c318 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/ext/pdo/
H A Dpdo_dbh.c484 zval *options = NULL, *opt, *item, ctor_args; local
497 if (ZEND_NUM_ARGS() > 1 && (opt = zend_hash_index_find(Z_ARRVAL_P(options), PDO_ATTR_STATEMENT_CLASS)) != NULL) {
498 if (Z_TYPE_P(opt) != IS_ARRAY || (item = zend_hash_index_find(Z_ARRVAL_P(opt), 0)) == NULL
522 if ((item = zend_hash_index_find(Z_ARRVAL_P(opt), 1)) != NULL) {
/PHP_TRUNK/ext/xml/
H A Dxml.c1547 long opt; local
1549 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &pind, &opt, &val) == FAILURE) {
1555 switch (opt) {
1594 long opt; local
1596 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rl", &pind, &opt) == FAILURE) {
1601 switch (opt) {

Completed in 215 milliseconds