Searched defs:elements (Results 1 - 13 of 13) sorted by relevance

/PHP_TRUNK/Zend/
H A Dzend_llist.c199 zend_llist_element **elements; local
206 elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *));
208 ptr = &elements[0];
214 zend_qsort(elements, l->count, sizeof(zend_llist_element *), (compare_func_t) comp_func TSRMLS_CC);
216 l->head = elements[0];
217 elements[0]->prev = NULL;
220 elements[i]->prev = elements[i-1];
221 elements[i-1]->next = elements[
[all...]
H A Dzend_ptr_stack.h27 void **elements; member in struct:_zend_ptr_stack
52 stack->elements = (void **) perealloc(stack->elements, (sizeof(void *) * (stack->max)), stack->persistent); \
53 stack->top_element = stack->elements+stack->top; \
116 return stack->elements[stack->top - 1];
H A Dzend_stack.h27 void *elements; member in struct:_zend_stack
/PHP_TRUNK/sapi/apache_hooks/
H A Dmod_php5.c59 void **elements; member in struct:_sapi_stack
119 stack->elements = (void **) pemalloc(sizeof(void **) * STACK_BLOCK_SIZE, persistent);
120 if (!stack->elements) {
130 stack->elements = (void **) perealloc(stack->elements,
132 if (!stack->elements) {
136 stack->elements[stack->top] = (void *) element;
144 return stack->elements[--stack->top];
160 retval = apply_function(stack->elements[i], arg);
165 retval = apply_function(stack->elements[
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c74 const static phpdbg_element_t elements[] = { variable
364 const phpdbg_element_t *element = elements;
/PHP_TRUNK/ext/oci8/
H A Dphp_oci8_int.h246 void *elements; member in struct:__anon111::__anon112
/PHP_TRUNK/ext/soap/
H A Dphp_sdl.c75 if (sdl->elements) {
93 if ((sdl_type = zend_hash_str_find_ptr(sdl->elements, nscat, len)) != NULL) {
95 } else if ((sdl_type = zend_hash_str_find_ptr(sdl->elements, (char*)type, type_len)) != NULL) {
100 if ((sdl_type = zend_hash_str_find_ptr(sdl->elements, (char*)type, xmlStrlen(type))) != NULL) {
1275 static sdlContentModelPtr sdl_deserialize_model(sdlTypePtr *types, sdlTypePtr *elements, char **in) argument
1286 model->u.element = elements[i];
1295 sdlContentModelPtr x = sdl_deserialize_model(types, elements, in);
1316 sdlTypePtr *elements = NULL; local
1363 elements = safe_emalloc((i+1), sizeof(sdlTypePtr), 0);
1364 elements[
[all...]
H A Dphp_sdl.h57 HashTable *elements; /* array of sdlTypesPtr */ member in struct:_sdl
204 HashTable *elements; /* array of sdlTypePtr */ member in struct:_sdlType
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c299 static inline int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, zend_long elements, int objprops) argument
301 while (elements-- > 0) {
361 if (elements && *(*p-1) != ';' && *(*p-1) != '}') {
408 zend_long elements; local
410 elements = parse_iv2((*p) + 2, p);
423 return elements;
429 static inline int object_common2(UNSERIALIZE_PARAMETER, zend_long elements) argument
439 if (!process_nested_data(UNSERIALIZE_PASSTHRU, Z_OBJPROP_P(rval), elements, 1)) {
628 zend_long elements; local
755 elements
820 zend_long elements = parse_iv(start + 2); local
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_fixedarray.c47 zval *elements; member in struct:_spl_fixedarray
88 array->elements = ecalloc(size, sizeof(zval));
91 array->elements = NULL;
115 zval_ptr_dtor(&(array->elements[i]));
118 if (array->elements) {
119 efree(array->elements);
120 array->elements = NULL;
123 array->elements = safe_erealloc(array->elements, size, sizeof(zval), 0);
124 memset(array->elements
[all...]
H A Dspl_heap.c58 zval *elements; member in struct:_spl_ptr_heap
234 heap->elements = ecalloc(PTR_HEAP_BLOCK_SIZE, sizeof(zval));
248 heap->elements = erealloc(heap->elements, heap->max_size * 2 * sizeof(zval));
249 memset(heap->elements + heap->max_size, 0, heap->max_size * sizeof(zval));
256 for (i = heap->count++; i > 0 && heap->cmp(&heap->elements[(i-1)/2], elem, cmp_userdata TSRMLS_CC) < 0; i = (i-1)/2) {
257 heap->elements[i] = heap->elements[(i-1)/2];
265 ZVAL_COPY_VALUE(&heap->elements[i], elem);
274 return Z_ISUNDEF(heap->elements[
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c246 static zval *sxe_prop_dim_read(zval *object, zval *member, zend_bool elements, zend_bool attribs, int type, zval *rv TSRMLS_DC) argument
261 elements = 1;
282 elements = 0;
326 if (elements) {
339 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot add element %s number %pd when only 0 such elements exist", mynode->name, Z_LVAL_P(member));
350 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Cannot add element %s number %pd when only %pd such elements exist", mynode->name, Z_LVAL_P(member), cnt);
446 static int sxe_prop_dim_write(zval *object, zval *member, zval *value, zend_bool elements, zend_bool attribs, xmlNodePtr *pnewnode TSRMLS_DC) argument
468 elements = 1;
500 elements = 0;
587 if (elements) {
729 sxe_prop_dim_exists(zval *object, zval *member, int check_empty, zend_bool elements, zend_bool attribs TSRMLS_DC) argument
858 sxe_prop_dim_delete(zval *object, zval *member, zend_bool elements, zend_bool attribs TSRMLS_DC) argument
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c99 void **elements; member in struct:__anon62
176 stack->elements = (void **) safe_emalloc(sizeof(void **), STACK_BLOCK_SIZE, 0);
190 stack->elements = (void **) erealloc(stack->elements,
193 stack->elements[stack->top] = (void *) emalloc(size);
194 memcpy(stack->elements[stack->top], element, size);
204 *element = stack->elements[stack->top - 1];
231 if (stack->elements) {
233 zval_ptr_dtor(&((st_entry *)stack->elements[i])->data);
234 if (((st_entry *)stack->elements[
[all...]

Completed in 20 milliseconds