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

/PHP_5_5/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_5_5/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_5_5/ext/intl/dateformat/
H A Ddateformat_format.c114 #define INTL_GET_ELEM(elem) \
115 internal_get_arr_ele(dfo, hash_arr, (elem), err TSRMLS_CC)
/PHP_5_5/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_5_5/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_5_5/ext/sockets/
H A Dconversions.c109 int **elem; local
110 if (zend_hash_find(ctx, key, strlen(key) + 1, (void**)&elem) == SUCCESS) {
111 return **elem;
216 void (*func)(zval **elem, unsigned i, void **args, ser_context *ctx),
222 zval **elem; local
229 && zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), (void **)&elem, &pos) == SUCCESS;
236 func(elem, i, args, ctx);
251 zval **elem; local
259 descr->name, descr->name_size, (void**)&elem) == SUCCESS) {
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
719 zval **elem; local
932 zval **elem; local
1040 zval *elem; local
1077 from_zval_write_msghdr_buffer_size(const zval *elem, char *msghdr_c, ser_context *ctx) argument
1098 from_zval_write_iov_array_aux(zval **elem, unsigned i, void **args, ser_context *ctx) argument
1133 from_zval_write_controllen(const zval *elem, char *msghdr_c, ser_context *ctx) argument
1229 zval *elem; local
1377 from_zval_write_fd_array_aux(zval **elem, unsigned i, void **args, ser_context *ctx) argument
1446 zval *elem; local
[all...]
/PHP_5_5/ext/intl/msgformat/
H A Dmsgformat_helpers.cpp389 zval **elem; local
401 zend_hash_get_current_data_ex(args, (void **)&elem, &pos)
456 convert_to_string_ex(elem);
460 Z_STRVAL_PP(elem), Z_STRLEN_PP(elem), &err.code);
465 "'%s'", Z_STRVAL_PP(elem));
477 if (Z_TYPE_PP(elem) == IS_DOUBLE) {
478 d = Z_DVAL_PP(elem);
479 } else if (Z_TYPE_PP(elem) == IS_LONG) {
480 d = (double)Z_LVAL_PP(elem);
[all...]
/PHP_5_5/ext/spl/
H A Dspl_heap.c90 static void spl_ptr_heap_zval_dtor(spl_ptr_heap_element elem TSRMLS_DC) { /* {{{ */
91 if (elem) {
92 zval_ptr_dtor((zval **)&elem);
97 static void spl_ptr_heap_zval_ctor(spl_ptr_heap_element elem TSRMLS_DC) { /* {{{ */
98 Z_ADDREF_P((zval *)elem);
240 static void spl_ptr_heap_insert(spl_ptr_heap *heap, spl_ptr_heap_element elem, void *cmp_userdata TSRMLS_DC) { /* {{{ */ argument
249 heap->ctor(elem TSRMLS_CC);
252 for(i = heap->count++; i > 0 && heap->cmp(heap->elements[(i-1)/2], elem, cmp_userdata TSRMLS_CC) < 0; i = (i-1)/2) {
261 heap->elements[i] = elem;
672 zval *data, *priority, *elem; local
964 spl_ptr_heap_element elem; local
1000 spl_ptr_heap_element elem = spl_ptr_heap_delete_top(intern->heap, getThis() TSRMLS_CC); 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
188 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); local
212 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); local
1187 zval *flags, *elem; local
1267 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); local
[all...]
/PHP_5_5/ext/xmlrpc/
H A Dxmlrpc-epi-php.c632 zval* elem = NULL; local
638 MAKE_STD_ZVAL(elem); /* init. very important. spent a frustrating day finding this out. */
642 Z_TYPE_P(elem) = IS_NULL;
647 Z_STRLEN_P(elem) = XMLRPC_GetValueStringLen(el);
648 Z_STRVAL_P(elem) = estrndup(pStr, Z_STRLEN_P(elem));
649 Z_TYPE_P(elem) = IS_STRING;
653 Z_LVAL_P(elem) = XMLRPC_GetValueInt(el);
654 Z_TYPE_P(elem) = IS_LONG;
657 Z_LVAL_P(elem)
[all...]
/PHP_5_5/main/streams/
H A Duserspace.c882 zval **elem; local
885 if (SUCCESS == zend_hash_find(Z_ARRVAL_P(array), #name, sizeof(#name), (void**)&elem)) { \
886 SEPARATE_ZVAL(elem); \
887 convert_to_long(*elem); \
888 ssb->sb.st_##name2 = Z_LVAL_PP(elem); \
/PHP_5_5/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);
/PHP_5_5/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_5_5/ext/dom/
H A Delement.c282 static xmlNodePtr dom_get_dom1_attribute(xmlNodePtr elem, xmlChar *name) /* {{{ */ argument
292 ns = elem->nsDef;
302 ns = xmlSearchNs(elem->doc, elem, prefix);
307 return (xmlNodePtr)xmlHasNsProp(elem, nqname, ns->href);
311 xmlNsPtr nsPtr = elem->nsDef;
321 return (xmlNodePtr)xmlHasNsProp(elem, name, NULL);
/PHP_5_5/ext/iconv/
H A Diconv.c2344 zval **elem, *new_elem; local
2346 if (zend_hash_find(Z_ARRVAL_P(return_value), header_name, header_name_len, (void **)&elem) == SUCCESS) {
2347 if (Z_TYPE_PP(elem) != IS_ARRAY) {
2351 Z_ADDREF_PP(elem);
2352 add_next_index_zval(new_elem, *elem);
2356 elem = &new_elem;
2358 add_next_index_stringl(*elem, header_value, header_value_len, 1);
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_reverse_api.c74 MYSQLND_REVERSE_API ** elem; local
77 zend_hash_get_current_data(&mysqlnd_api_ext_ht, (void **)&elem) == SUCCESS;
80 if ((*elem)->conversion_cb) {
81 retval = (*elem)->conversion_cb(zv TSRMLS_CC);
/PHP_5_5/ext/mysqli/
H A Dmysqli_nonapi.c643 zval **elem; local
651 zend_hash_get_current_data(Z_ARRVAL_P(in_array), (void **) &elem) == SUCCESS;
654 if (Z_TYPE_PP(elem) != IS_OBJECT ||
655 !instanceof_function(Z_OBJCE_PP(elem), mysqli_link_class_entry TSRMLS_CC)) {
660 mysqli_object *intern = (mysqli_object *)zend_object_store_get_object(*elem TSRMLS_CC);
683 zval **elem, **dest_elem; local
690 zend_hash_get_current_data(Z_ARRVAL_P(out_array), (void **) &elem) == SUCCESS;
694 if (Z_TYPE_PP(elem) != IS_OBJECT || !instanceof_function(Z_OBJCE_PP(elem), mysqli_link_class_entry TSRMLS_CC)) {
700 mysqli_object *intern = (mysqli_object *)zend_object_store_get_object(*elem TSRMLS_C
734 zval **elem, **dest_elem; local
[all...]
/PHP_5_5/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_5_5/ext/standard/
H A Dstreamsfuncs.c606 zval **elem; local
614 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem) == SUCCESS;
622 php_stream_from_zval_no_verify(stream, elem);
648 zval **elem, **dest_elem; local
676 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem) == FAILURE) {
680 php_stream_from_zval_no_verify(stream, elem);
695 zend_hash_index_update(new_hash, num_ind, (void *)elem, sizeof(zval *), (void **)&dest_elem);
697 zend_hash_update(new_hash, key, key_len, (void *)elem, sizeof(zval *), (void **)&dest_elem);
721 zval **elem, **dest_elem; local
733 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem)
[all...]
/PHP_5_5/ext/date/
H A Dphp_date.c2931 #define PHP_DATE_PARSE_DATE_SET_TIME_ELEMENT(name, elem) \
2932 if (parsed_time->elem == -99999) { \
2935 add_assoc_long(return_value, #name, parsed_time->elem); \

Completed in 170 milliseconds