Searched refs:list (Results 1 - 25 of 57) sorted by relevance

123

/PHP_TRUNK/ext/spl/examples/
H A Dfindfile.inc36 $list = split(PATH_SEPARATOR, $path);
37 if (count($list) <= 1) {
41 foreach($list as $path) {
/PHP_TRUNK/scripts/dev/generate-phpt/src/testcase/
H A DgtBasicTestCaseFunction.php50 // Construct the argument list to pass to the function being tested
53 foreach($lists as $list){
56 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtBasicTestCaseMethod.php44 foreach($lists as $list){
45 $this->testCase[] = "var_dump( \$class->".$this->subject->getName()."( ".$list." ) );";
H A DgtErrorTestCaseFunction.php46 $list = $this->subject->getExtraArgumentList(); variable
48 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
50 $list = $this->subject->getShortArgumentList(); variable
52 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtErrorTestCaseMethod.php48 // Construct the argument list to pass to the method being tested
49 $list = $this->subject->getExtraArgumentList(); variable
51 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
53 $list = $this->subject->getShortArgumentList(); variable
55 $this->testCase[] = "var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtVariationTestCaseFunction.php53 // Construct the argument list to pass to the function being tested
56 $list = implode(", ", $argumentList); variable
59 $this->testCase[] = " var_dump(".$this->subject->getName()."( ".$list." ) );";
H A DgtVariationTestCaseMethod.php55 // Construct the argument list to pass to the method being tested
58 $list = implode(", ", $argumentList); variable
61 $this->testCase[] = " var_dump(\$class->".$this->subject->getName()."( ".$list." ) );";
/PHP_TRUNK/tests/
H A Dquicktester.inc38 list($left,$right) = explode($operator, $test);
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dqueue.c38 * itself to have a list of cursors.
61 * To create a double list:
71 * To create a sorted list:
107 static void QuickSort(void *list[], int low, int high,
715 static void QuickSort(void *list[], int low, int high, argument
725 key = list[ low ];
729 while(Comp(list[i], key) < 0)
733 while(Comp(list[j], key) > 0)
737 temp = list[i];
738 list[
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_functions.h63 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags);
64 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags);
65 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags);
66 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags);
H A Dphp_spl.c777 int spl_build_class_list_string(zval *entry, char **list) /* {{{ */ argument
781 spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_P(entry));
782 efree(*list);
783 *list = res;
791 zval list; local
797 array_init(&list);
798 SPL_LIST_CLASSES(&list, 0, 1, ZEND_ACC_INTERFACE)
800 zend_hash_apply_with_argument(Z_ARRVAL_P(&list), (apply_func_arg_t)spl_build_class_list_string, &strg);
801 zval_dtor(&list);
805 array_init(&list);
[all...]
H A Dspl_functions.c80 void spl_add_class_name(zval *list, zend_class_entry *pce, int allow, int ce_flags) argument
85 if ((tmp = zend_hash_find(Z_ARRVAL_P(list), pce->name)) == NULL) {
88 zend_hash_add(Z_ARRVAL_P(list), pce->name, &t);
95 void spl_add_interfaces(zval *list, zend_class_entry * pce, int allow, int ce_flags) argument
100 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags);
106 void spl_add_traits(zval *list, zend_class_entry * pce, int allow, int ce_flags) argument
111 spl_add_class_name(list, pce->traits[num_traits], allow, ce_flags);
118 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags) argument
123 spl_add_class_name(list, pce, allow, ce_flags);
125 spl_add_interfaces(list, pc
[all...]
/PHP_TRUNK/Zend/
H A Dzend_multibyte.c43 static const zend_encoding *dummy_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, size_t list_size) argument
143 ZEND_API const zend_encoding *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, size_t list_size) argument
145 return multibyte_functions.encoding_detector(string, length, list, list_size);
185 const zend_encoding **list = 0; local
193 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, &list, &size, 1)) {
198 pefree((void*)list, 1);
202 if (FAILURE == zend_multibyte_set_script_encoding(list, size)) {
H A Dzend_multibyte.h32 typedef const zend_encoding *(*zend_encoding_detector)(const unsigned char *string, size_t length, const zend_encoding **list, size_t list_size);
68 ZEND_API const zend_encoding *zend_multibyte_encoding_detector(const unsigned char *string, size_t length, const zend_encoding **list, size_t list_size);
H A Dzend_alloc.c39 * Allocation inside RUNs implemented using linked list of free
250 zend_mm_huge_list *huge_list; /* list of huge allocated blocks */
253 zend_mm_chunk *cached_chunks; /* list of unused chunks */
1204 /* create a linked list of elements from 1 to last */
1218 /* terminate list using NULL */
1588 zend_mm_huge_list *list = (zend_mm_huge_list*)zend_mm_alloc_heap(heap, sizeof(zend_mm_huge_list) ZEND_FILE_LINE_RELAY_CC ZEND_FILE_LINE_ORIG_RELAY_CC); local
1589 list->ptr = ptr;
1590 list->size = size;
1591 list->next = heap->huge_list;
1593 list
1605 zend_mm_huge_list *list = heap->huge_list; local
1628 zend_mm_huge_list *list = heap->huge_list; local
1645 zend_mm_huge_list *list = heap->huge_list; local
1850 zend_mm_huge_list *list; local
1960 zend_mm_huge_list *list; local
[all...]
H A Dzend_ast.c144 zend_ast_list *list; local
147 list = (zend_ast_list *) ast;
148 list->kind = kind;
149 list->attr = 0;
150 list->lineno = CG(zend_lineno);
151 list->children = 0;
171 zend_ast_list *list = zend_ast_get_list(ast); local
172 if (list->children >= 4 && is_power_of_two(list->children)) {
173 list
362 zend_ast_list *list = zend_ast_get_list(ast); local
425 zend_ast_list *list = zend_ast_get_list(ast); local
479 zend_ast_list *list = zend_ast_get_list(ast); local
506 zend_ast_list *list = zend_ast_get_list(ast); local
712 zend_ast_export_list(smart_str *str, zend_ast_list *list, int separator, int priority, int indent) argument
725 zend_ast_export_encaps_list(smart_str *str, char quote, zend_ast_list *list, int indent) argument
754 zend_ast_export_name_list(smart_str *str, zend_ast_list *list, int indent) argument
767 zend_ast_export_var_list(smart_str *str, zend_ast_list *list, int indent) argument
788 zend_ast_list *list = (zend_ast_list*)ast; local
822 zend_ast_export_if_stmt(smart_str *str, zend_ast_list *list, int indent) argument
[all...]
H A Dzend_compile.c1463 void** list = *(void**)result; local
1466 if (list) {
1467 while (list[n]) {
1472 list = erealloc(list, sizeof(void*) * (n+2));
1474 list[n] = item;
1475 list[n+1] = NULL;
1477 *(void**)result = list;
1726 zend_ast *zend_ast_append_doc_comment(zend_ast *list) /* {{{ */ argument
1729 list
2418 zend_ast_list *list = zend_ast_get_list(ast); local
2490 zend_ast_list *list = zend_ast_get_list(list_ast); local
3711 zend_ast_list *list; local
3849 zend_ast_list *list = zend_ast_get_list(ast); local
4210 zend_ast_list *list = zend_ast_get_list(ast); local
4272 zend_ast_list *list = zend_ast_get_list(ast); local
4446 zend_ast_list *list = zend_ast_get_list(ast); local
4759 zend_ast_list *list = zend_ast_get_list(ast); local
4814 zend_ast_list *list = zend_ast_get_list(ast); local
4871 zend_ast_list *list = zend_ast_get_list(ast); local
4987 zend_ast_list *list = zend_ast_get_list(ast); local
5276 zend_ast_list *list = zend_ast_get_list(ast); local
5385 zend_ast_list *list = zend_ast_get_list(ast->child[1]); local
5404 zend_ast_list *list = zend_ast_get_list(ast); local
5669 zend_ast_list *list = zend_ast_get_list(ast); local
6316 zend_ast_list *list = zend_ast_get_list(ast); local
6398 zend_ast_list *list = zend_ast_get_list(last); local
6548 zend_ast_list *list = zend_ast_get_list(ast); local
6834 zend_ast_list *list = zend_ast_get_list(ast); local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c601 char *list = NULL; local
606 if (!list) {
607 list = emalloc(matched[it]->name_len + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0));
609 list = erealloc(list, (pos + matched[it]->name_len) + 1 + (it + 1 < matches ? sizeof(", ") - 1 : 0));
611 memcpy(&list[pos], matched[it]->name, matched[it]->name_len);
614 memcpy(&list[pos], ", ", sizeof(", ") - 1);
618 list[pos] = 0;
623 phpdbg_error("command", "type=\"ambiguous\" command=\"%s\" matches=\"%lu\" matched=\"%s\"", "The command \"%s\" is ambigious, matching %lu commands (%s)", name->str, matches, list);
624 efree(list);
[all...]
H A Dphpdbg_prompt.h47 PHPDBG_COMMAND(list); variable
/PHP_TRUNK/ext/odbc/
H A Dbirdstep.c162 #define PHP_GET_BIRDSTEP_RES_IDX(id) if (!(res = birdstep_find_result(list, id))) { php_error_docref(NULL, E_WARNING, "Birdstep: Not result index (%ld)", id); RETURN_FALSE; }
163 #define PHP_BIRDSTEP_CHK_LNK(id) if (!(conn = birdstep_find_conn(list, id))) { php_error_docref(NULL, E_WARNING, "Birdstep: Not connection index (%ld)", id); RETURN_FALSE; }
227 static int birdstep_add_conn(HashTable *list,VConn *conn,HDBC hdbc) argument
238 static VConn * birdstep_find_conn(HashTable *list,int ind) argument
250 static void birdstep_del_conn(HashTable *list,int ind) argument
255 static int birdstep_add_result(HashTable *list,Vresult *res,VConn *conn) argument
266 static Vresult * birdstep_find_result(HashTable *list,int ind) argument
278 static void birdstep_del_result(HashTable *list,int ind) argument
317 ind = birdstep_add_conn(list,new,hdbc);
338 birdstep_del_conn(list, i
[all...]
H A Dphp_odbc_includes.h270 int odbc_add_result(HashTable *list, odbc_result *result);
271 odbc_result *odbc_get_result(HashTable *list, int count);
272 void odbc_del_result(HashTable *list, int count);
273 int odbc_add_conn(HashTable *list, HDBC conn);
274 odbc_connection *odbc_get_conn(HashTable *list, int count);
275 void odbc_del_conn(HashTable *list, int ind);
/PHP_TRUNK/main/
H A Drfc1867.h71 typedef void (*php_rfc1867_get_detect_order_t)(const zend_encoding ***list, size_t *list_size);
/PHP_TRUNK/ext/exif/
H A Dexif.c1353 union _image_info_value *list; member in union:_image_info_value
1367 image_info_data *list; member in struct:__anon8
1448 Return list of sectionnames specified by sectionlist. Return value must be freed
1487 file_section *list; member in struct:__anon10
1506 xp_field_type *list; member in struct:__anon13
1601 tmp = safe_erealloc(ImageInfo->file.list, (count+1), sizeof(file_section), 0);
1602 ImageInfo->file.list = tmp;
1603 ImageInfo->file.list[count].type = 0xFFFF;
1604 ImageInfo->file.list[count].data = NULL;
1605 ImageInfo->file.list[coun
1667 image_info_data *list; local
1801 image_info_data *list; local
1823 image_info_data *list; local
1864 image_info_data *list; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c103 static void php_mb_gpc_get_detect_order(const zend_encoding ***list, size_t *list_size);
112 const enum mbfl_no_encoding *list; member in struct:_php_mb_nls_ident_list
684 * Even if any illegal encoding is detected the result may contain a list
693 const mbfl_encoding **entry, **list; local
695 list = NULL;
724 /* make list */
725 list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent);
726 if (list != NULL) {
727 entry = list;
771 *return_list = list;
812 const mbfl_encoding **list, **entry; local
903 php_mb_zend_encoding_detector(const unsigned char *arg_string, size_t arg_length, const zend_encoding **list, size_t list_size) argument
1222 const mbfl_encoding **list; local
1250 const mbfl_encoding **list; local
1802 char *list, *temp; local
1939 const mbfl_encoding **list = NULL; local
3009 const mbfl_encoding **list; local
3248 const mbfl_encoding **elist, **list; local
4761 php_mb_gpc_get_detect_order(const zend_encoding ***list, size_t *list_size) argument
[all...]
/PHP_TRUNK/ext/xmlrpc/
H A Dxmlrpc-epi-php.c316 static int add_long(zval* list, char* id, int num) {
317 if(id) return add_assoc_long(list, id, num);
318 else return add_next_index_long(list, num);
321 static int add_double(zval* list, char* id, double num) {
322 if(id) return add_assoc_double(list, id, num);
323 else return add_next_index_double(list, num);
326 static int add_string(zval* list, char* id, char* string) {
327 if(id) return add_assoc_string(list, id, string);
328 else return add_next_index_string(list, string);
331 static int add_stringl(zval* list, cha
338 add_zval(zval* list, const char* id, zval* val) argument
[all...]

Completed in 79 milliseconds

123