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

12

/PHP_5_4/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_4/ext/phar/
H A Dphar.c2076 static int php_check_dots(const char *element, int n) /* {{{ */ argument
2079 if (element[n] != '.') {
2087 #define IS_DIRECTORY_UP(element, len) \
2088 (len >= 2 && !php_check_dots(element, len))
2090 #define IS_DIRECTORY_CURRENT(element, len) \
2091 (len == 1 && element[0] == '.')
/PHP_5_4/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::__anon207
217 sdlTypePtr element; member in struct:_sdlParam
/PHP_5_4/ext/sockets/
H A Dsockets.c953 zval **element; local
960 zend_hash_get_current_data(Z_ARRVAL_P(sock_array), (void **) &element) == SUCCESS;
963 php_sock = (php_socket*) zend_fetch_resource(element TSRMLS_CC, -1, le_socket_name, NULL, 1, le_socket);
964 if (!php_sock) continue; /* If element is not a resource, skip it */
979 zval **element; local
993 zend_hash_get_current_data(Z_ARRVAL_P(sock_array), (void **) &element) == SUCCESS;
996 php_sock = (php_socket*) zend_fetch_resource(element TSRMLS_CC, -1, le_socket_name, NULL, 1, le_socket);
997 if (!php_sock) continue; /* If element is not a resource, skip it */
1003 zend_hash_add(new_hash, key, key_len, (void *)element, sizeof(zval *), (void **)&dest_element);
1006 zend_hash_index_update(new_hash, num_key, (void *)element, sizeo
[all...]
/PHP_5_4/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) {
1043 zval *element = (zval *)intern->heap->elements[0]; local
1062 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.c180 static void spl_object_storage_dtor(spl_SplObjectStorageElement *element) /* {{{ */ argument
182 zval_ptr_dtor(&element->obj);
183 zval_ptr_dtor(&element->inf);
188 spl_SplObjectStorageElement *element; local
189 if (zend_hash_find(&intern->storage, hash, hash_len, (void**)&element) == SUCCESS) {
190 return element;
198 spl_SplObjectStorageElement *pelement, element; local
220 element.obj = obj;
221 element.inf = inf;
222 zend_hash_update(&intern->storage, hash, hash_len, &element, sizeo
241 spl_SplObjectStorageElement *element; local
316 spl_SplObjectStorageElement *element; local
368 spl_SplObjectStorageElement *element; local
505 spl_SplObjectStorageElement *element; local
555 spl_SplObjectStorageElement *element; local
583 spl_SplObjectStorageElement *element; local
676 spl_SplObjectStorageElement *element; local
693 spl_SplObjectStorageElement *element; local
710 spl_SplObjectStorageElement *element; local
746 spl_SplObjectStorageElement *element; local
1058 spl_SplObjectStorageElement *element; local
1086 spl_SplObjectStorageElement *element; local
1109 spl_SplObjectStorageElement *element; local
1132 spl_SplObjectStorageElement *element; local
1173 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
1124 spl_ptr_llist_element *element = intern->traverse_pointer; local
[all...]
/PHP_5_4/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_4/main/
H A Dphp_ini.c614 zend_llist_element *element; local
663 for (element = scanned_ini_list.head; element; element = element->next) {
667 strlcat(php_ini_scanned_files, *(char **)element->data, total_l);
668 strlcat(php_ini_scanned_files, element->next ? ",\n" : "\n", total_l);
/PHP_5_4/sapi/apache_hooks/
H A Dmod_php5.c127 int sapi_stack_push(sapi_stack *stack, void *element) argument
136 stack->elements[stack->top] = (void *) element;
153 int sapi_stack_apply_with_argument_all(sapi_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg) argument
173 int sapi_stack_apply_with_argument_stop_if_equals(sapi_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg, int stopval) argument
196 int sapi_stack_apply_with_argument_stop_if_http_error(sapi_stack *stack, int type, int (*apply_function)(void *element, void *arg), void *arg) argument
1304 (int (*)(void *element, void *)) php_run_hook, r, OK);
1315 (int (*)(void *element, void *)) php_run_hook, r);
1326 (int (*)(void *element, void *)) php_run_hook, r, OK);
1338 (int (*)(void *element, void *)) php_run_hook, r);
1351 (int (*)(void *element, voi
[all...]
/PHP_5_4/Zend/
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;
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
98 if (compare(current->data, element)) {
175 zend_llist_element *element, *next; local
177 element=l->head;
178 while (element) {
179 next = element
190 zend_llist_element *element; local
202 zend_llist_element *element, **ptr; local
233 zend_llist_element *element; local
243 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_execute_API.c583 zval **element, *new_val; local
605 while (zend_hash_get_current_data(Z_ARRVAL_P(p), (void **) &element) == SUCCESS) {
606 if (!(Z_TYPE_PP(element) & IS_CONSTANT_INDEX)) {
610 Z_TYPE_PP(element) &= ~IS_CONSTANT_INDEX;
645 if (Z_REFCOUNT_PP(element) > 1) {
647 *new_val = **element;
653 Z_TYPE_PP(element) |= IS_CONSTANT_INDEX;
654 zval_ptr_dtor(element);
655 *element = new_val;
/PHP_5_4/ext/filter/
H A Dfilter.c498 zval **element; local
506 zend_hash_get_current_data_ex(Z_ARRVAL_PP(value), (void **) &element, &pos) == SUCCESS;
509 SEPARATE_ZVAL_IF_NOT_REF(element);
510 if (Z_TYPE_PP(element) == IS_ARRAY) {
511 Z_ARRVAL_PP(element)->nApplyCount++;
512 php_zval_filter_recursive(element, filter, flags, options, charset, copy TSRMLS_CC);
513 Z_ARRVAL_PP(element)->nApplyCount--;
515 php_zval_filter(element, filter, flags, options, charset, copy TSRMLS_CC);
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_driver.c98 MYSQLND_ERROR_LIST_ELEMENT * element = (MYSQLND_ERROR_LIST_ELEMENT *) pDest; local
103 if (element->error) {
104 mnd_pefree(element->error, TRUE);
/PHP_5_4/ext/oci8/
H A Doci8_collection.c133 /* get collection element handle */
284 Append NULL element to the end of the collection */
290 /* append NULL element */
302 Append DATE element to the end of the collection (use "DD-MON-YY" format) */
384 int php_oci_collection_append_string(php_oci_collection *collection, char *element, int element_len TSRMLS_DC) argument
390 PHP_OCI_CALL_RETURN(connection->errcode, OCIStringAssignText, (connection->env, connection->err, (CONST oratext *)element, element_len, &ocistr));
418 Append wrapper. Appends any supported element to the end of the collection */
419 int php_oci_collection_append(php_oci_collection *collection, char *element, int element_len TSRMLS_DC) argument
427 return php_oci_collection_append_date(collection, element, element_len TSRMLS_CC);
431 return php_oci_collection_append_string(collection, element, element_le
462 dvoid *element; local
673 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.c1394 zval *z_statement, *array, *element, *tmp; local
1431 MAKE_STD_ZVAL(element);
1432 php_oci_column_to_zval(columns[ i ], element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
1435 zend_hash_next_index_insert(Z_ARRVAL_P(row), &element, sizeof(zval*), NULL); local
1439 zend_symtable_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, sizeof(zval*), NULL); local
1442 zend_hash_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, sizeof(zval*), NULL);
1487 MAKE_STD_ZVAL(element);
1488 php_oci_column_to_zval(columns[ i ], element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
1489 zend_hash_index_update((*(outarrs[ i ]))->value.ht, rows, (void *)&element, sizeof(zval*), NULL);
2249 Assign element va
[all...]
/PHP_5_4/ext/standard/
H A Dproc_open.c77 zval **element; local
112 zend_hash_get_current_data_ex(target_hash, (void **) &element, &pos) == SUCCESS;
115 if (Z_TYPE_PP(element) != IS_STRING) {
118 MAKE_COPY_ZVAL(element, &tmp);
124 el_len = Z_STRLEN_PP(element);
148 zend_hash_get_current_data_ex(target_hash, (void **) &element, &pos) == SUCCESS;
152 if (Z_TYPE_PP(element) != IS_STRING) {
153 MAKE_COPY_ZVAL(element, &tmp);
156 tmp = **element;
196 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_4/ext/dom/
H A Ddocument.c38 xmlNode *element; member in struct:_idsIterator
/PHP_5_4/ext/gd/libgd/
H A Dgdft.c336 static int fontTest (void *element, void *key) argument
338 font_t *a = (font_t *) element;
513 static void fontRelease (void *element) argument
515 font_t *a = (font_t *) element;
519 gdPFree((char *) element);
525 static int tweenColorTest (void *element, void *key) argument
527 tweencolor_t *a = (tweencolor_t *) element;
586 static void tweenColorRelease (void *element) argument
588 gdFree((char *) element);
/PHP_5_4/ext/wddx/
H A Dwddx.c189 static int wddx_stack_push(wddx_stack *stack, void *element, int size) argument
196 memcpy(stack->elements[stack->top], element, size);
203 static int wddx_stack_top(wddx_stack *stack, void **element) argument
206 *element = stack->elements[stack->top - 1];
209 *element = NULL;

Completed in 68 milliseconds

12