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

/PHP_TRUNK/ext/soap/
H A Dphp_sdl.h57 HashTable *elements; /* array of sdlTypesPtr */ member in struct:_sdl
204 HashTable *elements; /* array of sdlTypePtr */ member in struct:_sdlType
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) {
1274 static sdlContentModelPtr sdl_deserialize_model(sdlTypePtr *types, sdlTypePtr *elements, char **in) argument
1285 model->u.element = elements[i];
1294 sdlContentModelPtr x = sdl_deserialize_model(types, elements, in);
1315 sdlTypePtr *elements = NULL; local
1362 elements = safe_emalloc((i+1), sizeof(sdlTypePtr), 0);
1363 elements[
[all...]
/PHP_TRUNK/Zend/
H A Dzend_llist.c200 zend_llist_element **elements; local
207 elements = (zend_llist_element **) emalloc(l->count * sizeof(zend_llist_element *));
209 ptr = &elements[0];
215 zend_sort(elements, l->count, sizeof(zend_llist_element *),
218 l->head = elements[0];
219 elements[0]->prev = NULL;
222 elements[i]->prev = elements[i-1];
223 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/ext/oci8/
H A Dphp_oci8_int.h246 void *elements; member in struct:__anon8::__anon9
/PHP_TRUNK/ext/json/
H A Djson_parser.y66 %type <value> members member elements element
161 '[' { PHP_JSON_DEPTH_INC; } elements array_end
177 elements: label
/PHP_TRUNK/ext/standard/
H A Dvar_unserializer.c325 static zend_always_inline int process_nested_data(UNSERIALIZE_PARAMETER, HashTable *ht, zend_long elements, int objprops) argument
327 while (elements-- > 0) {
397 if (elements && *(*p-1) != ';' && *(*p-1) != '}') {
444 zend_long elements; local
446 elements = parse_iv2((*p) + 2, p);
459 return elements;
465 static inline int object_common2(UNSERIALIZE_PARAMETER, zend_long elements) argument
475 if (!process_nested_data(UNSERIALIZE_PASSTHRU, Z_OBJPROP_P(rval), elements, 1)) {
671 zend_long elements; local
804 elements
869 zend_long elements = parse_iv(start + 2); local
[all...]
/PHP_TRUNK/ext/wddx/
H A Dwddx.c99 void **elements; member in struct:__anon58
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...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_utils.c70 const static phpdbg_element_t elements[] = { variable
259 const phpdbg_element_t *element = elements;
/PHP_TRUNK/ext/spl/
H A Dspl_fixedarray.c47 zval *elements; member in struct:_spl_fixedarray
87 array->elements = ecalloc(size, sizeof(zval));
90 array->elements = NULL;
114 zval_ptr_dtor(&(array->elements[i]));
117 if (array->elements) {
118 efree(array->elements);
119 array->elements = NULL;
122 array->elements = safe_erealloc(array->elements, size, sizeof(zval), 0);
123 memset(array->elements
[all...]
H A Dspl_heap.c58 zval *elements; member in struct:_spl_ptr_heap
230 heap->elements = ecalloc(PTR_HEAP_BLOCK_SIZE, sizeof(zval));
244 heap->elements = erealloc(heap->elements, heap->max_size * 2 * sizeof(zval));
245 memset(heap->elements + heap->max_size, 0, heap->max_size * sizeof(zval));
250 for (i = heap->count; i > 0 && heap->cmp(&heap->elements[(i-1)/2], elem, cmp_userdata) < 0; i = (i-1)/2) {
251 heap->elements[i] = heap->elements[(i-1)/2];
260 ZVAL_COPY_VALUE(&heap->elements[i], elem);
269 return Z_ISUNDEF(heap->elements[
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c235 static zval *sxe_prop_dim_read(zval *object, zval *member, zend_bool elements, zend_bool attribs, int type, zval *rv) argument
250 elements = 1;
269 elements = 0;
313 if (elements) {
326 php_error_docref(NULL, E_WARNING, "Cannot add element %s number %pd when only 0 such elements exist", mynode->name, Z_LVAL_P(member));
337 php_error_docref(NULL, E_WARNING, "Cannot add element %s number %pd when only %pd such elements exist", mynode->name, Z_LVAL_P(member), cnt);
433 static int sxe_prop_dim_write(zval *object, zval *member, zval *value, zend_bool elements, zend_bool attribs, xmlNodePtr *pnewnode) argument
456 elements = 1;
486 elements = 0;
571 if (elements) {
712 sxe_prop_dim_exists(zval *object, zval *member, int check_empty, zend_bool elements, zend_bool attribs) argument
839 sxe_prop_dim_delete(zval *object, zval *member, zend_bool elements, zend_bool attribs) argument
[all...]

Completed in 26 milliseconds