Searched defs:element (Results 1 - 25 of 35) sorted by relevance

12

/PHP_TRUNK/Zend/
H A Dzend_stack.c36 ZEND_API int zend_stack_push(zend_stack *stack, const void *element) argument
43 memcpy(ZEND_STACK_ELEMENT(stack, stack->top), element, stack->size);
105 ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)) argument
128 ZEND_API void zend_stack_apply_with_argument(zend_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg) argument
H A Dzend_extensions.c238 zend_llist_element *element; local
240 for (element = zend_extensions.head; element; element = element->next) {
241 zend_extension *extension = (zend_extension *) element->data;
H A Dzend_llist.c37 ZEND_API void zend_llist_add_element(zend_llist *l, void *element) argument
49 memcpy(tmp->data, element, l->size);
55 ZEND_API void zend_llist_prepend_element(zend_llist *l, void *element) argument
67 memcpy(tmp->data, element, l->size);
91 ZEND_API void zend_llist_del_element(zend_llist *l, void *element, int (*compare)(void *element1, void *element2)) argument
96 if (compare(current->data, element)) {
167 zend_llist_element *element, *next; local
169 element=l->head;
170 while (element) {
171 next = element
182 zend_llist_element *element; local
194 zend_llist_element *element, **ptr; local
225 zend_llist_element *element; local
235 zend_llist_element *element; local
[all...]
/PHP_TRUNK/ext/gd/libgd/
H A Dgdft.c337 static int fontTest (void *element, void *key) argument
339 font_t *a = (font_t *) element;
547 static void fontRelease (void *element) argument
549 font_t *a = (font_t *) element;
553 gdPFree((char *) element);
559 static int tweenColorTest (void *element, void *key) argument
561 tweencolor_t *a = (tweencolor_t *) element;
620 static void tweenColorRelease (void *element) argument
622 gdFree((char *) element);
/PHP_TRUNK/ext/dom/
H A Ddocument.c38 xmlNode *element; member in struct:_idsIterator
/PHP_TRUNK/ext/filter/
H A Dfilter.c487 zval *element; local
493 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(value), element) {
494 SEPARATE_ZVAL_IF_NOT_REF(element);
495 if (Z_TYPE_P(element) == IS_ARRAY) {
496 Z_ARRVAL_P(element)->u.v.nApplyCount++;
497 php_zval_filter_recursive(element, filter, flags, options, charset, copy TSRMLS_CC);
498 Z_ARRVAL_P(element)->u.v.nApplyCount--;
500 php_zval_filter(element, filter, flags, options, charset, copy TSRMLS_CC);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_driver.c101 MYSQLND_ERROR_LIST_ELEMENT * element = (MYSQLND_ERROR_LIST_ELEMENT *) pDest; local
106 if (element->error) {
107 mnd_pefree(element->error, TRUE);
/PHP_TRUNK/ext/oci8/
H A Doci8_collection.c134 /* get collection element handle */
294 Append NULL element to the end of the collection */
301 /* append NULL element */
315 Append DATE element to the end of the collection (use "DD-MON-YY" format) */
397 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len TSRMLS_DC) argument
404 PHP_OCI_CALL_RETURN(errstatus, OCIStringAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr));
434 Append wrapper. Appends any supported element to the end of the collection */
435 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len TSRMLS_DC) argument
443 return php_oci_collection_append_date(collection, element, element_len TSRMLS_CC);
447 return php_oci_collection_append_string(collection, element, element_le
479 dvoid *element; local
691 php_oci_collection_element_set_string(php_oci_collection *collection, zend_long index, char *element, int element_len TSRMLS_DC) argument
[all...]
H A Doci8_interface.c1391 zval element, tmp; local
1427 php_oci_column_to_zval(columns[ i ], &element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
1430 zend_hash_next_index_insert(Z_ARRVAL(row), &element); local
1432 zend_symtable_update(Z_ARRVAL(row), zend_string_init(columns[ i ]->name, columns[ i ]->name_len+1, 0), &element);
1468 php_oci_column_to_zval(columns[ i ], &element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
1469 zend_hash_index_update(&(outarrs[ i ])->value.arr->ht, rows, &element);
2293 Assign element val to collection at index ndx */
/PHP_TRUNK/ext/pcntl/
H A Dpcntl.c744 zval *element; local
768 ZEND_HASH_FOREACH_VAL(args_hash, element) {
770 convert_to_string_ex(element);
771 *current_arg = Z_STRVAL_P(element);
788 ZEND_HASH_FOREACH_KEY_VAL(envs_hash, key_num, key, element) {
796 convert_to_string_ex(element);
798 /* Length of element + equal sign + length of key + null */
799 pair_length = Z_STRLEN_P(element) + key->len + 2;
803 strlcat(*pair, Z_STRVAL_P(element), pair_length);
/PHP_TRUNK/ext/soap/
H A Dphp_schema.c39 static int schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlContentModelPtr model);
160 Content: ((include | import | redefine | annotation)*, (((simpleType | complexType | group | attributeGroup) | element | attribute | notation), annotation*)*)
280 } else if (node_is_equal(trav,"element")) {
317 /* Anonymous type inside <element> or <restriction> */
453 soap_error0(E_ERROR, "Parsing Schema: element has both 'itemType' attribute and subtype");
1014 Content: (annotation?, element*)
1040 if (node_is_equal(trav,"element")) {
1190 Content: (annotation?, (element | group | choice | sequence | any)*)
1216 if (node_is_equal(trav,"element")) {
1240 Content: (annotation?, (element | grou
1490 schema_element(sdlPtr sdl, xmlAttrPtr tns, xmlNodePtr element, sdlTypePtr cur_type, sdlContentModelPtr model) argument
[all...]
H A Dphp_sdl.h100 sdlTypePtr element; member in struct:_sdlSoapBindingFunctionHeader
170 sdlTypePtr element; /* pointer to element */ member in union:_sdlContentModel::__anon204
217 sdlTypePtr element; member in struct:_sdlParam
/PHP_TRUNK/ext/sockets/
H A Dsockets.c768 zval *element; local
774 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(sock_array), element) {
775 php_sock = (php_socket*) zend_fetch_resource(element TSRMLS_CC, -1, le_socket_name, NULL, 1, le_socket);
776 if (!php_sock) continue; /* If element is not a resource, skip it */
791 zval *element; local
802 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(sock_array), num_key, key, element) {
803 php_sock = (php_socket*) zend_fetch_resource(element TSRMLS_CC, -1, le_socket_name, NULL, 1, le_socket);
804 if (!php_sock) continue; /* If element is not a resource, skip it */
809 dest_element = zend_hash_add(Z_ARRVAL(new_hash), key, element);
811 dest_element = zend_hash_index_update(Z_ARRVAL(new_hash), num_key, element);
[all...]
/PHP_TRUNK/ext/spl/
H A Dphp_spl.c393 static void autoload_func_info_dtor(zval *element) argument
395 autoload_func_info *alfi = (autoload_func_info*)Z_PTR_P(element);
579 /* Move the newly created element to the head of the hashtable */
593 /* Move the newly created element to the head of the hashtable */
H A Dspl_fixedarray.c685 zval *element; local
710 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(data), num_index, str_index, element) {
711 ZVAL_DEREF(element);
712 ZVAL_COPY(&array->elements[num_index], element);
716 zval *element; local
721 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(data), element) {
722 ZVAL_DEREF(element);
723 ZVAL_COPY(&array->elements[i], element);
H A Dspl_heap.c627 extract the element out of the top of the heap */
687 extract the element out of the top of the priority queue */
729 Peek at the top element of the priority queue */
849 Peek at the top element of the heap */
916 /* do nothing, the iterator always points to the top element */
929 zval *element = &object->heap->elements[0]; local
936 if (object->heap->count == 0 || Z_ISUNDEF_P(element)) {
939 return element;
947 zval *element = &object->heap->elements[0]; local
954 if (object->heap->count == 0 || Z_ISUNDEF_P(element)) {
1052 zval *element = &intern->heap->elements[0]; local
1071 zval *element = &intern->heap->elements[0]; local
[all...]
H A Dspl_dllist.c55 #define SPL_DLLIST_IT_DELETE 0x00000001 /* Delete flag makes the iterator delete the current element on next */
587 Pop an element out of the SplDoublyLinkedList */
607 Shift an element out of the SplDoublyLinkedList */
627 Peek at the top element of the SplDoublyLinkedList */
650 Peek at the bottom element of the SplDoublyLinkedList */
769 spl_ptr_llist_element *element; local
783 element = spl_ptr_llist_offset(intern->llist, index, intern->flags & SPL_DLLIST_IT_LIFO);
785 if (element != NULL) {
786 RETURN_ZVAL(&element->data, 1, 0);
812 spl_ptr_llist_element *element; local
854 spl_ptr_llist_element *element; local
986 spl_ptr_llist_element *element = iterator->traverse_pointer; local
995 spl_ptr_llist_element *element = iterator->traverse_pointer; local
1099 spl_ptr_llist_element *element = intern->traverse_pointer; local
1223 spl_ptr_llist_element *element; local
[all...]
H A Dspl_observer.c185 static void spl_object_storage_dtor(zval *element) /* {{{ */ argument
187 spl_SplObjectStorageElement *el = Z_PTR_P(element);
200 spl_SplObjectStorageElement *pelement, element; local
220 ZVAL_COPY(&element.obj, obj);
222 ZVAL_COPY(&element.inf, inf);
224 ZVAL_NULL(&element.inf);
226 pelement = zend_hash_update_mem(&intern->storage, hash, &element, sizeof(spl_SplObjectStorageElement));
245 spl_SplObjectStorageElement *element; local
247 ZEND_HASH_FOREACH_PTR(&other->storage, element) {
248 spl_object_storage_attach(intern, this, &element
311 spl_SplObjectStorageElement *element; local
358 spl_SplObjectStorageElement *element; local
487 spl_SplObjectStorageElement *element; local
536 spl_SplObjectStorageElement *element; local
564 spl_SplObjectStorageElement *element; local
611 zval *element; local
668 spl_SplObjectStorageElement *element; local
685 spl_SplObjectStorageElement *element; local
702 spl_SplObjectStorageElement *element; local
737 spl_SplObjectStorageElement *element; local
799 spl_SplObjectStorageElement *element; local
1042 spl_SplObjectStorageElement *element; local
1070 spl_SplObjectStorageElement *element; local
1093 spl_SplObjectStorageElement *element; local
1116 spl_SplObjectStorageElement *element; local
1157 spl_SplObjectStorageElement *element; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dproc_open.c78 zval *element; local
110 ZEND_HASH_FOREACH_STR_KEY_VAL(target_hash, string_key, element) {
111 zend_string *str = zval_get_string(element);
134 ZEND_HASH_FOREACH_STR_KEY_VAL(target_hash, string_key, element) {
135 zend_string *str = zval_get_string(element);
H A Diptc.c306 zval values, *element; local
355 if ((element = zend_hash_str_find(Z_ARRVAL_P(return_value), key, strlen(key))) == NULL) {
358 element = zend_hash_str_update(Z_ARRVAL_P(return_value), key, strlen(key), &values);
361 add_next_index_stringl(element, buffer+inx, len);
/PHP_TRUNK/ext/xml/
H A Dxml.c678 zval *element; local
684 if ((element = zend_hash_str_find(Z_ARRVAL(parser->info), name, strlen(name))) == NULL) {
687 element = zend_hash_str_update(Z_ARRVAL(parser->info), name, strlen(name), &values);
690 add_next_index_long(element, parser->curtag);
1192 Set up start and end element handlers */
/PHP_TRUNK/main/
H A Dphp_ini.c622 zend_llist_element *element; local
690 for (element = scanned_ini_list.head; element; element = element->next) {
694 strlcat(php_ini_scanned_files, *(char **)element->data, total_l);
695 strlcat(php_ini_scanned_files, element->next ? ",\n" : "\n", total_l);
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c306 /* {{{ proto void phpdbg_color(integer element, string color) */
309 long element = 0L; local
313 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ls", &element, &color, &color_len) == FAILURE) {
317 switch (element) {
321 phpdbg_set_color_ex(element, color, color_len TSRMLS_CC);
347 ZEND_ARG_INFO(0, element)
H A Dphpdbg_utils.c344 PHPDBG_API void phpdbg_set_color(int element, const phpdbg_color_t *color TSRMLS_DC) /* {{{ */ argument
346 PHPDBG_G(colors)[element] = color;
349 PHPDBG_API void phpdbg_set_color_ex(int element, const char *name, size_t name_length TSRMLS_DC) /* {{{ */ argument
354 phpdbg_set_color(element, color TSRMLS_CC);
355 } else PHPDBG_G(colors)[element] = colors;
364 const phpdbg_element_t *element = elements; local
366 while (element && element->name) {
367 if (len == element->name_length) {
368 if (strncasecmp(name, element
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c187 static int wddx_stack_push(wddx_stack *stack, void *element, int size) argument
194 memcpy(stack->elements[stack->top], element, size);
201 static int wddx_stack_top(wddx_stack *stack, void **element) argument
204 *element = stack->elements[stack->top - 1];
207 *element = NULL;

Completed in 74 milliseconds

12