Searched refs:elem (Results 1 - 23 of 23) sorted by relevance

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c266 xml_element* elem = calloc(1, sizeof(xml_element)); local
267 if(elem) {
268 Q_Init(&elem->children);
269 Q_Init(&elem->attrs);
270 simplestring_init(&elem->text);
273 simplestring_addn(&elem->text, "", 0);
275 return elem;
/PHP_TRUNK/ext/gd/libgd/
H A Dgdcache.c77 gdCache_element_t *elem, *prev; local
79 elem = head->mru;
80 while (elem)
82 (*(head->gdCacheRelease)) (elem->userdata);
83 prev = elem;
84 elem = elem->next;
94 gdCache_element_t *elem, *prev = NULL, *prevprev = NULL; local
97 elem = head->mru;
98 while (elem)
187 int elem, key; local
[all...]
/PHP_TRUNK/ext/gd/
H A Dgdcache.c78 gdCache_element_t *elem, *prev; local
80 elem = head->mru;
81 while(elem) {
82 (*(head->gdCacheRelease))(elem->userdata);
83 prev = elem;
84 elem = elem->next;
94 gdCache_element_t *elem, *prev = NULL, *prevprev = NULL; local
97 elem = head->mru;
98 if (elem
187 int elem, key; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_ptr_stack.c44 void *elem; local
50 elem = va_arg(ptr, void *);
52 *(stack->top_element++) = elem;
62 void **elem; local
66 elem = va_arg(ptr, void **);
67 *elem = *(--stack->top_element);
H A Dzend_ast.c318 zend_ast *elem = list->child[i]; local
319 if (elem->child[1]) {
320 zend_ast_evaluate(&op1, elem->child[1], scope TSRMLS_CC);
324 zend_ast_evaluate(&op2, elem->child[0], scope TSRMLS_CC);
H A Dzend_compile.h527 int zendlex(zend_parser_stack_elem *elem TSRMLS_DC);
H A Dzend_compile.c876 zend_try_catch_element *elem; local
881 elem = &op_array->try_catch_array[try_catch_offset];
882 elem->try_op = try_op;
883 elem->catch_op = 0;
884 elem->finally_op = 0;
885 elem->finally_end = 0;
1368 int zendlex(zend_parser_stack_elem *elem TSRMLS_DC) /* {{{ */
1402 elem->ast = zend_ast_create_zval(&zv);
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c11980 TriggerStep *pLast; /* Last element in link-list. Valid for 1st elem only */
23061 HashElem *elem; /* For looping over all elements of the table */ local
23064 elem = pH->first;
23069 while( elem ){
23070 HashElem *next_elem = elem->next;
23071 sqlite3_free(elem);
23072 elem = next_elem;
23130 HashElem *elem, *next_elem; /* For looping over existing elements */ local
23156 for(elem=pH->first, pH->first=0; elem; ele
23174 HashElem *elem; /* Used to loop thru the element list */ local
23197 removeElementGivenHash( Hash *pH, HashElem* elem, unsigned int h ) argument
23233 HashElem *elem; /* The element that matches key */ local
23264 HashElem *elem; /* Used to loop thru the element list */ local
132332 Fts3HashElem *elem; /* For looping over all elements of the table */ local
132455 Fts3HashElem *elem, *next_elem; /* For looping over existing elements */ local
132483 Fts3HashElem *elem; /* Used to loop thru the element list */ local
132505 fts3RemoveElementByHash( Fts3Hash *pH, Fts3HashElem* elem, int h ) argument
132590 Fts3HashElem *elem; /* Used to loop thru the element list */ local
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_typeinfo.c531 ELEMDESC *elem = &func->lprgelemdescParam[j]; local
533 php_printf("\t\t/* %s [%d] ", vt_to_string(elem->tdesc.vt), elem->tdesc.vt);
535 if (elem->paramdesc.wParamFlags & PARAMFLAG_FIN)
537 if (elem->paramdesc.wParamFlags & PARAMFLAG_FOUT)
540 if (elem->tdesc.vt == VT_PTR) {
543 vt_to_string(elem->tdesc.lptdesc->vt),
544 elem->tdesc.lptdesc->vt
557 elem->tdesc.vt == VT_PTR ? "&$" : "$",
/PHP_TRUNK/ext/dom/
H A Delement.c279 static xmlNodePtr dom_get_dom1_attribute(xmlNodePtr elem, xmlChar *name) /* {{{ */ argument
289 ns = elem->nsDef;
299 ns = xmlSearchNs(elem->doc, elem, prefix);
304 return (xmlNodePtr)xmlHasNsProp(elem, nqname, ns->href);
308 xmlNsPtr nsPtr = elem->nsDef;
318 return (xmlNodePtr)xmlHasNsProp(elem, name, NULL);
/PHP_TRUNK/ext/intl/dateformat/
H A Ddateformat_format.c113 #define INTL_GET_ELEM(elem) \
114 internal_get_arr_ele(dfo, hash_arr, (elem), err TSRMLS_CC)
/PHP_TRUNK/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp387 zval *elem; local
393 ZEND_HASH_FOREACH_KEY_VAL(args, num_index, str_index, elem) {
446 convert_to_string_ex(elem);
450 Z_STRVAL_P(elem), Z_STRLEN_P(elem), &err.code);
455 "'%s'", Z_STRVAL_P(elem));
467 if (Z_TYPE_P(elem) == IS_DOUBLE) {
468 d = Z_DVAL_P(elem);
469 } else if (Z_TYPE_P(elem) == IS_LONG) {
470 d = (double)Z_LVAL_P(elem);
[all...]
/PHP_TRUNK/ext/intl/transliterator/
H A Dtransliterator_methods.c245 const UChar *elem; local
266 while( (elem = uenum_unext( en, &elem_len, &status )) )
271 intl_convert_utf16_to_utf8( &el_char, &el_len, elem, elem_len, &status );
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_reverse_api.c74 MYSQLND_REVERSE_API * elem; local
75 ZEND_HASH_FOREACH_PTR(&mysqlnd_api_ext_ht, elem) {
76 if (elem->conversion_cb) {
77 retval = elem->conversion_cb(zv TSRMLS_CC);
/PHP_TRUNK/ext/spl/
H A Dspl_heap.c94 static void spl_ptr_heap_zval_dtor(zval *elem TSRMLS_DC) { /* {{{ */
95 if (!Z_ISUNDEF_P(elem)) {
96 zval_ptr_dtor(elem);
101 static void spl_ptr_heap_zval_ctor(zval *elem TSRMLS_DC) { /* {{{ */
102 if (Z_REFCOUNTED_P(elem)) {
103 Z_ADDREF_P(elem);
243 static void spl_ptr_heap_insert(spl_ptr_heap *heap, zval *elem, void *cmp_userdata TSRMLS_DC) { /* {{{ */ argument
253 heap->ctor(elem TSRMLS_CC);
256 for (i = heap->count++; i > 0 && heap->cmp(&heap->elements[(i-1)/2], elem, cmp_userdata TSRMLS_CC) < 0; i = (i-1)/2) {
265 ZVAL_COPY_VALUE(&heap->elements[i], elem);
278 spl_ptr_heap_delete_top(spl_ptr_heap *heap, zval *elem, void *cmp_userdata TSRMLS_DC) argument
659 zval *data, *priority, elem; local
977 zval elem; local
1011 zval elem; local
[all...]
H A Dspl_dllist.c44 #define SPL_LLIST_DELREF(elem) if(!--(elem)->rc) { \
45 efree(elem); \
48 #define SPL_LLIST_CHECK_DELREF(elem) if((elem) && !--(elem)->rc) { \
49 efree(elem); \
52 #define SPL_LLIST_ADDREF(elem) (elem)->rc++
53 #define SPL_LLIST_CHECK_ADDREF(elem) i
197 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); local
221 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); local
1162 zval flags, elem; local
1246 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c580 zval *elem; local
588 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(stream_array), elem) {
594 php_stream_from_zval_no_verify(stream, elem);
618 zval *elem, *dest_elem, new_array; local
630 ZEND_HASH_FOREACH_KEY_VAL(Z_ARRVAL_P(stream_array), num_ind, key, elem) {
633 php_stream_from_zval_no_verify(stream, elem);
645 dest_elem = zend_hash_index_update(Z_ARRVAL(new_array), num_ind, elem);
647 dest_elem = zend_hash_update(Z_ARRVAL(new_array), key, elem);
671 zval *elem, *dest_elem, new_array; local
681 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(stream_array), elem) {
[all...]
/PHP_TRUNK/ext/xmlrpc/
H A Dxmlrpc-epi-php.c603 static void XMLRPC_to_PHP(XMLRPC_VALUE el, zval *elem) argument
612 ZVAL_NULL(elem);
617 ZVAL_STRINGL(elem, pStr, XMLRPC_GetValueStringLen(el));
621 ZVAL_LONG(elem, XMLRPC_GetValueInt(el));
624 ZVAL_BOOL(elem, XMLRPC_GetValueBoolean(el));
627 ZVAL_DOUBLE(elem, XMLRPC_GetValueDouble(el));
630 ZVAL_STRINGL(elem, XMLRPC_GetValueDateTime_ISO8601(el), XMLRPC_GetValueStringLen(el));
635 ZVAL_STRINGL(elem, pStr, XMLRPC_GetValueStringLen(el));
639 array_init(elem);
648 add_zval(elem, XMLRPC_GetValueI
[all...]
/PHP_TRUNK/main/streams/
H A Duserspace.c829 zval *elem; local
832 if (NULL != (elem = zend_hash_str_find(Z_ARRVAL_P(array), #name, sizeof(#name)-1))) { \
833 SEPARATE_ZVAL(elem); \
834 convert_to_long(elem); \
835 ssb->sb.st_##name2 = Z_LVAL_P(elem); \
/PHP_TRUNK/ext/date/
H A Dphp_date.c2908 #define PHP_DATE_PARSE_DATE_SET_TIME_ELEMENT(name, elem) \
2909 if (parsed_time->elem == -99999) { \
2912 add_assoc_long(return_value, #name, parsed_time->elem); \
/PHP_TRUNK/ext/iconv/
H A Diconv.c2386 zval *elem; local
2388 if ((elem = zend_hash_str_find(Z_ARRVAL_P(return_value), header_name, header_name_len)) != NULL) {
2389 if (Z_TYPE_P(elem) != IS_ARRAY) {
2393 Z_ADDREF_P(elem);
2394 add_next_index_zval(&new_elem, elem);
2396 elem = zend_hash_str_update(Z_ARRVAL_P(return_value), header_name, header_name_len, &new_elem);
2398 add_next_index_stringl(elem, header_value, header_value_len);
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_nonapi.c639 zval *elem; local
646 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(in_array), elem) {
648 if (Z_TYPE_P(elem) != IS_OBJECT ||
649 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry TSRMLS_CC)) {
654 mysqli_object *intern = Z_MYSQLI_P(elem);
676 zval *elem, *dest_elem; local
681 ZEND_HASH_FOREACH_VAL(Z_ARRVAL_P(out_array), elem) {
683 if (Z_TYPE_P(elem) != IS_OBJECT ||
684 !instanceof_function(Z_OBJCE_P(elem), mysqli_link_class_entry TSRMLS_CC)) {
690 mysqli_object *intern = Z_MYSQLI_P(elem);
719 zval proxy, *elem, *dest_elem; local
[all...]
/PHP_TRUNK/ext/sockets/
H A Dconversions.c109 int *elem; local
110 if ((elem = zend_hash_str_find_ptr(ctx, key, strlen(key))) != NULL) {
111 return *elem;
216 void (*func)(zval *elem, unsigned i, void **args, ser_context *ctx),
222 zval *elem; local
229 && (elem = zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), &pos)) != NULL;
236 func(elem, i, args, ctx);
251 zval *elem; local
258 if ((elem = zend_hash_str_find(Z_ARRVAL_P(container),
268 descr->from_zval(elem, ((cha
215 from_array_iterate(const zval *arr, void (*func)(zval *elem, unsigned i, void **args, ser_context *ctx), void **args, ser_context *ctx) argument
701 zval *elem; local
912 zval *elem; local
1019 zval *elem, tmp; local
1056 from_zval_write_msghdr_buffer_size(const zval *elem, char *msghdr_c, ser_context *ctx) argument
1077 from_zval_write_iov_array_aux(zval *elem, unsigned i, void **args, ser_context *ctx) argument
1114 from_zval_write_controllen(const zval *elem, char *msghdr_c, ser_context *ctx) argument
1208 zval elem; local
1350 from_zval_write_fd_array_aux(zval *elem, unsigned i, void **args, ser_context *ctx) argument
1418 zval elem; local
[all...]

Completed in 173 milliseconds