| /PHP_5_3/scripts/dev/generate-phpt/src/setup/ |
| H A D | gtCommandLineOptions.php | 51 $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_3/ext/intl/idn/ |
| H A D | idn.c | 61 long option = 0; local 70 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", (char **)&domain, &domain_len, &option) == FAILURE) { 97 converted_ret_len = uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status); 99 converted_ret_len = uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &status);
|
| /PHP_5_3/ext/mbstring/oniguruma/ |
| H A D | oniguruma.h | 481 #define ONIG_IS_OPTION_ON(options,option) ((options) & (option)) 488 OnigOptionType options; /* default option */ 795 OnigOptionType option; member in struct:__anon206 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 D | regcomp.c | 242 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 D | regexec.c | 1432 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 D | regparse.c | 1354 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 D | regparse.h | 180 OnigOptionType option; member in struct:__anon239 260 OnigOptionType option; member in struct:__anon248
|
| /PHP_5_3/ext/curl/ |
| H A D | interface.c | 289 ZEND_ARG_INFO(0, option) 304 ZEND_ARG_INFO(0, option) 1686 static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument 1690 switch (option) { 1697 error = curl_easy_setopt(ch->cp, option, 2); 1787 if ((option == CURLOPT_PROTOCOLS || option == CURLOPT_REDIR_PROTOCOLS) && 1794 error = curl_easy_setopt(ch->cp, option, Z_LVAL_PP(zvalue)); 1800 error = curl_easy_setopt(ch->cp, option, (curl_off_t)Z_LVAL_PP(zvalue)); 1812 error = curl_easy_setopt(ch->cp, option, Z_LVAL_P 2259 ulong option; local 2365 long option = 0; local [all...] |
| /PHP_5_3/ext/filter/ |
| H A D | filter.c | 607 zval **option; local 626 if (zend_hash_find(HASH_OF(*filter_args), "filter", sizeof("filter"), (void **)&option) == SUCCESS) { 627 PHP_FILTER_GET_LONG_OPT(option, filter); 630 if (zend_hash_find(HASH_OF(*filter_args), "flags", sizeof("flags"), (void **)&option) == SUCCESS) { 631 PHP_FILTER_GET_LONG_OPT(option, filter_flags); 638 if (zend_hash_find(HASH_OF(*filter_args), "options", sizeof("options"), (void **)&option) == SUCCESS) { 640 if (Z_TYPE_PP(option) == IS_ARRAY) { 641 options = *option; 644 options = *option; 771 zval **option, **op local 852 zval **option; local [all...] |
| /PHP_5_3/ext/ftp/ |
| H A D | php_ftp.c | 233 ZEND_ARG_INFO(0, option) 239 ZEND_ARG_INFO(0, option) 1361 /* {{{ proto bool ftp_set_option(resource stream, int option, mixed value) 1362 Sets an FTP option */ 1366 long option; local 1369 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &z_ftp, &option, &z_value) == FAILURE) { 1375 switch (option) { 1399 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Unknown option '%ld'", option); 1406 /* {{{ proto mixed ftp_get_option(resource stream, int option) 1411 long option; local [all...] |
| /PHP_5_3/ext/ldap/ |
| H A D | ldap.c | 1550 /* {{{ proto bool ldap_get_option(resource link, int option, mixed retval) 1556 long option; local 1558 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rlz", &link, &option, &retval) != SUCCESS) { 1564 switch (option) { 1578 if (ldap_get_option(ld->link, option, &val)) { 1631 if (ldap_get_option(ld->link, option, &val) || val == NULL || *val == '\0') { 1654 /* {{{ proto bool ldap_set_option(resource link, int option, mixed newval) 1661 long option; local 1663 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zlZ", &link, &option, &newval) != SUCCESS) { 1674 switch (option) { [all...] |
| /PHP_5_3/ext/mbstring/ |
| H A D | php_mbregex.c | 474 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 ! 1076 OnigOptionType option = 0; local 1120 OnigOptionType option; local 1251 OnigOptionType option; local [all...] |
| /PHP_5_3/ext/mysqli/ |
| H A D | mysqli_api.c | 1626 static int mysqli_options_get_option_zval_type(int option) argument 1628 switch (option) {
|
| /PHP_5_3/ext/openssl/ |
| H A D | xp_ssl.c | 142 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)"); 674 static int php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument 680 switch (option) { 758 /* TODO: Async connects need to check the enable_on_connect option when 760 php_stream_socket_ops.set_option(stream, option, value, ptrparam TSRMLS_CC); 789 return php_stream_socket_ops.set_option(stream, option, value, ptrparam TSRMLS_CC);
|
| /PHP_5_3/ext/pgsql/ |
| H A D | pgsql.c | 937 /* For connection option */ 5767 ulong option = 0; local 5772 "rsa|l", &pgsql_link, &table_name, &table_name_len, &values, &option) == FAILURE) { 5775 if (option & ~PGSQL_CONV_OPTS) { 5776 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid option is specified"); 5790 if (php_pgsql_convert(pg_link, table_name, values, return_value, option TSRMLS_CC) == FAILURE) { 5935 ulong option = PGSQL_DML_EXEC; local 5940 &pgsql_link, &table, &table_len, &values, &option) == FAILURE) { 5943 if (option & ~(PGSQL_CONV_OPTS|PGSQL_DML_NO_CONV|PGSQL_DML_EXEC|PGSQL_DML_ASYNC|PGSQL_DML_STRING)) { 5944 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid option i 6091 ulong option = PGSQL_DML_EXEC; local 6183 ulong option = PGSQL_DML_EXEC; local 6324 ulong option = PGSQL_DML_EXEC; local [all...] |
| /PHP_5_3/ext/pspell/ |
| H A D | pspell.c | 830 static void pspell_config_path(INTERNAL_FUNCTION_PARAMETERS, char *option) argument 856 pspell_config_replace(config, option, value);
|
| /PHP_5_3/ext/standard/ |
| H A D | basic_functions.c | 2480 ZEND_ARG_INFO(0, option) 4386 /* Prepare the option character and the argument string. */ 4405 /* Add this option / argument pair to the result hash. */ 4605 Get the value of a PHP configuration option */ 4665 2nd arg = error option 4671 1 = send via email to 3rd parameter 4th option = additional headers 4728 php_error_docref(NULL TSRMLS_CC, E_WARNING, "TCP/IP option not available!"); 5316 Get a configuration option */ 5341 zval *option; local 5351 MAKE_STD_ZVAL(option); [all...] |
| H A D | syslog.c | 216 /* {{{ proto bool openlog(string ident, int option, int facility) 226 long option, facility; local 230 &ident_len, &option, &facility) == FAILURE) { 237 openlog(BG(syslog_device), option, facility); local
|
| /PHP_5_3/main/streams/ |
| H A D | memory.c | 247 static int php_stream_memory_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) /* {{{ */ argument 252 switch(option) { 522 static int php_stream_temp_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) /* {{{ */ argument 526 switch(option) { 534 return php_stream_set_option(ts->innerstream, option, value, ptrparam);
|
| H A D | plain_wrapper.c | 546 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument 559 switch(option) {
|
| H A D | streams.c | 1282 PHPAPI int _php_stream_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument 1287 ret = stream->ops->set_option(stream, option, value, ptrparam TSRMLS_CC); 1291 switch(option) {
|
| H A D | userspace.c | 190 function stream_set_option($option, $arg1, $arg2) 192 switch($option) { 931 static int php_userstreamop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) { argument 940 switch (option) { 1008 ZVAL_LONG(zoption, option); 1017 switch(option) {
|
| H A D | xp_socket.c | 51 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) { 663 spprintf(&xparam->outputs.error_text, 0, "local_addr context option is not a string."); 749 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument 754 switch(option) { 777 return php_sockop_set_option(stream, option, value, ptrparam TSRMLS_CC);
|
| /PHP_5_3/ext/date/ |
| H A D | php_date.c | 3959 char *option = NULL; local 3962 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|ls", &what, &option, &option_len) == FAILURE) { 3980 if (tzdb->data[table[i].pos + 5] == option[0] && tzdb->data[table[i].pos + 6] == option[1]) {
|
| /PHP_5_3/ext/zip/ |
| H A D | php_zip.c | 360 zval **option; local 361 if (zend_hash_find(HASH_OF(options), "remove_all_path", sizeof("remove_all_path"), (void **)&option) == SUCCESS) { 363 if (Z_TYPE_PP(option) != IS_LONG) { 364 zval tmp = **option; 369 opt = Z_LVAL_PP(option); 375 if (zend_hash_find(HASH_OF(options), "remove_path", sizeof("remove_path"), (void **)&option) == SUCCESS) { 376 if (Z_TYPE_PP(option) != IS_STRING) { 377 php_error_docref(NULL TSRMLS_CC, E_WARNING, "remove_path option expected to be a string"); 381 if (Z_STRLEN_PP(option) < 1) { 382 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Empty string given as remove_path option"); [all...] |