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

1234567

/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/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/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.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 );
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...]
/PHP_TRUNK/ext/mbstring/
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);
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...]
/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_API.h261 ZEND_API char *zend_zval_type_name(const zval *arg);
266 ZEND_API int zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...);
365 #define array_init(arg) _array_init((arg), 0 ZEND_FILE_LINE_CC)
366 #define array_init_size(arg, size) _array_init((arg), (size) ZEND_FILE_LINE_CC)
367 #define object_init(arg) _object_init((arg) ZEND_FILE_LINE_CC)
368 #define object_init_ex(arg, ce) _object_init_ex((arg), (c
1051 zend_parse_arg_bool(zval *arg, zend_bool *dest, zend_bool *is_null, int check_null) argument
1071 zend_parse_arg_long(zval *arg, zend_long *dest, zend_bool *is_null, int check_null, int strict) argument
1127 zend_parse_arg_double(zval *arg, double *dest, zend_bool *is_null, int check_null) argument
1160 zend_parse_arg_str(zval *arg, zend_string **dest, int check_null) argument
1182 zend_parse_arg_string(zval *arg, char **dest, size_t *dest_len, int check_null) argument
1199 zend_parse_arg_path_str(zval *arg, zend_string **dest, int check_null) argument
1208 zend_parse_arg_path(zval *arg, char **dest, size_t *dest_len, int check_null) argument
1225 zend_parse_arg_array(zval *arg, zval **dest, int check_null, int or_object) argument
1238 zend_parse_arg_array_ht(zval *arg, HashTable **dest, int check_null, int or_object) argument
1252 zend_parse_arg_object(zval *arg, zval **dest, zend_class_entry *ce, int check_null) argument
1265 zend_parse_arg_resource(zval *arg, zval **dest, int check_null) argument
1277 zend_parse_arg_func(zval *arg, zend_fcall_info *dest_fci, zend_fcall_info_cache *dest_fcc, int check_null, char **error) argument
1289 zend_parse_arg_zval(zval *arg, zval **dest, int check_null) argument
1297 zend_parse_arg_zval_deref(zval *arg, zval **dest, int check_null) argument
[all...]
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 ZEND_API int parse_arg_object_to_str(zval *arg, zend_string **str, 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 *str = Z_STR_P(arg);
252 zend_wrong_paramer_type_error(int num, zend_expected_type expected_type, zval *arg) argument
266 zend_wrong_paramer_class_error(int num, char *name, zval *arg) argument
287 zend_parse_arg_class(zval *arg, zend_class_entry **pce, int num, int check_null) argument
323 zend_parse_arg_impl(int arg_num, zval *arg, va_list *va, const char **spec, char **error, int *severity) argument
573 zend_parse_arg(int arg_num, zval *arg, va_list *va, const char **spec, int quiet) argument
604 zend_parse_parameter(int flags, int arg_num, zval *arg, const char *spec, ...) argument
624 zval *arg; local
894 _array_init(zval *arg, uint32_t size ZEND_FILE_LINE_DC) argument
1091 _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *properties ZEND_FILE_LINE_DC) argument
1119 _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC) argument
1131 add_assoc_function(zval *arg, const char *key, void (*function_ptr)(INTERNAL_FUNCTION_PARAMETERS)) argument
1138 add_assoc_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) argument
1148 add_assoc_null_ex(zval *arg, const char *key, size_t key_len) argument
1158 add_assoc_bool_ex(zval *arg, const char *key, size_t key_len, int b) argument
1168 add_assoc_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r) argument
1178 add_assoc_double_ex(zval *arg, const char *key, size_t key_len, double d) argument
1188 add_assoc_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str) argument
1198 add_assoc_string_ex(zval *arg, const char *key, size_t key_len, char *str) argument
1208 add_assoc_stringl_ex(zval *arg, const char *key, size_t key_len, char *str, size_t length) argument
1218 add_assoc_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) argument
1227 add_index_long(zval *arg, zend_ulong index, zend_long n) argument
1236 add_index_null(zval *arg, zend_ulong index) argument
1245 add_index_bool(zval *arg, zend_ulong index, int b) argument
1254 add_index_resource(zval *arg, zend_ulong index, zend_resource *r) argument
1263 add_index_double(zval *arg, zend_ulong index, double d) argument
1272 add_index_str(zval *arg, zend_ulong index, zend_string *str) argument
1281 add_index_string(zval *arg, zend_ulong index, const char *str) argument
1290 add_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) argument
1299 add_index_zval(zval *arg, zend_ulong index, zval *value) argument
1305 add_next_index_long(zval *arg, zend_long n) argument
1314 add_next_index_null(zval *arg) argument
1323 add_next_index_bool(zval *arg, int b) argument
1332 add_next_index_resource(zval *arg, zend_resource *r) argument
1341 add_next_index_double(zval *arg, double d) argument
1350 add_next_index_str(zval *arg, zend_string *str) argument
1359 add_next_index_string(zval *arg, const char *str) argument
1368 add_next_index_stringl(zval *arg, const char *str, size_t length) argument
1377 add_next_index_zval(zval *arg, zval *value) argument
1383 add_get_assoc_string_ex(zval *arg, const char *key, uint key_len, const char *str) argument
1393 add_get_assoc_stringl_ex(zval *arg, const char *key, uint key_len, const char *str, size_t length) argument
1403 add_get_index_long(zval *arg, zend_ulong index, zend_long l) argument
1412 add_get_index_double(zval *arg, zend_ulong index, double d) argument
1421 add_get_index_str(zval *arg, zend_ulong index, zend_string *str) argument
1430 add_get_index_string(zval *arg, zend_ulong index, const char *str) argument
1439 add_get_index_stringl(zval *arg, zend_ulong index, const char *str, size_t length) argument
1491 add_property_long_ex(zval *arg, const char *key, size_t key_len, zend_long n) argument
1505 add_property_bool_ex(zval *arg, const char *key, size_t key_len, zend_long b) argument
1519 add_property_null_ex(zval *arg, const char *key, size_t key_len) argument
1533 add_property_resource_ex(zval *arg, const char *key, size_t key_len, zend_resource *r) argument
1547 add_property_double_ex(zval *arg, const char *key, size_t key_len, double d) argument
1561 add_property_str_ex(zval *arg, const char *key, size_t key_len, zend_string *str) argument
1575 add_property_string_ex(zval *arg, const char *key, size_t key_len, const char *str) argument
1589 add_property_stringl_ex(zval *arg, const char *key, size_t key_len, const char *str, size_t length) argument
1603 add_property_zval_ex(zval *arg, const char *key, size_t key_len, zval *value) argument
2284 clean_module_class(zval *el, void *arg) argument
3277 zval *arg, *params; local
3342 zval *arg; local
[all...]
/PHP_TRUNK/ext/dom/
H A Dcharacterdata.c38 ZEND_ARG_INFO(0, arg)
43 ZEND_ARG_INFO(0, arg)
54 ZEND_ARG_INFO(0, arg)
198 /* {{{ proto void dom_characterdata_append_data(string arg);
207 char *arg; local
210 if (zend_parse_method_parameters(ZEND_NUM_ARGS(), getThis(), "Os", &id, dom_characterdata_class_entry, &arg, &arg_len) == FAILURE) {
220 nodep->content = xmlStrncatNew(nodep->content, arg, arg_len);
222 nodep->content = xmlStrncat(nodep->content, arg, arg_len);
226 xmlTextConcat(nodep, (xmlChar *) arg, arg_len);
232 /* {{{ proto void dom_characterdata_insert_data(int offset, string arg);
241 char *arg; local
345 char *arg; local
[all...]
/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/standard/
H A Dmath.c953 PHPAPI zend_long _php_math_basetolong(zval *arg, int base) argument
959 if (Z_TYPE_P(arg) != IS_STRING || base < 2 || base > 36) {
963 s = Z_STRVAL_P(arg);
965 for (i = Z_STRLEN_P(arg); i > 0; i--) {
997 PHPAPI int _php_math_basetozval(zval *arg, int base, zval *ret) argument
1007 if (Z_TYPE_P(arg) != IS_STRING || base < 2 || base > 36) {
1011 s = Z_STRVAL_P(arg);
1016 for (i = Z_STRLEN_P(arg); i > 0; i--) {
1061 PHPAPI zend_string * _php_math_longtobase(zval *arg, int base) argument
1068 if (Z_TYPE_P(arg) !
1091 _php_math_zvaltobase(zval *arg, int base) argument
1129 zval *arg; local
1145 zval *arg; local
1161 zval *arg; local
1177 zval *arg; local
1193 zval *arg; local
1209 zval *arg; local
[all...]
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));
214 zval *arg; local
217 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z", &arg) == FAILURE) {
220 ZVAL_DEREF(arg);
223 Z_PARAM_ZVAL_DEREF(arg)
270 zval *arg; local
330 zval *arg; local
367 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));
/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/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);

Completed in 84 milliseconds

1234567