Searched defs:list (Results 1 - 25 of 34) sorted by relevance

12

/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...]
H A Dxmlrpc_introspection.c77 /* iterates through a list of structs and finds the one with key "name" matching
80 static inline XMLRPC_VALUE find_named_value(XMLRPC_VALUE list, const char* needle) { argument
81 XMLRPC_VALUE xIter = XMLRPC_VectorRewind(list);
87 xIter = XMLRPC_VectorNext(list);
/PHP_TRUNK/scripts/dev/generate-phpt/src/testcase/
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/ext/mbstring/oniguruma/
H A Dregenc.c12 * notice, this list of conditions and the following disclaimer.
14 * notice, this list of conditions and the following disclaimer in the
845 const OnigCodePoint **list = *plist; local
848 if (IS_NULL(list)) {
849 list = (const OnigCodePoint** )xmalloc(size);
852 list = (const OnigCodePoint** )xrealloc((void* )list, size);
855 if (IS_NULL(list)) return ONIGERR_MEMORY;
857 *plist = list;
/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 TSRMLS_DC) 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 TSRMLS_DC) argument
145 return multibyte_functions.encoding_detector(string, length, list, list_size TSRMLS_CC);
185 const zend_encoding **list = 0; local
193 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, &list, &size, 1 TSRMLS_CC)) {
198 pefree((void*)list, 1);
202 if (FAILURE == zend_multibyte_set_script_encoding(list, size TSRMLS_CC)) {
H A Dzend_ast.c142 zend_ast_list *list; local
146 list = (zend_ast_list *) ast;
147 list->kind = kind;
148 list->attr = 0;
149 list->lineno = CG(zend_lineno);
150 list->children = 0;
170 zend_ast_list *list = zend_ast_get_list(ast); local
171 if (list->children >= 4 && is_power_of_two(list->children)) {
173 list
316 zend_ast_list *list = zend_ast_get_list(ast); local
356 zend_ast_list *list = zend_ast_get_list(ast); local
407 zend_ast_list *list = zend_ast_get_list(ast); local
434 zend_ast_list *list = zend_ast_get_list(ast); local
[all...]
H A Dzend_alloc.c39 * Allocation inside RUNs implemented using linked list of free
236 zend_mm_huge_list *huge_list; /* list of huge allocated blocks */
239 zend_mm_chunk *cached_chunks; /* list of unused chunks */
1135 /* create a linked list of elements from 1 to last */
1149 /* terminate list using NULL */
1521 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
1522 list->ptr = ptr;
1523 list->size = size;
1524 list->next = heap->huge_list;
1526 list
1538 zend_mm_huge_list *list = heap->huge_list; local
1561 zend_mm_huge_list *list = heap->huge_list; local
1578 zend_mm_huge_list *list = heap->huge_list; local
1780 zend_mm_huge_list *list; local
1890 zend_mm_huge_list *list; local
[all...]
H A Dzend_vm_gen.php300 $list = array(); // list of opcode handlers and helpers in original order variable
767 global $list, $opcodes, $helpers, $op_types;
778 foreach ($list as $lineno => $dsc) {
806 foreach ($list as $lineno => $dsc) {
1070 $op_types, $list, $opcodes, $helpers, $params, $opnames;
1127 $list[$lineno] = array("handler"=>$handler);
1144 $list[$lineno] = array("helper"=>$helper);
1166 $list[$lineno] = array("helper"=>$helper);
1387 list(
[all...]
/PHP_TRUNK/ext/opcache/
H A Dzend_persist.c155 zend_ast_list *list = zend_ast_get_list(ast); local
157 sizeof(zend_ast_list) - sizeof(zend_ast *) + sizeof(zend_ast *) * list->children);
158 for (i = 0; i < list->children; i++) {
H A Dzend_persist_calc.c93 zend_ast_list *list = zend_ast_get_list(ast); local
94 ADD_SIZE(sizeof(zend_ast_list) - sizeof(zend_ast *) + sizeof(zend_ast *) * list->children);
95 for (i = 0; i < list->children; i++) {
96 if (list->child[i]) {
97 ADD_SIZE(zend_persist_ast_calc(list->child[i] TSRMLS_CC));
H A Dzend_accelerator_util_funcs.c318 zend_ast_list *list = zend_ast_get_list(ast); local
320 sizeof(zend_ast_list) - sizeof(zend_ast *) + sizeof(zend_ast *) * list->children);
321 copy->kind = list->kind;
322 copy->attr = list->attr;
323 copy->children = list->children;
324 for (i = 0; i < list->children; i++) {
325 if (list->child[i]) {
326 copy->child[i] = zend_ast_clone(list->child[i] TSRMLS_CC);
407 /* Insert into hash collision list */
461 /* Insert into hash collision list */
[all...]
/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 TSRMLS_CC, 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 TSRMLS_CC, E_WARNING, "Birdstep: Not connection index (%ld)", id); RETURN_FALSE; }
227 static int birdstep_add_conn(HashTable *list,VConn *conn,HDBC hdbc TSRMLS_DC) 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 TSRMLS_CC);
338 birdstep_del_conn(list, i
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c981 static inline zend_string *sxe_xmlNodeListGetString(xmlDocPtr doc, xmlNodePtr list, int inLine TSRMLS_DC) /* {{{ */ argument
983 xmlChar *tmp = xmlNodeListGetString(doc, list, inLine);
/PHP_TRUNK/ext/spl/
H A Dphp_spl.c775 int spl_build_class_list_string(zval *entry, char **list TSRMLS_DC) /* {{{ */
779 spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_P(entry));
780 efree(*list);
781 *list = res;
789 zval list; local
795 array_init(&list);
796 SPL_LIST_CLASSES(&list, 0, 1, ZEND_ACC_INTERFACE)
798 zend_hash_apply_with_argument(Z_ARRVAL_P(&list), (apply_func_arg_t)spl_build_class_list_string, &strg TSRMLS_CC);
799 zval_dtor(&list);
803 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 TSRMLS_DC) 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 TSRMLS_DC) argument
100 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags TSRMLS_CC);
106 void spl_add_traits(zval *list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC) argument
111 spl_add_class_name(list, pce->traits[num_traits], allow, ce_flags TSRMLS_CC);
118 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC) argument
123 spl_add_class_name(list, pce, allow, ce_flags TSRMLS_CC);
125 spl_add_interfaces(list, pc
[all...]
/PHP_TRUNK/ext/xmlrpc/
H A Dxmlrpc-epi-php.c318 static int add_long(zval* list, char* id, int num) {
319 if(id) return add_assoc_long(list, id, num);
320 else return add_next_index_long(list, num);
323 static int add_double(zval* list, char* id, double num) {
324 if(id) return add_assoc_double(list, id, num);
325 else return add_next_index_double(list, num);
328 static int add_string(zval* list, char* id, char* string) {
329 if(id) return add_assoc_string(list, id, string);
330 else return add_next_index_string(list, string);
333 static int add_stringl(zval* list, cha
340 add_zval(zval* list, const char* id, zval* val) argument
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c130 * regular list; allowing the same resource in several entries in the
131 * regular list causes trouble (see bug #54623) */
141 if (!regentry) { /* not found in regular list */
245 zend_llist *list = (zend_llist*)Z_PTR_P(item); local
246 zend_llist_destroy(list);
247 efree(list);
263 zend_llist *list = NULL; local
268 list = zend_hash_str_find_ptr(FG(wrapper_errors), (const char*)&wrapper, sizeof(wrapper));
271 if (!list) {
274 list
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c174 fcgi_hash_bucket *list; member in struct:_fcgi_hash
182 h->list = NULL;
214 h->list = NULL;
280 p->list_next = h->list;
281 h->list = p;
328 fcgi_hash_bucket *p = h->list;
989 q = req->env.list;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_cmd.c701 char *list = NULL; local
706 if (!list) {
707 list = malloc(
711 list = realloc(list,
715 memcpy(&list[pos], matched[it]->name, matched[it]->name_len);
718 memcpy(&list[pos], ", ", sizeof(", ")-1);
722 list[pos] = 0;
729 name->str, matches, list);
730 free(list);
[all...]
H A Dphpdbg_prompt.h44 PHPDBG_COMMAND(list); variable
/PHP_TRUNK/ext/intl/locale/
H A Dlocale_methods.c107 /* {{{ return the offset of 'key' in the array 'list'.
109 static int16_t findOffset(const char* const* list, const char* key) argument
111 const char* const* anchor = list;
112 while (*list != NULL) {
113 if (strcmp(key, *list) == 0) {
114 return (int16_t)(list - anchor);
116 list++;
1140 * gets an array containing the list of variants, or null
1143 * gets an array containing the list of variants, or null
1601 INTL_CHECK_STATUS(status, "locale_accept_from_http: failed to retrieve locale list");
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dblock_pass.c333 static inline void replace_source(zend_block_source *list, zend_code_block *old, zend_code_block *new) argument
335 /* replace all references to 'old' in 'list' with 'new' */
339 for (cs = &list; *cs; cs = &((*cs)->next)) {
361 /* delete source 'from' from 'to'-s sources list */
419 /* remove "to" from list */
1268 /* adjust early binding list */

Completed in 70 milliseconds

12