Searched refs:option (Results 1 - 25 of 43) sorted by relevance

12

/PHP_5_4/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...]
H A DgtOptionalSections.php19 foreach($options as $option) {
21 if(array_key_exists($option, $this->optSections )) {
22 $this->optSections[$option] = true;
/PHP_5_4/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_4/ext/mbstring/oniguruma/
H A Doniguruma.h481 #define ONIG_IS_OPTION_ON(options,option) ((options) & (option))
488 OnigOptionType options; /* default option */
795 OnigOptionType option; member in struct:__anon72
809 int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo));
815 int onig_recompile P_((OnigRegex, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo));
819 int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option));
821 int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option));
H A Dregcomp.c242 add_option(regex_t* reg, OnigOptionType option) argument
244 BBUF_ADD(reg, &option, SIZE_OPTION);
274 add_opcode_option(regex_t* reg, int opcode, OnigOptionType option) argument
280 r = add_option(reg, option);
1144 reg->options = node->option;
1150 if (IS_DYNAMIC_OPTION(prev ^ node->option)) {
1164 if (IS_DYNAMIC_OPTION(prev ^ node->option)) {
1165 r = add_opcode_option(reg, OP_SET_OPTION_PUSH, node->option);
1173 reg->options = node->option;
1177 if (IS_DYNAMIC_OPTION(prev ^ node->option)) {
5319 onig_recompile(regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument
5341 onig_alloc_init(regex_t** reg, OnigOptionType option, OnigAmbigType ambig_flag, OnigEncoding enc, OnigSyntaxType* syntax) argument
5387 onig_new(regex_t** reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument
5647 OnigOptionType option = *((OnigOptionType* )bp); local
5786 OnigOptionType option; local
[all...]
H A Dregexec.c1432 OnigOptionType option = reg->options; local
1503 if (IS_FIND_LONGEST(option)) {
1595 if (IS_FIND_CONDITION(option)) {
1596 if (IS_FIND_NOT_EMPTY(option) && s == sstart) {
1600 if (IS_FIND_LONGEST(option) && s < end) {
2493 GET_OPTION_INC(option, p);
2501 GET_OPTION_INC(option, p);
3238 OnigOptionType option)
3269 MATCH_ARG_INIT(msa, option, region, at);
3279 && !IS_POSIX_REGION(option)
3237 onig_match(regex_t* reg, const UChar* str, const UChar* end, const UChar* at, OnigRegion* region, OnigOptionType option) argument
3530 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 Dregext.c181 r = onig_alloc_init(reg, ci->option, ci->ambig_flag, ci->target_enc,
H A Dregint.h398 #define IS_SINGLELINE(option) ((option) & ONIG_OPTION_SINGLELINE)
399 #define IS_MULTILINE(option) ((option) & ONIG_OPTION_MULTILINE)
400 #define IS_IGNORECASE(option) ((option) & ONIG_OPTION_IGNORECASE)
401 #define IS_EXTEND(option) ((option) & ONIG_OPTION_EXTEND)
402 #define IS_FIND_LONGEST(option) ((option)
[all...]
H A Dregparse.c1354 NEFFECT(node).option = 0;
1368 node_new_effect_memory(OnigOptionType option, int is_named) argument
1376 NEFFECT(node).option = option;
1382 node_new_option(OnigOptionType option) argument
1386 NEFFECT(node).option = option;
3504 tok->u.subtype = (IS_SINGLELINE(env->option)
3511 tok->u.subtype = (IS_SINGLELINE(env->option)
3526 if (IS_EXTEND(env->option)) {
4397 OnigOptionType option; local
[all...]
H A Dregparse.h180 OnigOptionType option; member in struct:__anon105
260 OnigOptionType option; member in struct:__anon114
/PHP_5_4/ext/openssl/
H A Dxp_ssl.c142 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)");
690 static int php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
696 switch (option) {
774 /* TODO: Async connects need to check the enable_on_connect option when
776 php_stream_socket_ops.set_option(stream, option, value, ptrparam TSRMLS_CC);
805 return php_stream_socket_ops.set_option(stream, option, value, ptrparam TSRMLS_CC);
/PHP_5_4/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
/PHP_5_4/ext/zip/
H A Dphp_zip.c351 zval **option; local
352 if (zend_hash_find(HASH_OF(options), "remove_all_path", sizeof("remove_all_path"), (void **)&option) == SUCCESS) {
354 if (Z_TYPE_PP(option) != IS_LONG) {
355 zval tmp = **option;
360 opt = Z_LVAL_PP(option);
366 if (zend_hash_find(HASH_OF(options), "remove_path", sizeof("remove_path"), (void **)&option) == SUCCESS) {
367 if (Z_TYPE_PP(option) != IS_STRING) {
368 php_error_docref(NULL TSRMLS_CC, E_WARNING, "remove_path option expected to be a string");
372 if (Z_STRLEN_PP(option) < 1) {
373 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Empty string given as remove_path option");
[all...]
/PHP_5_4/main/streams/
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) {
519 static int php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) /* {{{ */ argument
523 switch(option) {
531 return php_stream_set_option(ts->innerstream, option, value, ptrparam);
H A Dplain_wrapper.c553 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument
566 switch(option) {
1256 static int php_plain_files_metadata(php_stream_wrapper *wrapper, char *url, int option, void *value, php_stream_context *context TSRMLS_DC) argument
1285 switch(option) {
1302 if(option == PHP_STREAM_META_OWNER_NAME) {
1314 if(option == PHP_STREAM_META_OWNER_NAME) {
1330 php_error_docref1(NULL TSRMLS_CC, url, E_WARNING, "Unknown option %d for stream_metadata", option);
H A Duserspace.c54 static int user_wrapper_metadata(php_stream_wrapper *wrapper, char *url, int option, void *value, php_stream_context *context TSRMLS_DC);
208 function stream_set_option($option, $arg1, $arg2)
210 switch($option) {
958 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) { argument
967 switch (option) {
1081 ZVAL_LONG(zoption, option);
1090 switch(option) {
1364 static int user_wrapper_metadata(php_stream_wrapper *wrapper, char *url, int option, void *value, php_stream_context *context TSRMLS_DC) argument
1374 switch(option) {
1393 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown option
[all...]
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);
/PHP_5_4/ext/curl/
H A Dinterface.c287 ZEND_ARG_INFO(0, option)
302 ZEND_ARG_INFO(0, option)
1691 static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument
1695 switch (option) {
1703 error = curl_easy_setopt(ch->cp, option, 2);
1793 if ((option == CURLOPT_PROTOCOLS || option == CURLOPT_REDIR_PROTOCOLS) &&
1800 error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue));
1806 error = curl_easy_setopt(ch->cp, option, (curl_off_t)Z_LVAL_PP(zvalue));
1818 error = curl_easy_setopt(ch->cp, option, Z_LVAL_P
2278 ulong option; local
2384 long option = 0; local
[all...]
/PHP_5_4/ext/filter/
H A Dfilter.c592 zval **option; local
611 if (zend_hash_find(HASH_OF(*filter_args), "filter", sizeof("filter"), (void **)&option) == SUCCESS) {
612 PHP_FILTER_GET_LONG_OPT(option, filter);
615 if (zend_hash_find(HASH_OF(*filter_args), "flags", sizeof("flags"), (void **)&option) == SUCCESS) {
616 PHP_FILTER_GET_LONG_OPT(option, filter_flags);
623 if (zend_hash_find(HASH_OF(*filter_args), "options", sizeof("options"), (void **)&option) == SUCCESS) {
625 if (Z_TYPE_PP(option) == IS_ARRAY) {
626 options = *option;
629 options = *option;
756 zval **option, **op local
837 zval **option; local
[all...]
/PHP_5_4/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_4/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_4/ext/date/lib/
H A Dtimelib.h120 void timelib_time_set_option(timelib_time* tm, int option, void* option_value);
/PHP_5_4/ext/ldap/
H A Dldap.c1918 /* {{{ proto bool ldap_get_option(resource link, int option, mixed retval)
1924 long option; local
1926 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &link, &option, &retval) != SUCCESS) {
1932 switch (option) {
1946 if (ldap_get_option(ld->link, option, &val)) {
1999 if (ldap_get_option(ld->link, option, &val) || val == NULL || *val == '\0') {
2022 /* {{{ proto bool ldap_set_option(resource link, int option, mixed newval)
2029 long option; local
2031 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zlZ", &link, &option, &newval) != SUCCESS) {
2042 switch (option) {
[all...]
/PHP_5_4/main/
H A Dphp_streams.h129 int (*set_option)(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC);
362 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC);
363 #define php_stream_set_option(stream, option, value, ptrvalue) _php_stream_set_option((stream), (option), (value), (ptrvalue) TSRMLS_CC)
407 /* option code used by the php_stream_xport_XXX api */
430 #define PHP_STREAM_OPTION_RETURN_OK 0 /* option set OK */
431 #define PHP_STREAM_OPTION_RETURN_ERR -1 /* problem setting option */

Completed in 77 milliseconds

12