Searched defs:list (Results 1 - 25 of 29) 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/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++;
1124 * gets an array containing the list of variants, or null
1127 * gets an array containing the list of variants, or null
1590 INTL_CHECK_STATUS(status, "locale_accept_from_http: failed to retrieve locale list");
[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 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(list, 1);
202 if (FAILURE == zend_multibyte_set_script_encoding(list, size TSRMLS_CC)) {
H A Dzend_vm_gen.php276 $list = array(); // list of opcode handlers and helpers in original order variable
747 global $list, $opcodes, $helpers, $op_types;
758 foreach ($list as $lineno => $dsc) {
786 foreach ($list as $lineno => $dsc) {
1061 $op_types, $list, $opcodes, $helpers, $params, $opnames;
1118 $list[$lineno] = array("handler"=>$handler);
1135 $list[$lineno] = array("helper"=>$helper);
1157 $list[$lineno] = array("helper"=>$helper);
1378 list(
[all...]
H A Dzend_hash.c168 /* Deleting the head of the list */
174 /* Deleting the tail of the list */
1026 * the end of the list
1293 * The elements between offset and offset+length are removed and the elements in list[list_count]
1297 ZEND_API void _zend_hash_splice(HashTable *ht, uint nDataSize, copy_ctor_func_t pCopyConstructor, uint offset, uint length, void **list, uint list_count, HashTable *removed ZEND_FILE_LINE_DC) /* {{{ */ argument
1334 if (list != NULL) {
1337 /* Add new element only to the global linked list, not the bucket list.
1343 INIT_DATA(ht, q, list[i], nDataSize);
/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/spl/
H A Dphp_spl.c810 int spl_build_class_list_string(zval **entry, char **list TSRMLS_DC) /* {{{ */
814 spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_PP(entry));
815 efree(*list);
816 *list = res;
824 zval list; local
830 INIT_PZVAL(&list);
831 array_init(&list);
832 SPL_LIST_CLASSES(&list, 0, 1, ZEND_ACC_INTERFACE)
834 zend_hash_apply_with_argument(Z_ARRVAL_P(&list), (apply_func_arg_t)spl_build_class_list_string, &strg TSRMLS_CC);
835 zval_dtor(&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
86 if (zend_hash_find(Z_ARRVAL_P(list), pce->name, len+1, (void*)&tmp) == FAILURE) {
89 zend_hash_add(Z_ARRVAL_P(list), pce->name, len+1, &tmp, sizeof(zval *), NULL);
96 void spl_add_interfaces(zval *list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC) argument
101 spl_add_class_name(list, pce->interfaces[num_interfaces], allow, ce_flags TSRMLS_CC);
107 void spl_add_traits(zval *list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC) argument
112 spl_add_class_name(list, pce->traits[num_traits], allow, ce_flags TSRMLS_CC);
119 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC) argument
124 spl_add_class_name(list, pce, allow, ce_flags TSRMLS_CC);
126 spl_add_interfaces(list, pc
[all...]
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c175 fcgi_hash_bucket *list; member in struct:_fcgi_hash
183 h->list = NULL;
215 h->list = NULL;
281 p->list_next = h->list;
282 h->list = p;
329 fcgi_hash_bucket *p = h->list;
990 q = req->env.list;
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dblock_pass.c334 static inline void replace_source(zend_block_source *list, zend_code_block *old, zend_code_block *new) argument
336 /* replace all references to 'old' in 'list' with 'new' */
340 for (cs = &list; *cs; cs = &((*cs)->next)) {
362 /* delete source 'from' from 'to'-s sources list */
421 /* remove "to" from list */
1300 /* adjust early binding list */
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_compile.c16 this list of conditions and the following disclaimer.
19 notice, this list of conditions and the following disclaimer in the
106 end. Each entry in this list occupies LINK_SIZE bytes, so even when LINK_SIZE
121 workspace. The value is the number of slots in the list. */
278 library is dynamically loaded. The list of lengths is terminated by a zero
2364 we have to scan up the list that is kept in the workspace. This function is
2838 * Fill the character property list *
2842 possessification, and if so, fills a list with its properties.
2848 list points to output list
2859 get_chr_property_list(const pcre_uchar *code, BOOL utf, const pcre_uint8 *fcc, pcre_uint32 *list) argument
3068 pcre_uint32 list[8]; local
3580 pcre_uint32 list[8]; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmbstring.c104 static void php_mb_gpc_get_detect_order(const zend_encoding ***list, size_t *list_size TSRMLS_DC);
113 const enum mbfl_no_encoding *list; member in struct:_php_mb_nls_ident_list
689 * Even if any illegal encoding is detected the result may contain a list
698 const mbfl_encoding **entry, **list; local
700 list = NULL;
729 /* make list */
730 list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent);
731 if (list != NULL) {
732 entry = list;
776 *return_list = list;
817 const mbfl_encoding **list, **entry; local
913 php_mb_zend_encoding_detector(const unsigned char *arg_string, size_t arg_length, const zend_encoding **list, size_t list_size TSRMLS_DC) argument
1232 const mbfl_encoding **list; local
1260 const mbfl_encoding **list; local
1796 char *list, *temp; local
1932 const mbfl_encoding **list = NULL; local
2978 const mbfl_encoding **list; local
3215 const mbfl_encoding **elist, **list; local
4756 php_mb_gpc_get_detect_order(const zend_encoding ***list, size_t *list_size TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c988 static inline char * sxe_xmlNodeListGetString(xmlDocPtr doc, xmlNodePtr list, int inLine) /* {{{ */ argument
990 xmlChar *tmp = xmlNodeListGetString(doc, list, inLine);
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c2123 soap_error0(E_ERROR, "Encoding: '*' may only be first arraySize value in list");
2154 soap_error0(E_ERROR, "Encoding: '*' may only be first arraySize value in list");
3106 smart_str list = {0}; local
3113 if (list.len != 0) {
3114 smart_str_appendc(&list, ' ');
3116 smart_str_appends(&list, (char*)dummy->children->content);
3124 smart_str_0(&list);
3125 xmlNodeSetContentLen(ret, BAD_CAST(list.c), list.len);
3126 smart_str_free(&list);
3130 smart_str list = {0}; local
[all...]
/PHP_TRUNK/ext/xmlrpc/
H A Dxmlrpc-epi-php.c319 static int add_long(zval* list, char* id, int num) {
320 if(id) return add_assoc_long(list, id, num);
321 else return add_next_index_long(list, num);
324 static int add_double(zval* list, char* id, double num) {
325 if(id) return add_assoc_double(list, id, num);
326 else return add_next_index_double(list, num);
329 static int add_string(zval* list, char* id, char* string, int duplicate) {
330 if(id) return add_assoc_string(list, id, string, duplicate);
331 else return add_next_index_string(list, string, duplicate);
334 static int add_stringl(zval* list, cha
341 add_zval(zval* list, const char* id, zval** val) argument
[all...]
/PHP_TRUNK/ext/standard/
H A Darray.c1814 PHPAPI void php_splice(HashTable *ht, zend_uint offset, zend_uint length, zval ***list, zend_uint list_count, HashTable *removed TSRMLS_DC) /* {{{ */ argument
1816 zend_hash_splice(ht, sizeof(zval *), (copy_ctor_func_t) zval_add_ref, offset, length, (void **) list, list_count, removed);
2913 Bucket ***lists, **list, ***ptrs, *p; local
3012 /* for each argument, create and sort list with pointers to the hash buckets */
3032 list = (Bucket **) pemalloc((hash->nNumOfElements + 1) * sizeof(Bucket *), hash->persistent);
3033 if (!list) {
3041 lists[i] = list;
3042 ptrs[i] = list;
3044 *list++ = p;
3046 *list
3331 Bucket ***lists, **list, ***ptrs, *p; local
[all...]
/PHP_TRUNK/main/streams/
H A Dstreams.c129 * regular list; allowing the same resource in several entries in the
130 * regular list causes trouble (see bug #54623) */
143 if (index == -1) { /* not found in regular list */
162 zend_llist *list = NULL; local
167 sizeof wrapper, (void**)&list);
168 return list;
262 zend_llist *list = NULL; local
269 sizeof wrapper, (void**)&list);
272 if (!list) {
276 sizeof wrapper, &new_list, sizeof new_list, (void**)&list);
[all...]
/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

Completed in 78 milliseconds

12