| /PHP_5_5/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...] |
| H A D | gtOptionalSections.php | 19 foreach($options as $option) { 21 if(array_key_exists($option, $this->optSections )) { 22 $this->optSections[$option] = true;
|
| /PHP_5_5/ext/intl/idn/ |
| H A D | idn.c | 137 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_5/ext/mbstring/oniguruma/ |
| H A D | regcomp.c | 264 add_option(regex_t* reg, OnigOptionType option) argument 266 BBUF_ADD(reg, &option, SIZE_OPTION); 296 add_opcode_option(regex_t* reg, int opcode, OnigOptionType option) argument 302 r = add_option(reg, option); 1164 reg->options = node->option; 1170 if (IS_DYNAMIC_OPTION(prev ^ node->option)) { 1184 if (IS_DYNAMIC_OPTION(prev ^ node->option)) { 1185 r = add_opcode_option(reg, OP_SET_OPTION_PUSH, node->option); 1193 reg->options = node->option; 1197 if (IS_DYNAMIC_OPTION(prev ^ node->option)) { 5452 onig_recompile(regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument 5474 onig_reg_init(regex_t* reg, OnigOptionType option, OnigCaseFoldType case_fold_flag, OnigEncoding enc, OnigSyntaxType* syntax) argument 5520 onig_new_without_alloc(regex_t* reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument 5534 onig_new(regex_t** reg, const UChar* pattern, const UChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo) argument 5852 OnigOptionType option = *((OnigOptionType* )bp); local 5991 OnigOptionType option; local [all...] |
| H A D | regint.h | 288 #define IS_SINGLELINE(option) ((option) & ONIG_OPTION_SINGLELINE) 289 #define IS_MULTILINE(option) ((option) & ONIG_OPTION_MULTILINE) 290 #define IS_IGNORECASE(option) ((option) & ONIG_OPTION_IGNORECASE) 291 #define IS_EXTEND(option) ((option) & ONIG_OPTION_EXTEND) 292 #define IS_FIND_LONGEST(option) ((option) [all...] |
| H A D | regparse.c | 1375 NENCLOSE(node)->option = 0; 1389 node_new_enclose_memory(OnigOptionType option, int is_named) argument 1397 NENCLOSE(node)->option = option; 1403 node_new_option(OnigOptionType option) argument 1407 NENCLOSE(node)->option = option; 3699 tok->u.subtype = (IS_SINGLELINE(env->option) 3706 tok->u.subtype = (IS_SINGLELINE(env->option) 3721 if (IS_EXTEND(env->option)) { 4508 OnigOptionType option; local [all...] |
| H A D | regparse.h | 190 OnigOptionType option; member in struct:__anon265 279 OnigOptionType option; member in struct:__anon274
|
| H A D | oniguruma.h | 396 #define ONIG_IS_OPTION_ON(options,option) ((options) & (option)) 403 OnigOptionType options; /* default option */ 712 OnigOptionType option; member in struct:__anon6 726 int onig_new P_((OnigRegex*, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); 728 int onig_reg_init P_((regex_t* reg, OnigOptionType option, OnigCaseFoldType case_fold_flag, OnigEncoding enc, OnigSyntaxType* syntax)); 729 int onig_new_without_alloc P_((OnigRegex, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); 737 int onig_recompile P_((OnigRegex, const OnigUChar* pattern, const OnigUChar* pattern_end, OnigOptionType option, OnigEncoding enc, OnigSyntaxType* syntax, OnigErrorInfo* einfo)); 741 int onig_search P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* start, const OnigUChar* range, OnigRegion* region, OnigOptionType option)); 743 int onig_match P_((OnigRegex, const OnigUChar* str, const OnigUChar* end, const OnigUChar* at, OnigRegion* region, OnigOptionType option)); [all...] |
| /PHP_5_5/ext/curl/ |
| H A D | share.c | 69 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 D | multi.c | 380 static int _php_curl_multi_setopt(php_curlm *mh, long option, zval **zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument 384 switch (option) { 392 error = curl_multi_setopt(mh->multi, option, Z_LVAL_PP(zvalue)); 396 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid curl multi configuration option"); 409 /* {{{ proto int curl_multi_setopt(resource mh, int option, mixed value) 410 Set an option for the curl multi handle */
|
| H A D | interface.c | 287 ZEND_ARG_INFO(0, option) 302 ZEND_ARG_INFO(0, option) 336 ZEND_ARG_INFO(0, option) 396 ZEND_ARG_INFO(0, option) 2058 static int _php_curl_setopt(php_curl *ch, long option, zval **zvalue, zval *return_value TSRMLS_DC) /* {{{ */ argument 2062 switch (option) { 2070 error = curl_easy_setopt(ch->cp, option, 2); 2222 if ((option == CURLOPT_PROTOCOLS || option == CURLOPT_REDIR_PROTOCOLS) && 2229 error = curl_easy_setopt(ch->cp, option, Z_LVAL_P 2877 ulong option; local 2983 long option = 0; local [all...] |
| /PHP_5_5/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_5/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_5/ext/standard/ |
| H A D | filestat.c | 438 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 D | syslog.c | 128 /* {{{ 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_5/main/streams/ |
| H A D | memory.c | 243 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 D | plain_wrapper.c | 551 static int php_stdiop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument 564 switch(option) { 1265 static int php_plain_files_metadata(php_stream_wrapper *wrapper, char *url, int option, void *value, php_stream_context *context TSRMLS_DC) argument 1296 switch(option) { 1313 if(option == PHP_STREAM_META_OWNER_NAME) { 1325 if(option == PHP_STREAM_META_OWNER_NAME) { 1341 php_error_docref1(NULL TSRMLS_CC, url, E_WARNING, "Unknown option %d for stream_metadata", option);
|
| H A D | userspace.c | 54 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 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) { 659 spprintf(&xparam->outputs.error_text, 0, "local_addr context option is not a string."); 745 static int php_tcp_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam TSRMLS_DC) argument 750 switch(option) { 773 return php_sockop_set_option(stream, option, value, ptrparam TSRMLS_CC);
|
| /PHP_5_5/ext/pgsql/ |
| H A D | pgsql.c | 955 /* For connection option */ 5890 ulong option = 0; local 5895 "rsa|l", &pgsql_link, &table_name, &table_name_len, &values, &option) == FAILURE) { 5898 if (option & ~PGSQL_CONV_OPTS) { 5899 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid option is specified"); 5913 if (php_pgsql_convert(pg_link, table_name, values, return_value, option TSRMLS_CC) == FAILURE) { 6058 ulong option = PGSQL_DML_EXEC; local 6063 &pgsql_link, &table, &table_len, &values, &option) == FAILURE) { 6066 if (option & ~(PGSQL_CONV_OPTS|PGSQL_DML_NO_CONV|PGSQL_DML_EXEC|PGSQL_DML_ASYNC|PGSQL_DML_STRING)) { 6067 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Invalid option i 6214 ulong option = PGSQL_DML_EXEC; local 6306 ulong option = PGSQL_DML_EXEC; local 6444 ulong option = PGSQL_DML_EXEC; local [all...] |
| /PHP_5_5/ext/intl/calendar/ |
| H A D | calendar_methods.cpp | 1064 long option; local 1068 "Ol", &object, Calendar_ce_ptr, &option) == FAILURE) { 1074 if (option != UCAL_WALLTIME_FIRST && option != UCAL_WALLTIME_LAST) { 1076 "intlcal_set_repeated_wall_time_option: invalid option", 0 TSRMLS_CC); 1082 co->ucal->setRepeatedWallTimeOption((UCalendarWallTimeOption)option); 1089 long option; local 1093 "Ol", &object, Calendar_ce_ptr, &option) == FAILURE) { 1099 if (option != UCAL_WALLTIME_FIRST && option ! [all...] |
| /PHP_5_5/ext/filter/ |
| H A D | filter.c | 594 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_5/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 ! 1140 OnigOptionType option = 0; local 1184 OnigOptionType option; local 1315 OnigOptionType option; local [all...] |
| /PHP_5_5/ext/date/lib/ |
| H A D | timelib.h | 119 void timelib_time_set_option(timelib_time* tm, int option, void* option_value);
|
| /PHP_5_5/ext/zip/ |
| H A D | php_zip.c | 351 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...] |