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

12

/PHP_5_4/ext/spl/examples/
H A Dfindfile.inc36 $list = split(PATH_SEPARATOR, $path);
37 if (count($list) <= 1) {
41 foreach($list as $path) {
/PHP_5_4/ext/standard/tests/http/
H A Dserver.inc53 list($r, $w, $e) = array(array($sock), null, null);
/PHP_5_4/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_5_4/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_5_4/tests/
H A Dquicktester.inc38 list($left,$right) = explode($operator, $test);
/PHP_5_4/ext/spl/
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...]
H A Dspl_functions.h63 void spl_add_class_name(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC);
64 void spl_add_interfaces(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC);
65 void spl_add_traits(zval * list, zend_class_entry * pce, int allow, int ce_flags TSRMLS_DC);
66 int spl_add_classes(zend_class_entry *pce, zval *list, int sub, int allow, int ce_flags TSRMLS_DC);
H A Dphp_spl.c801 int spl_build_class_list_string(zval **entry, char **list TSRMLS_DC) /* {{{ */
805 spprintf(&res, 0, "%s, %s", *list, Z_STRVAL_PP(entry));
806 efree(*list);
807 *list = res;
815 zval list; local
821 INIT_PZVAL(&list);
822 array_init(&list);
823 SPL_LIST_CLASSES(&list, 0, 1, ZEND_ACC_INTERFACE)
825 zend_hash_apply_with_argument(Z_ARRVAL_P(&list), (apply_func_arg_t)spl_build_class_list_string, &strg TSRMLS_CC);
826 zval_dtor(&list);
[all...]
/PHP_5_4/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_5_4/main/
H A Drfc1867.h71 typedef void (*php_rfc1867_get_detect_order_t)(const zend_encoding ***list, size_t *list_size TSRMLS_DC);
/PHP_5_4/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_multibyte.h32 typedef const zend_encoding *(*zend_encoding_detector)(const unsigned char *string, size_t length, const zend_encoding **list, size_t list_size TSRMLS_DC);
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 TSRMLS_DC);
H A Dzend_vm_gen.php264 $list = array(); // list of opcode handlers and helpers in original order variable
704 global $list, $opcodes, $helpers, $op_types;
715 foreach ($list as $lineno => $dsc) {
743 foreach ($list as $lineno => $dsc) {
1055 $op_types, $list, $opcodes, $helpers, $params, $opnames;
1112 $list[$lineno] = array("handler"=>$handler);
1129 $list[$lineno] = array("helper"=>$helper);
1151 $list[$lineno] = array("helper"=>$helper);
1370 list(
[all...]
/PHP_5_4/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
661 * Even if any illegal encoding is detected the result may contain a list
670 const mbfl_encoding **entry, **list; local
672 list = NULL;
701 /* make list */
702 list = (const mbfl_encoding **)pecalloc(size, sizeof(mbfl_encoding*), persistent);
703 if (list != NULL) {
704 entry = list;
748 *return_list = list;
789 const mbfl_encoding **list, **entry; local
885 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
1204 const mbfl_encoding **list; local
1232 const mbfl_encoding **list; local
1774 char *list, *temp; local
1910 const mbfl_encoding **list = NULL; local
2954 const mbfl_encoding **list; local
3191 const mbfl_encoding **elist, **list; local
4732 php_mb_gpc_get_detect_order(const zend_encoding ***list, size_t *list_size TSRMLS_DC) argument
[all...]
/PHP_5_4/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...]
H A Dphp_odbc_includes.h276 int odbc_add_result(HashTable *list, odbc_result *result);
277 odbc_result *odbc_get_result(HashTable *list, int count);
278 void odbc_del_result(HashTable *list, int count);
279 int odbc_add_conn(HashTable *list, HDBC conn);
280 odbc_connection *odbc_get_conn(HashTable *list, int count);
281 void odbc_del_conn(HashTable *list, int ind);
/PHP_5_4/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++;
1134 * gets an array containing the list of variants, or null
1137 * gets an array containing the list of variants, or null
1600 INTL_CHECK_STATUS(status, "locale_accept_from_http: failed to retrieve locale list");
[all...]
/PHP_5_4/win32/build/
H A Dmkdist.php115 function copy_file_list($source_dir, $dest_dir, $list)
119 foreach ($list as $item) {
274 /* list build-in extensions */
283 /* list dependencies */
478 /* import the package list -- sets $packages variable */
479 include "pear/go-pear-list.php";
/PHP_5_4/ext/exif/
H A Dexif.c1365 union _image_info_value *list; member in union:_image_info_value
1379 image_info_data *list; member in struct:__anon6
1460 Return list of sectionnames specified by sectionlist. Return value must be freed
1499 file_section *list; member in struct:__anon8
1518 xp_field_type *list; member in struct:__anon11
1613 tmp = safe_erealloc(ImageInfo->file.list, (count+1), sizeof(file_section), 0);
1614 ImageInfo->file.list = tmp;
1615 ImageInfo->file.list[count].type = 0xFFFF;
1616 ImageInfo->file.list[count].data = NULL;
1617 ImageInfo->file.list[coun
1679 image_info_data *list; local
1813 image_info_data *list; local
1835 image_info_data *list; local
1876 image_info_data *list; local
[all...]

Completed in 49 milliseconds

12