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

12

/PHP_5_6/Zend/
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)) {
173 zend_llist_element *element, *next; local
175 element=l->head;
176 while (element) {
177 next = element
188 zend_llist_element *element; local
200 zend_llist_element *element, **ptr; local
231 zend_llist_element *element; local
241 zend_llist_element *element; local
[all...]
H A Dzend_stack.c33 ZEND_API int zend_stack_push(zend_stack *stack, const void *element, int size) argument
43 memcpy(stack->elements[stack->top], element, size);
48 ZEND_API int zend_stack_top(const zend_stack *stack, void **element) argument
51 *element = stack->elements[stack->top - 1];
54 *element = NULL;
119 ZEND_API void zend_stack_apply(zend_stack *stack, int type, int (*apply_function)(void *element)) argument
142 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_virtual_cwd.c105 static int php_check_dots(const char *element, int n) argument
107 while (n-- > 0) if (element[n] != '.') break;
112 #define IS_DIRECTORY_UP(element, len) \
113 (len >= 2 && !php_check_dots(element, len))
115 #define IS_DIRECTORY_CURRENT(element, len) \
116 (len == 1 && element[0] == '.')
133 #define IS_DIRECTORY_UP(element, len) \
134 (len == 2 && element[0] == '.' && element[1] == '.')
138 #define IS_DIRECTORY_CURRENT(element, le
[all...]
H A Dzend_extensions.c232 zend_llist_element *element; local
234 for (element = zend_extensions.head; element; element = element->next) {
235 zend_extension *extension = (zend_extension *) element->data;
/PHP_5_6/ext/filter/
H A Dfilter.c500 zval **element; local
508 zend_hash_get_current_data_ex(Z_ARRVAL_PP(value), (void **) &element, &pos) == SUCCESS;
511 SEPARATE_ZVAL_IF_NOT_REF(element);
512 if (Z_TYPE_PP(element) == IS_ARRAY) {
513 Z_ARRVAL_PP(element)->nApplyCount++;
514 php_zval_filter_recursive(element, filter, flags, options, charset, copy TSRMLS_CC);
515 Z_ARRVAL_PP(element)->nApplyCount--;
517 php_zval_filter(element, filter, flags, options, charset, copy TSRMLS_CC);
/PHP_5_6/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_5_6/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
697 php_oci_collection_element_set_string(php_oci_collection *collection, long index, char *element, int element_len TSRMLS_DC) argument
[all...]
H A Doci8_interface.c1389 zval *z_statement, *array, *element, *tmp; local
1426 MAKE_STD_ZVAL(element);
1427 php_oci_column_to_zval(columns[ i ], element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
1430 zend_hash_next_index_insert(Z_ARRVAL_P(row), &element, sizeof(zval*), NULL); local
1432 zend_symtable_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, sizeof(zval*), NULL); local
1470 MAKE_STD_ZVAL(element);
1471 php_oci_column_to_zval(columns[ i ], element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
1472 zend_hash_index_update((*(outarrs[ i ]))->value.ht, rows, (void *)&element, sizeof(zval*), NULL);
2296 Assign element val to collection at index ndx */
/PHP_5_6/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");
1010 Content: (annotation?, element*)
1036 if (node_is_equal(trav,"element")) {
1186 Content: (annotation?, (element | group | choice | sequence | any)*)
1212 if (node_is_equal(trav,"element")) {
1236 Content: (annotation?, (element | grou
1486 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::__anon209
217 sdlTypePtr element; member in struct:_sdlParam
/PHP_5_6/ext/sockets/
H A Dsockets.c768 zval **element; local
775 zend_hash_get_current_data(Z_ARRVAL_P(sock_array), (void **) &element) == SUCCESS;
778 php_sock = (php_socket*) zend_fetch_resource(element TSRMLS_CC, -1, le_socket_name, NULL, 1, le_socket);
779 if (!php_sock) continue; /* If element is not a resource, skip it */
794 zval **element; local
808 zend_hash_get_current_data(Z_ARRVAL_P(sock_array), (void **) &element) == SUCCESS;
811 php_sock = (php_socket*) zend_fetch_resource(element TSRMLS_CC, -1, le_socket_name, NULL, 1, le_socket);
812 if (!php_sock) continue; /* If element is not a resource, skip it */
818 zend_hash_add(new_hash, key, key_len, (void *)element, sizeof(zval *), (void **)&dest_element);
821 zend_hash_index_update(new_hash, num_key, (void *)element, sizeo
[all...]
/PHP_5_6/ext/spl/
H A Dspl_heap.c640 extract the element out of the top of the heap */
702 extract the element out of the top of the priority queue */
745 Peek at the top element of the priority queue */
832 Peek at the top element of the heap */
901 /* do nothing, the iterator always points to the top element */
916 zval **element = (zval **)&iterator->object->heap->elements[0]; local
923 if (iterator->object->heap->count == 0 || !*element) {
926 *data = element;
934 zval **element = (zval **)&iterator->object->heap->elements[0]; local
941 if (iterator->object->heap->count == 0 || !*element) {
1042 zval *element = (zval *)intern->heap->elements[0]; local
1061 zval **element = (zval **)&intern->heap->elements[0]; local
[all...]
H A Dspl_fixedarray.c704 zval **element, *value; local
710 zend_hash_get_current_data(Z_ARRVAL_P(data), (void **) &element) == SUCCESS;
733 zend_hash_get_current_data(Z_ARRVAL_P(data), (void **) &element) == SUCCESS;
738 value = *element;
745 zval **element, *value; local
751 zend_hash_get_current_data(Z_ARRVAL_P(data), (void **) &element) == SUCCESS;
755 value = *element;
H A Dspl_observer.c181 static void spl_object_storage_dtor(spl_SplObjectStorageElement *element) /* {{{ */ argument
183 zval_ptr_dtor(&element->obj);
184 zval_ptr_dtor(&element->inf);
189 spl_SplObjectStorageElement *element; local
190 if (zend_hash_find(&intern->storage, hash, hash_len, (void**)&element) == SUCCESS) {
191 return element;
199 spl_SplObjectStorageElement *pelement, element; local
221 element.obj = obj;
222 element.inf = inf;
223 zend_hash_update(&intern->storage, hash, hash_len, &element, sizeo
242 spl_SplObjectStorageElement *element; local
317 spl_SplObjectStorageElement *element; local
369 spl_SplObjectStorageElement *element; local
506 spl_SplObjectStorageElement *element; local
556 spl_SplObjectStorageElement *element; local
584 spl_SplObjectStorageElement *element; local
634 zval *element; local
693 spl_SplObjectStorageElement *element; local
710 spl_SplObjectStorageElement *element; local
727 spl_SplObjectStorageElement *element; local
763 spl_SplObjectStorageElement *element; local
1074 spl_SplObjectStorageElement *element; local
1102 spl_SplObjectStorageElement *element; local
1125 spl_SplObjectStorageElement *element; local
1148 spl_SplObjectStorageElement *element; local
1189 spl_SplObjectStorageElement *element; local
[all...]
H A Dspl_dllist.c55 #define SPL_DLLIST_IT_DELETE 0x00000001 /* Delete flag makes the iterator delete the current element on next */
598 Pop an element out of the SplDoublyLinkedList */
621 Shift an element out of the SplDoublyLinkedList */
644 Peek at the top element of the SplDoublyLinkedList */
667 Peek at the bottom element of the SplDoublyLinkedList */
786 spl_ptr_llist_element *element; local
800 element = spl_ptr_llist_offset(intern->llist, index, intern->flags & SPL_DLLIST_IT_LIFO);
802 if (element != NULL) {
803 value = (zval *)element->data;
831 spl_ptr_llist_element *element; local
873 spl_ptr_llist_element *element; local
1010 spl_ptr_llist_element *element = iterator->traverse_pointer; local
1019 spl_ptr_llist_element *element = iterator->traverse_pointer; local
1123 spl_ptr_llist_element *element = intern->traverse_pointer; local
1245 spl_ptr_llist_element *element; local
[all...]
/PHP_5_6/ext/xml/
H A Dxml.c734 zval **element, *values; local
740 if (zend_hash_find(Z_ARRVAL_P(parser->info),name,strlen(name) + 1,(void **) &element) == FAILURE) {
745 zend_hash_update(Z_ARRVAL_P(parser->info), name, strlen(name)+1, (void *) &values, sizeof(zval*), (void **) &element);
748 add_next_index_long(*element,parser->curtag);
1270 Set up start and end element handlers */
/PHP_5_6/ext/pcntl/
H A Dpcntl.c744 zval **element; local
770 (argi < argc && (zend_hash_get_current_data(args_hash, (void **) &element) == SUCCESS));
773 convert_to_string_ex(element);
774 *current_arg = Z_STRVAL_PP(element);
790 (envi < envc && (zend_hash_get_current_data(envs_hash, (void **) &element) == SUCCESS));
803 convert_to_string_ex(element);
805 /* Length of element + equal sign + length of key + null */
806 pair_length = Z_STRLEN_PP(element) + key_length + 2;
810 strlcat(*pair, Z_STRVAL_PP(element), pair_length);
/PHP_5_6/main/
H A Dphp_ini.c631 zend_llist_element *element; local
699 for (element = scanned_ini_list.head; element; element = element->next) {
703 strlcat(php_ini_scanned_files, *(char **)element->data, total_l);
704 strlcat(php_ini_scanned_files, element->next ? ",\n" : "\n", total_l);
/PHP_5_6/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;
/PHP_5_6/ext/standard/
H A Dproc_open.c78 zval **element; local
113 zend_hash_get_current_data_ex(target_hash, (void **) &element, &pos) == SUCCESS;
116 if (Z_TYPE_PP(element) != IS_STRING) {
119 MAKE_COPY_ZVAL(element, &tmp);
125 el_len = Z_STRLEN_PP(element);
149 zend_hash_get_current_data_ex(target_hash, (void **) &element, &pos) == SUCCESS;
153 if (Z_TYPE_PP(element) != IS_STRING) {
154 MAKE_COPY_ZVAL(element, &tmp);
157 tmp = **element;
197 if (Z_TYPE_PP(element) !
[all...]
H A Diptc.c304 zval *values, **element; local
353 if (zend_hash_find(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void **) &element) == FAILURE) {
357 zend_hash_update(Z_ARRVAL_P(return_value), key, strlen(key) + 1, (void *) &values, sizeof(zval*), (void **) &element);
360 add_next_index_stringl(*element, buffer+inx, len, 1);
/PHP_5_6/sapi/phpdbg/
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...]
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)
/PHP_5_6/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_5_6/ext/dom/
H A Ddocument.c38 xmlNode *element; member in struct:_idsIterator

Completed in 66 milliseconds

12