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

1234567

/PHP_5_5/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_5_5/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_5_5/
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_5_5/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_5_5/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_5_5/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_5_5/ext/intl/collator/
H A Dcollator_convert.h30 zval* collator_normalize_sort_argument( zval* arg );
32 zval* collator_convert_string_to_number( zval* arg );
36 zval* collator_make_printable_zval( zval* arg );
H A Dcollator_convert.c409 * @param zval* arg zval to get string from
413 zval* collator_make_printable_zval( zval* arg )
419 if( Z_TYPE_P(arg) != IS_STRING )
421 zend_make_printable_zval(arg, &arg_copy, &use_copy);
430 str = collator_convert_zstr_utf8_to_utf16( arg );
435 COLLATOR_CONVERT_RETURN_FAILED( arg );
446 * @param zval* arg Sort's argument to normalize.
448 * @return zval* Normalized copy of arg or unmodified arg
451 zval* collator_normalize_sort_argument( zval* arg )
[all...]
/PHP_5_5/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 TSRMLS_DC);
H A Dmb_gpc.c63 if (arg != PARSE_STRING) {
69 php_default_treat_data(arg, str, destArray TSRMLS_CC);
73 switch (arg) {
80 switch (arg) {
97 if (arg==PARSE_POST) {
102 if (arg == PARSE_GET) { /* GET data */
110 } else if (arg == PARSE_COOKIE) { /* Cookie data */
118 } else if (arg == PARSE_STRING) { /* String data */
127 switch (arg) {
138 switch(arg) {
195 _php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res TSRMLS_DC) argument
[all...]
/PHP_5_5/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_5_5/ext/skeleton/
H A Dskeleton.c135 /* {{{ proto string confirm_extname_compiled(string arg)
139 char *arg = NULL; local
143 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &arg, &arg_len) == FAILURE) {
147 len = spprintf(&strg, 0, "Congratulations! You have successfully modified ext/%.78s/config.m4. Module %.78s is now compiled into PHP.", "extname", arg);
/PHP_5_5/ext/standard/
H A Dpack.c139 int arg = 1; local
146 arg = -1;
150 arg = atoi(&format[i]);
158 /* Handle special arg '*' for all codes and check argv overflows */
164 if (arg < 0) {
166 arg = 1;
170 /* Always uses one arg */
184 if (arg < 0) {
189 arg = Z_STRLEN_PP(argv[currentarg]);
194 arg
250 int arg = formatargs[i]; local
320 int arg = formatargs[i]; local
551 int arg = 1, argb; local
[all...]
H A Dtype.c28 zval **arg; local
30 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &arg) == FAILURE) {
34 switch (Z_TYPE_PP(arg)) {
66 res_len = sizeof("object of type ")-1 + Z_OBJCE_P(arg)->name_length;
67 spprintf(&result, 0, "object of type %s", Z_OBJCE_P(arg)->name);
75 const char *type_name = zend_rsrc_list_get_rsrc_type(Z_LVAL_PP(arg) TSRMLS_CC);
217 zval **arg; local
219 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "Z", &arg) == FAILURE) {
223 if (Z_TYPE_PP(arg) == type) {
226 if(Z_OBJ_HT_PP(arg)
316 zval **arg; local
347 zval **arg; local
[all...]
/PHP_5_5/main/
H A Dphp_ticks.c64 static void php_tick_iterator(void *data, void *arg TSRMLS_DC)
69 func(*((int *)arg));
/PHP_5_5/Zend/
H A Dzend_API.c229 ZEND_API char *zend_zval_type_name(const zval *arg) /* {{{ */ argument
231 return zend_get_type_by_const(Z_TYPE_P(arg));
261 static int parse_arg_object_to_string(zval **arg, char **p, int *pl, int type TSRMLS_DC) /* {{{ */ argument
263 if (Z_OBJ_HANDLER_PP(arg, cast_object)) {
266 if (Z_OBJ_HANDLER_P(*arg, cast_object)(*arg, obj, type TSRMLS_CC) == SUCCESS) {
267 zval_ptr_dtor(arg);
268 *arg = obj;
269 *pl = Z_STRLEN_PP(arg);
270 *p = Z_STRVAL_PP(arg);
305 zend_parse_arg_impl(int arg_num, zval **arg, va_list *va, const char **spec, char **error, int *severity TSRMLS_DC) argument
685 zend_parse_arg(int arg_num, zval **arg, va_list *va, const char **spec, int quiet TSRMLS_DC) argument
716 zend_parse_parameter(int flags, int arg_num TSRMLS_DC, zval **arg, const char *spec, ...) argument
736 zval **arg; local
1009 _array_init(zval *arg, uint size ZEND_FILE_LINE_DC) argument
1177 _object_and_properties_init(zval *arg, zend_class_entry *class_type, HashTable *properties ZEND_FILE_LINE_DC TSRMLS_DC) argument
1206 _object_init_ex(zval *arg, zend_class_entry *class_type ZEND_FILE_LINE_DC TSRMLS_DC) argument
1218 add_assoc_function(zval *arg, const char *key, void (*function_ptr)(INTERNAL_FUNCTION_PARAMETERS)) argument
1225 add_assoc_long_ex(zval *arg, const char *key, uint key_len, long n) argument
1236 add_assoc_null_ex(zval *arg, const char *key, uint key_len) argument
1247 add_assoc_bool_ex(zval *arg, const char *key, uint key_len, int b) argument
1258 add_assoc_resource_ex(zval *arg, const char *key, uint key_len, int r) argument
1269 add_assoc_double_ex(zval *arg, const char *key, uint key_len, double d) argument
1280 add_assoc_string_ex(zval *arg, const char *key, uint key_len, char *str, int duplicate) argument
1291 add_assoc_stringl_ex(zval *arg, const char *key, uint key_len, char *str, uint length, int duplicate) argument
1302 add_assoc_zval_ex(zval *arg, const char *key, uint key_len, zval *value) argument
1308 add_index_long(zval *arg, ulong index, long n) argument
1319 add_index_null(zval *arg, ulong index) argument
1330 add_index_bool(zval *arg, ulong index, int b) argument
1341 add_index_resource(zval *arg, ulong index, int r) argument
1352 add_index_double(zval *arg, ulong index, double d) argument
1363 add_index_string(zval *arg, ulong index, const char *str, int duplicate) argument
1374 add_index_stringl(zval *arg, ulong index, const char *str, uint length, int duplicate) argument
1385 add_index_zval(zval *arg, ulong index, zval *value) argument
1391 add_next_index_long(zval *arg, long n) argument
1402 add_next_index_null(zval *arg) argument
1413 add_next_index_bool(zval *arg, int b) argument
1424 add_next_index_resource(zval *arg, int r) argument
1435 add_next_index_double(zval *arg, double d) argument
1446 add_next_index_string(zval *arg, const char *str, int duplicate) argument
1457 add_next_index_stringl(zval *arg, const char *str, uint length, int duplicate) argument
1468 add_next_index_zval(zval *arg, zval *value) argument
1474 add_get_assoc_string_ex(zval *arg, const char *key, uint key_len, const char *str, void **dest, int duplicate) argument
1485 add_get_assoc_stringl_ex(zval *arg, const char *key, uint key_len, const char *str, uint length, void **dest, int duplicate) argument
1496 add_get_index_long(zval *arg, ulong index, long l, void **dest) argument
1507 add_get_index_double(zval *arg, ulong index, double d, void **dest) argument
1518 add_get_index_string(zval *arg, ulong index, const char *str, void **dest, int duplicate) argument
1529 add_get_index_stringl(zval *arg, ulong index, const char *str, uint length, void **dest, int duplicate) argument
1574 add_property_long_ex(zval *arg, const char *key, uint key_len, long n TSRMLS_DC) argument
1592 add_property_bool_ex(zval *arg, const char *key, uint key_len, int b TSRMLS_DC) argument
1610 add_property_null_ex(zval *arg, const char *key, uint key_len TSRMLS_DC) argument
1628 add_property_resource_ex(zval *arg, const char *key, uint key_len, long n TSRMLS_DC) argument
1646 add_property_double_ex(zval *arg, const char *key, uint key_len, double d TSRMLS_DC) argument
1664 add_property_string_ex(zval *arg, const char *key, uint key_len, const char *str, int duplicate TSRMLS_DC) argument
1682 add_property_stringl_ex(zval *arg, const char *key, uint key_len, const char *str, uint length, int duplicate TSRMLS_DC) argument
1700 add_property_zval_ex(zval *arg, const char *key, uint key_len, zval *value TSRMLS_DC) argument
3290 zval **arg, ***params; local
3341 zval **arg; local
[all...]
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 TSRMLS_DC);
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);
/PHP_5_5/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_5_5/ext/mysqlnd/
H A Dmysqlnd_bt.c53 mysqlnd_build_trace_args(zval **arg TSRMLS_DC, int num_args, va_list args, zend_hash_key *hash_key) /* {{{ */
62 * conver_to_string_ex(arg);
63 * append it and kill the now tmp arg.
67 switch (Z_TYPE_PP(arg)) {
74 if (Z_STRLEN_PP(arg) > 15) {
75 TRACE_APPEND_STRL(Z_STRVAL_PP(arg), 15);
79 l_added = Z_STRLEN_PP(arg);
80 TRACE_APPEND_STRL(Z_STRVAL_PP(arg), l_added);
92 if (Z_LVAL_PP(arg)) {
102 long lval = Z_LVAL_PP(arg);
[all...]
/PHP_5_5/Zend/tests/bug67436/
H A Da.php4 public function test($arg = c::TESTCONSTANT) {
5 echo __METHOD__ . "($arg)\n";
/PHP_5_5/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...]

Completed in 44 milliseconds

1234567