Searched refs:arg (Results 1 - 25 of 181) sorted by relevance

12345678

/PHP_TRUNK/ext/phar/phar/
H A Dclicommand.inc40 if (isset($this->cmds[$command]['arg'])) {
41 $this->args = call_user_func(array($this, $this->cmds[$command]['arg']));
47 $arg = $argv[$i][1];
49 self::error("Missing argument to parameter '$arg' of command '$command', check ${argv[0]} help\n");
51 $this->args[$arg]['val'] = $this->checkArgTyp($arg, $i, $argc, $argv);
76 foreach($this->args as $arg => $inf) {
77 if (strlen($arg) && !isset($inf['val']) && isset($inf['required']) && $inf['required']) {
78 $missing .= "Missing parameter '-$arg' to command $command, check ${argv[0]} help\n";
101 function checkArgTyp($arg,
[all...]
/PHP_TRUNK/
H A Dltmain.sh199 # func_win32_libid arg
200 # return the library type of file 'arg'
245 # func_infer_tag arg
250 # arg is usually of the form 'gcc ...'
255 for arg in $CC; do
256 case $arg in
258 arg="\"$arg\""
261 CC_quoted="$CC_quoted $arg"
275 for arg i
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_cleanup.c15 void *arg; member in struct:cleanup_s
20 int fpm_cleanup_add(int type, void (*cleanup)(int, void *), void *arg) /* {{{ */ argument
32 c->arg = arg;
45 c->cleanup(type, c->arg);
H A Dfpm_events.h13 #define fpm_event_set_timer(ev, flags, cb, arg) fpm_event_set((ev), -1, (flags), (cb), (arg))
20 void *arg; member in struct:fpm_event_s
45 int fpm_event_set(struct fpm_event_s *ev, int fd, int flags, void (*callback)(struct fpm_event_s *, short, void *), void *arg);
H A Dfpm_process_ctl.h24 void fpm_pctl_heartbeat(struct fpm_event_s *ev, short which, void *arg);
25 void fpm_pctl_perform_idle_server_maintenance_heartbeat(struct fpm_event_s *ev, short which, void *arg);
26 void fpm_pctl_on_socket_accept(struct fpm_event_s *ev, short which, void *arg);
H A Dfpm_systemd.h9 void fpm_systemd_heartbeat(struct fpm_event_s *ev, short which, void *arg);
/PHP_TRUNK/sapi/milter/
H A Dmilter.php62 foreach ($args as $ix => $arg) {
63 milter_log("\targs[$ix] = $arg");
74 foreach ($args as $ix => $arg) {
75 milter_log("\targs[$ix] = $arg");
/PHP_TRUNK/scripts/dev/generate-phpt/src/setup/
H A DgtCommandLineOptions.php28 protected function isShortOption($arg)
30 return (substr($arg, 0, 1) == '-') && (substr($arg, 1, 1) != '-');
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregtrav.c37 int level, void* arg)
46 level, ONIG_TRAVERSE_CALLBACK_AT_FIRST, arg);
52 callback_func, level + 1, arg);
58 level, ONIG_TRAVERSE_CALLBACK_AT_LAST, arg);
68 int(*callback_func)(int,int,int,int,int,void*), void* arg)
72 callback_func, 0, arg);
35 capture_tree_traverse(OnigCaptureTreeNode* node, int at, int(*callback_func)(int,int,int,int,int,void*), int level, void* arg) argument
67 onig_capture_tree_traverse(OnigRegion* region, int at, int(*callback_func)(int,int,int,int,int,void*), void* arg) argument
/PHP_TRUNK/Zend/tests/bug67436/
H A Da.php4 public function test($arg = c::TESTCONSTANT) {
5 echo __METHOD__ . "($arg)\n";
/PHP_TRUNK/Zend/
H A Dzend_stack.h44 ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg);
H A Dzend_qsort.h27 ZEND_API void zend_qsort_r(void *base, size_t nmemb, size_t siz, compare_r_func_t compare, void *arg);
H A Dzend_API.c190 ZEND_API char *zend_zval_type_name(const zval *arg) /* {{{ */ argument
192 ZVAL_DEREF(arg);
193 return zend_get_type_by_const(Z_TYPE_P(arg));
197 static int parse_arg_object_to_string(zval *arg, char **p, size_t *pl, int type) /* {{{ */ argument
199 if (Z_OBJ_HANDLER_P(arg, cast_object)) {
201 if (Z_OBJ_HANDLER_P(arg, cast_object)(arg, &obj, type) == SUCCESS) {
202 zval_ptr_dtor(arg);
203 ZVAL_COPY_VALUE(arg, &obj);
204 *pl = Z_STRLEN_P(arg);
238 parse_arg_object_to_str(zval *arg, zend_string **str, int type) argument
293 zend_wrong_paramer_type_error(int num, zend_expected_type expected_type, zval *arg) argument
307 zend_wrong_paramer_class_error(int num, char *name, zval *arg) argument
328 _z_param_class(zval *arg, zend_class_entry **pce, int num, int check_null) argument
364 zend_parse_arg_impl(int arg_num, zval *arg, va_list *va, const char **spec, char **error, int *severity) argument
781 zend_parse_arg(int arg_num, zval *arg, va_list *va, const char **spec, int quiet) argument
812 zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...) argument
832 zval *arg; local
1102 _array_init(zval *arg, uint size ZEND_FILE_LINE_DC) argument
1299 _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *properties ZEND_FILE_LINE_DC) argument
1324 _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC) argument
1336 add_assoc_function(zval *arg, const char *key, void (*function_ptr)(INTERNAL_FUNCTION_PARAMETERS)) argument
1343 add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) argument
1353 add_assoc_null_ex(zval *arg, const char *key, size_t key_len) argument
1363 add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b) argument
1373 add_assoc_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r) argument
1383 add_assoc_double_ex(zval *arg, const char *key, size_t key_len, double d) argument
1393 add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str) argument
1403 add_assoc_string_ex(zval *arg, const char *key, size_t key_len, char *str) argument
1413 add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, char *str, size_t length) argument
1423 add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) argument
1432 add_index_long(zval *arg, zend_ulong index, zend_long n) argument
1441 add_index_null(zval *arg, zend_ulong index) argument
1450 add_index_bool(zval *arg, zend_ulong index, int b) argument
1459 add_index_resource(zval *arg, zend_ulong index, zend_resource *r) argument
1468 add_index_double(zval *arg, zend_ulong index, double d) argument
1477 add_index_str(zval *arg, zend_ulong index, zend_string *str) argument
1486 add_index_string(zval *arg, zend_ulong index, const char *str) argument
1495 add_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) argument
1504 add_index_zval(zval *arg, zend_ulong index, zval *value) argument
1510 add_next_index_long(zval *arg, zend_long n) argument
1519 add_next_index_null(zval *arg) argument
1528 add_next_index_bool(zval *arg, int b) argument
1537 add_next_index_resource(zval *arg, zend_resource *r) argument
1546 add_next_index_double(zval *arg, double d) argument
1555 add_next_index_str(zval *arg, zend_string *str) argument
1564 add_next_index_string(zval *arg, const char *str) argument
1573 add_next_index_stringl(zval *arg, const char *str, size_t length) argument
1582 add_next_index_zval(zval *arg, zval *value) argument
1588 add_get_assoc_string_ex(zval *arg, const char *key, uint key_len, const char *str) argument
1598 add_get_assoc_stringl_ex(zval *arg, const char *key, uint key_len, const char *str, size_t length) argument
1608 add_get_index_long(zval *arg, zend_ulong index, zend_long l) argument
1617 add_get_index_double(zval *arg, zend_ulong index, double d) argument
1626 add_get_index_str(zval *arg, zend_ulong index, zend_string *str) argument
1635 add_get_index_string(zval *arg, zend_ulong index, const char *str) argument
1644 add_get_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) argument
1696 add_property_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) argument
1710 add_property_bool_ex(zval *arg, const char *key, size_t key_len, zend_long b) argument
1724 add_property_null_ex(zval *arg, const char *key, size_t key_len) argument
1738 add_property_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r) argument
1752 add_property_double_ex(zval *arg, const char *key, size_t key_len, double d) argument
1766 add_property_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str) argument
1780 add_property_string_ex(zval *arg, const char *key, size_t key_len, const char *str) argument
1794 add_property_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length) argument
1808 add_property_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) argument
2461 clean_module_class(zval *el, void *arg) argument
3453 zval *arg, *params; local
3518 zval *arg; local
[all...]
H A Dzend_API.h254 ZEND_API char *zend_zval_type_name(const zval *arg);
259 ZEND_API int zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...);
358 #define array_init(arg) _array_init((arg), 0 ZEND_FILE_LINE_CC)
359 #define array_init_size(arg, size) _array_init((arg), (size) ZEND_FILE_LINE_CC)
360 #define object_init(arg) _object_init((arg) ZEND_FILE_LINE_CC)
361 #define object_init_ex(arg, ce) _object_init_ex((arg), (c
1039 _z_param_bool(zval *arg, zend_bool *dest, zend_bool *is_null, int check_null) argument
1059 _z_param_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int strict) argument
1115 _z_param_double(zval *arg, double *dest, zend_bool *is_null, int check_null) argument
1148 _z_param_str(zval *arg, zend_string **dest, int check_null) argument
1170 _z_param_string(zval *arg, char **dest, size_t *dest_len, int check_null) argument
1187 _z_param_path_str(zval *arg, zend_string **dest, int check_null) argument
1197 _z_param_path(zval *arg, char **dest, size_t *dest_len, int check_null) argument
1214 _z_param_array(zval *arg, zval **dest, int check_null, int or_object) argument
1227 _z_param_array_ht(zval *arg, HashTable **dest, int check_null, int or_object) argument
1241 _z_param_object(zval *arg, zval **dest, zend_class_entry *ce, int check_null) argument
1254 _z_param_resource(zval *arg, zval **dest, int check_null) argument
1266 _z_param_func(zval *arg, zend_fcall_info *dest_fci, zend_fcall_info_cache *dest_fcc, int check_null, char **error) argument
1278 _z_param_zval(zval *arg, zval **dest, int check_null) argument
1286 _z_param_zval_deref(zval *arg, zval **dest, int check_null) argument
[all...]
/PHP_TRUNK/sapi/litespeed/
H A Dlsapilib.h137 const char * pValue, int valLen, void * arg );
159 LSAPI_CB_EnvHandler fn, void * arg );
162 LSAPI_CB_EnvHandler fn, void * arg );
165 LSAPI_CB_EnvHandler fn, void * arg );
168 LSAPI_CB_EnvHandler fn, void * arg );
281 static inline int LSAPI_ForeachHeader( LSAPI_CB_EnvHandler fn, void * arg )
282 { return LSAPI_ForeachHeader_r( &g_req, fn, arg ); }
285 LSAPI_CB_EnvHandler fn, void * arg )
286 { return LSAPI_ForeachOrgHeader_r( &g_req, fn, arg ); }
288 static inline int LSAPI_ForeachEnv( LSAPI_CB_EnvHandler fn, void * arg )
[all...]
/PHP_TRUNK/ext/
H A Dext_skel_win32.php29 foreach($argv as $arg) {
30 if (strtolower(substr($arg, 0, 9)) == "--extname") {
31 $extname = substr($arg, 10);
33 if (strtolower(substr($arg, 0, 6)) == "--skel") {
34 $skel = substr($arg, 7);
/PHP_TRUNK/ext/intl/collator/
H A Dcollator_convert.c391 * @param zval* arg zval to get string from
395 zval* collator_make_printable_zval( zval* arg, zval *rv) argument
401 if( Z_TYPE_P(arg) != IS_STRING )
404 use_copy = zend_make_printable_zval(arg, &arg_copy);
413 str = collator_convert_zstr_utf8_to_utf16( arg, rv );
418 COLLATOR_CONVERT_RETURN_FAILED( arg );
429 * @param zval* arg Sort's argument to normalize.
431 * @return zval* Normalized copy of arg or unmodified arg
434 zval* collator_normalize_sort_argument( zval* arg, zva argument
[all...]
H A Dcollator_convert.h30 zval* collator_normalize_sort_argument( zval* arg, zval *rv );
32 zval* collator_convert_string_to_number( zval* arg, zval *rv );
36 zval* collator_make_printable_zval( zval* arg, zval *rv );
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c63 if (arg != PARSE_STRING) {
69 php_default_treat_data(arg, str, destArray);
73 switch (arg) {
78 switch (arg) {
95 if (arg == PARSE_POST) {
100 if (arg == PARSE_GET) { /* GET data */
108 } else if (arg == PARSE_COOKIE) { /* Cookie data */
116 } else if (arg == PARSE_STRING) { /* String data */
125 switch (arg) {
136 switch (arg) {
193 _php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res) argument
[all...]
H A Dmb_gpc.h50 const mbfl_encoding *_php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_exception.c42 va_list arg; local
45 va_start(arg, format);
46 vspprintf(&message, 0, format, arg);
47 va_end(arg);;
/PHP_TRUNK/ext/skeleton/
H A Dskeleton.c34 /* {{{ proto string confirm_extname_compiled(string arg)
38 char *arg = NULL; local
42 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &arg, &arg_len) == FAILURE) {
46 len = spprintf(&strg, 0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg);
/PHP_TRUNK/ext/standard/
H A Dpack.c145 int arg = 1; local
152 arg = -1;
156 arg = atoi(&format[i]);
164 /* Handle special arg '*' for all codes and check argv overflows */
170 if (arg < 0) {
172 arg = 1;
176 /* Always uses one arg */
189 if (arg < 0) {
194 arg = Z_STRLEN(argv[currentarg]);
199 arg
263 int arg = formatargs[i]; local
342 int arg = formatargs[i]; local
582 int arg = 1, argb; local
[all...]
H A Dtype.c28 zval *arg; local
30 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &arg) == FAILURE) {
34 switch (Z_TYPE_P(arg)) {
67 res_len = sizeof("object of type ")-1 + Z_OBJCE_P(arg)->name_length;
68 spprintf(&result, 0, "object of type %s", Z_OBJCE_P(arg)->name);
77 const char *type_name = zend_rsrc_list_get_rsrc_type(Z_RES_P(arg));
207 zval *arg; local
210 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &arg) == FAILURE) {
213 ZVAL_DEREF(arg);
216 Z_PARAM_ZVAL_DEREF(arg)
263 zval *arg; local
323 zval *arg; local
354 zval *arg; local
[all...]
/PHP_TRUNK/main/
H A Dphp_ticks.c60 static void php_tick_iterator(void *data, void *arg) argument
65 func(*((int *)arg));

Completed in 50 milliseconds

12345678