Searched defs:option (Results 1 - 25 of 29) sorted by relevance

12

/PHP_5_6/ext/mbstring/oniguruma/
H A Dregexec.c1250 OnigOptionType option = reg->options; local
1321 if (IS_FIND_LONGEST(option)) {
1413 if (IS_FIND_CONDITION(option)) {
1414 if (IS_FIND_NOT_EMPTY(option) && s == sstart) {
1418 if (IS_FIND_LONGEST(option) && DATA_ENSURE_CHECK1) {
2311 GET_OPTION_INC(option, p);
2319 GET_OPTION_INC(option, p);
3050 OnigOptionType option)
3081 MATCH_ARG_INIT(msa, option, region, at);
3091 && !IS_POSIX_REGION(option)
3049 onig_match(regex_t* reg, const UChar* str, const UChar* end, const UChar* at, OnigRegion* region, OnigOptionType option) argument
3350 onig_search(regex_t* reg, const UChar* str, const UChar* end, const UChar* start, const UChar* range, OnigRegion* region, OnigOptionType option) argument
[all...]
H A Dregparse.h190 OnigOptionType option; member in struct:__anon270
279 OnigOptionType option; member in struct:__anon279
/PHP_5_6/ext/intl/calendar/
H A Dcalendar_methods.cpp1089 long option; local
1093 "Ol", &object, Calendar_ce_ptr, &option) == FAILURE) {
1099 if (option != UCAL_WALLTIME_FIRST && option != UCAL_WALLTIME_LAST) {
1101 "intlcal_set_repeated_wall_time_option: invalid option", 0 TSRMLS_CC);
1107 co->ucal->setRepeatedWallTimeOption((UCalendarWallTimeOption)option);
1114 long option; local
1118 "Ol", &object, Calendar_ce_ptr, &option) == FAILURE) {
1124 if (option != UCAL_WALLTIME_FIRST && option !
[all...]
/PHP_5_6/ext/intl/idn/
H A Didn.c137 const char *domain, int domain_len, uint32_t option, int mode, zval *idna_info)
147 uts46 = uidna_openUTS46(option, &status);
205 const char *domain, int domain_len, uint32_t option, int mode)
233 converted_ret_len = uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
235 converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
266 long option = 0, local
273 &domain, &domain_len, &option, &variant, &idna_info) == FAILURE) {
316 domain, domain_len, (uint32_t)option, mode);
321 (uint32_t)option, mode, idna_info);
136 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAMETERS, const char *domain, int domain_len, uint32_t option, int mode, zval *idna_info) argument
204 php_intl_idn_to(INTERNAL_FUNCTION_PARAMETERS, const char *domain, int domain_len, uint32_t option, int mode) argument
/PHP_5_6/scripts/dev/generate-phpt/src/setup/
H A DgtCommandLineOptions.php51 $option = substr($argv[$i], 1); variable
53 throw new gtUnknownOptionException('Unrecognised command line option ' . $argv[$i]);
56 if (!in_array($option, array_merge($this->shortOptions, $this->shortOptionsWithArgs)))
58 throw new gtUnknownOptionException('Unknown option ' . $argv[$i]);
61 if (in_array($option, $this->shortOptions)) {
62 $this->options[$option] = true;
68 throw new gtMissingArgumentException('Missing argument for command line option ' . $argv[$i]);
72 $this->options[$option] = $argv[$i];
79 public function getOption($option)
81 if (!isset($this->options[$option])) {
[all...]
/PHP_5_6/ext/curl/
H A Dshare.c69 static int _php_curl_share_setopt(php_curlsh *sh, long option, zval **zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument
73 switch (option) {
77 error = curl_share_setopt(sh->share, option, Z_LVAL_PP(zvalue));
81 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid curl share configuration option");
94 /* {{{ proto bool curl_share_setopt(resource sh, int option, mixed value)
95 Set an option for a cURL transfer */
H A Dmulti.c382 static int _php_curl_multi_setopt(php_curlm *mh, long option, zval **zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument
386 switch (option) {
394 error = curl_multi_setopt(mh->multi, option, Z_LVAL_PP(zvalue));
398 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid curl multi configuration option");
411 /* {{{ proto int curl_multi_setopt(resource mh, int option, mixed value)
412 Set an option for the curl multi handle */
H A Dinterface.c168 static int php_curl_option_str(php_curl *ch, long option, const char *str, const int len, zend_bool make_copy TSRMLS_DC) argument
173 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Curl option contains invalid characters (\\0)");
184 error = curl_easy_setopt(ch->cp, option, copystr);
188 error = curl_easy_setopt(ch->cp, option, str);
304 ZEND_ARG_INFO(0, option)
319 ZEND_ARG_INFO(0, option)
353 ZEND_ARG_INFO(0, option)
413 ZEND_ARG_INFO(0, option)
2079 static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue TSRMLS_DC) /* {{{ */ argument
2083 switch (option) {
2900 ulong option; local
3006 long option = 0; local
[all...]
/PHP_5_6/ext/filter/
H A Dfilter.c594 zval **option; local
613 if (zend_hash_find(HASH_OF(*filter_args), "filter", sizeof("filter"), (void **)&option) == SUCCESS) {
614 PHP_FILTER_GET_LONG_OPT(option, filter);
617 if (zend_hash_find(HASH_OF(*filter_args), "flags", sizeof("flags"), (void **)&option) == SUCCESS) {
618 PHP_FILTER_GET_LONG_OPT(option, filter_flags);
625 if (zend_hash_find(HASH_OF(*filter_args), "options", sizeof("options"), (void **)&option) == SUCCESS) {
627 if (Z_TYPE_PP(option) == IS_ARRAY) {
628 options = *option;
631 options = *option;
758 zval **option, **op local
839 zval **option; local
[all...]
/PHP_5_6/ext/ftp/
H A Dphp_ftp.c233 ZEND_ARG_INFO(0, option)
239 ZEND_ARG_INFO(0, option)
1365 /* {{{ proto bool ftp_set_option(resource stream, int option, mixed value)
1366 Sets an FTP option */
1370 long option; local
1373 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &z_ftp, &option, &z_value) == FAILURE) {
1379 switch (option) {
1403 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown option '%ld'", option);
1410 /* {{{ proto mixed ftp_get_option(resource stream, int option)
1415 long option; local
[all...]
/PHP_5_6/ext/pspell/
H A Dpspell.c820 static void pspell_config_path(INTERNAL_FUNCTION_PARAMETERS, char *option) argument
838 pspell_config_replace(config, option, value);
/PHP_5_6/ext/standard/
H A Dfilestat.c438 int option; local
441 option = PHP_STREAM_META_GROUP;
444 option = PHP_STREAM_META_GROUP_NAME;
450 if(wrapper->wops->stream_metadata(wrapper, filename, option, value, NULL TSRMLS_CC)) {
575 int option; local
578 option = PHP_STREAM_META_OWNER;
581 option = PHP_STREAM_META_OWNER_NAME;
587 if(wrapper->wops->stream_metadata(wrapper, filename, option, value, NULL TSRMLS_CC)) {
H A Dsyslog.c128 /* {{{ proto bool openlog(string ident, int option, int facility)
138 long option, facility; local
142 &ident_len, &option, &facility) == FAILURE) {
152 openlog(BG(syslog_device), option, facility); local
H A Dbasic_functions.c2474 ZEND_ARG_INFO(0, option)
4346 /* Prepare the option character and the argument string. */
4365 /* Add this option / argument pair to the result hash. */
4565 Get the value of a PHP configuration option */
4633 2nd arg = error option
4639 1 = send via email to 3rd parameter 4th option = additional headers
4690 php_error_docref(NULL TSRMLS_CC, E_WARNING, "TCP/IP option not available!");
5290 Get a configuration option */
5315 zval *option; local
5325 MAKE_STD_ZVAL(option);
[all...]
/PHP_5_6/main/streams/
H A Duserspace.c54 static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context TSRMLS_DC);
208 function stream_set_option($option, $arg1, $arg2)
210 switch($option) {
959 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) { argument
968 switch (option) {
1082 ZVAL_LONG(zoption, option);
1091 switch(option) {
1368 static int user_wrapper_metadata(php_stream_wrapper *wrapper, const char *url, int option, argument
1379 switch(option) {
1398 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown option
[all...]
H A Dmemory.c243 static int php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) /* {{{ */ argument
248 switch(option) {
524 static int php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) /* {{{ */ argument
528 switch(option) {
536 return php_stream_set_option(ts->innerstream, option, value, ptrparam);
H A Dxp_socket.c51 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC);
268 static int php_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
274 switch(option) {
660 spprintf(&xparam->outputs.error_text, 0, "local_addr context option is not a string.");
746 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
751 switch(option) {
774 return php_sockop_set_option(stream, option, value, ptrparam TSRMLS_CC);
H A Dplain_wrapper.c575 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
588 switch(option) {
1289 static int php_plain_files_metadata(php_stream_wrapper *wrapper, const char *url, int option, void *value, php_stream_context *context TSRMLS_DC) argument
1320 switch(option) {
1337 if(option == PHP_STREAM_META_OWNER_NAME) {
1349 if(option == PHP_STREAM_META_OWNER_NAME) {
1365 php_error_docref1(NULL TSRMLS_CC, url, E_WARNING, "Unknown option %d for stream_metadata", option);
H A Dstreams.c1352 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
1357 ret = stream->ops->set_option(stream, option, value, ptrparam TSRMLS_CC);
1361 switch(option) {
/PHP_5_6/ext/zip/
H A Dphp_zip.c362 zval **option; local
363 if (zend_hash_find(HASH_OF(options), "remove_all_path", sizeof("remove_all_path"), (void **)&option) == SUCCESS) {
365 if (Z_TYPE_PP(option) != IS_LONG) {
366 zval tmp = **option;
371 opt = Z_LVAL_PP(option);
377 if (zend_hash_find(HASH_OF(options), "remove_path", sizeof("remove_path"), (void **)&option) == SUCCESS) {
378 if (Z_TYPE_PP(option) != IS_STRING) {
379 php_error_docref(NULL TSRMLS_CC, E_WARNING, "remove_path option expected to be a string");
383 if (Z_STRLEN_PP(option) < 1) {
384 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Empty string given as remove_path option");
[all...]
/PHP_5_6/ext/mysqli/
H A Dmysqli_api.c1715 static int mysqli_options_get_option_zval_type(int option) argument
1717 switch (option) {
/PHP_5_6/ext/mbstring/
H A Dphp_mbregex.c474 static size_t _php_mb_regex_get_option_string(char *str, size_t len, OnigOptionType option, OnigSyntaxType *syntax) argument
481 if ((option & ONIG_OPTION_IGNORECASE) != 0) {
489 if ((option & ONIG_OPTION_EXTEND) != 0) {
497 if ((option & (ONIG_OPTION_MULTILINE | ONIG_OPTION_SINGLELINE)) ==
505 if ((option & ONIG_OPTION_MULTILINE) != 0) {
513 if ((option & ONIG_OPTION_SINGLELINE) != 0) {
521 if ((option & ONIG_OPTION_FIND_LONGEST) != 0) {
528 if ((option & ONIG_OPTION_FIND_NOT_EMPTY) != 0) {
580 _php_mb_regex_init_options(const char *parg, int narg, OnigOptionType *option, OnigSyntaxType **syntax, int *eval) argument
645 if (option !
1140 OnigOptionType option = 0; local
1184 OnigOptionType option; local
1315 OnigOptionType option; local
[all...]
/PHP_5_6/ext/pgsql/
H A Dpgsql.c1116 /* For connection option */
5331 static int php_pgsql_fd_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
5334 switch (option) {
6426 ulong option = 0; local
6431 "rsa|l", &pgsql_link, &table_name, &table_name_len, &values, &option) == FAILURE) {
6434 if (option & ~PGSQL_CONV_OPTS) {
6435 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid option is specified");
6449 if (php_pgsql_convert(pg_link, table_name, values, return_value, option TSRMLS_CC) == FAILURE) {
6645 ulong option = PGSQL_DML_EXEC, return_sql; local
6653 &pgsql_link, &table, &table_len, &values, &option)
6867 ulong option = PGSQL_DML_EXEC; local
6959 ulong option = PGSQL_DML_EXEC; local
7097 ulong option = PGSQL_DML_EXEC; local
[all...]
/PHP_5_6/ext/ldap/
H A Dldap.c1943 /* {{{ proto bool ldap_get_option(resource link, int option, mixed retval)
1949 long option; local
1951 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &link, &option, &retval) != SUCCESS) {
1957 switch (option) {
1971 if (ldap_get_option(ld->link, option, &val)) {
2024 if (ldap_get_option(ld->link, option, &val) || val == NULL || *val == '\0') {
2047 /* {{{ proto bool ldap_set_option(resource link, int option, mixed newval)
2054 long option; local
2056 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zlZ", &link, &option, &newval) != SUCCESS) {
2067 switch (option) {
[all...]
/PHP_5_6/ext/openssl/
H A Dxp_ssl.c69 /* Simplify ssl context option retrieval */
198 php_error_docref(NULL TSRMLS_CC, E_WARNING, "SSL_R_NO_SHARED_CIPHER: no suitable shared cipher could be used. This could be because the server is missing an SSL certificate (local_cert context option)");
492 "the 'CN_match' SSL context option is deprecated in favor of 'peer_name'"
627 ctx option, so just use the CN from the cert here */
1998 static int php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
2004 switch (option) {
2082 /* TODO: Async connects need to check the enable_on_connect option when
2084 php_stream_socket_ops.set_option(stream, option, value, ptrparam TSRMLS_CC);
2113 return php_stream_socket_ops.set_option(stream, option, value, ptrparam TSRMLS_CC);

Completed in 67 milliseconds

12