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

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dhash.c49 HashElem *elem; /* For looping over all elements of the table */ local
52 elem = pH->first;
57 while( elem ){
58 HashElem *next_elem = elem->next;
59 if( pH->copyKey && elem->pKey ){
60 sqliteFree(elem->pKey);
62 sqliteFree(elem);
63 elem = next_elem;
167 HashElem *elem, *next_elem; /* For looping over existing elements */ local
178 for(elem
209 HashElem *elem; /* Used to loop thru the element list */ local
230 removeElementGivenHash( Hash *pH, HashElem* elem, int h ) argument
263 HashElem *elem; /* The element that matches key */ local
293 HashElem *elem; /* Used to loop thru the element list */ local
[all...]
/PHP_5_3/ext/sqlite3/libsqlite/
H A Dsqlite3.c10983 TriggerStep *pLast; /* Last element in link-list. Valid for 1st elem only */
21736 HashElem *elem; /* For looping over all elements of the table */ local
21739 elem = pH->first;
21744 while( elem ){
21745 HashElem *next_elem = elem->next;
21746 sqlite3_free(elem);
21747 elem = next_elem;
21805 HashElem *elem, *next_elem; /* For looping over existing elements */ local
21827 for(elem=pH->first, pH->first=0; elem; ele
21845 HashElem *elem; /* Used to loop thru the element list */ local
21868 removeElementGivenHash( Hash *pH, HashElem* elem, unsigned int h ) argument
21904 HashElem *elem; /* The element that matches key */ local
21935 HashElem *elem; /* Used to loop thru the element list */ local
117947 Fts3HashElem *elem; /* For looping over all elements of the table */ local
118070 Fts3HashElem *elem, *next_elem; /* For looping over existing elements */ local
118098 Fts3HashElem *elem; /* Used to loop thru the element list */ local
118120 fts3RemoveElementByHash( Fts3Hash *pH, Fts3HashElem* elem, int h ) argument
118205 Fts3HashElem *elem; /* Used to loop thru the element list */ local
[all...]
/PHP_5_3/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_3/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 while(elem) {
182 int elem, key; local
[all...]
/PHP_5_3/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_3/ext/com_dotnet/
H A Dcom_typeinfo.c527 ELEMDESC *elem = &func->lprgelemdescParam[j]; local
529 php_printf("\t\t/* %s [%d] ", vt_to_string(elem->tdesc.vt), elem->tdesc.vt);
531 if (elem->paramdesc.wParamFlags & PARAMFLAG_FIN)
533 if (elem->paramdesc.wParamFlags & PARAMFLAG_FOUT)
536 if (elem->tdesc.vt == VT_PTR) {
539 vt_to_string(elem->tdesc.lptdesc->vt),
540 elem->tdesc.lptdesc->vt
553 elem->tdesc.vt == VT_PTR ? "&$" : "$",
/PHP_5_3/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_3/ext/iconv/
H A Diconv.c2276 zval **elem, *new_elem; local
2278 if (zend_hash_find(Z_ARRVAL_P(return_value), header_name, header_name_len, (void **)&elem) == SUCCESS) {
2279 if (Z_TYPE_PP(elem) != IS_ARRAY) {
2283 Z_ADDREF_PP(elem);
2284 add_next_index_zval(new_elem, *elem);
2288 elem = &new_elem;
2290 add_next_index_stringl(*elem, header_value, header_value_len, 1);
/PHP_5_3/ext/mysqli/
H A Dmysqli_nonapi.c569 zval **elem; local
577 zend_hash_get_current_data(Z_ARRVAL_P(in_array), (void **) &elem) == SUCCESS;
580 if (Z_TYPE_PP(elem) != IS_OBJECT ||
581 !instanceof_function(Z_OBJCE_PP(elem), mysqli_link_class_entry TSRMLS_CC)) {
586 mysqli_object *intern = (mysqli_object *)zend_object_store_get_object(*elem TSRMLS_CC);
609 zval **elem, **dest_elem; local
616 zend_hash_get_current_data(Z_ARRVAL_P(out_array), (void **) &elem) == SUCCESS;
620 if (Z_TYPE_PP(elem) != IS_OBJECT || !instanceof_function(Z_OBJCE_PP(elem), mysqli_link_class_entry TSRMLS_CC)) {
626 mysqli_object *intern = (mysqli_object *)zend_object_store_get_object(*elem TSRMLS_C
660 zval **elem, **dest_elem; local
[all...]
/PHP_5_3/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;
669 zval *data, *priority, *elem; local
962 spl_ptr_heap_element elem; local
998 spl_ptr_heap_element elem = spl_ptr_heap_delete_top(intern->heap, getThis() TSRMLS_CC); local
[all...]
H A Dspl_dllist.c41 #define SPL_LLIST_DELREF(elem) if(!--(elem)->rc) { \
42 efree(elem); \
43 elem = NULL; \
46 #define SPL_LLIST_CHECK_DELREF(elem) if((elem) && !--(elem)->rc) { \
47 efree(elem); \
48 elem = NULL; \
51 #define SPL_LLIST_ADDREF(elem) (ele
187 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); local
211 spl_ptr_llist_element *elem = emalloc(sizeof(spl_ptr_llist_element)); local
[all...]
/PHP_5_3/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_3/main/
H A Doutput.c738 zval *elem; local
740 MAKE_STD_ZVAL(elem);
741 array_init(elem);
743 add_assoc_long(elem, "chunk_size", ob_buffer->chunk_size);
745 add_assoc_long(elem, "size", ob_buffer->size);
746 add_assoc_long(elem, "block_size", ob_buffer->block_size);
749 add_assoc_long(elem, "type", PHP_OUTPUT_HANDLER_INTERNAL);
750 add_assoc_long(elem, "buffer_size", ob_buffer->internal_output_handler_buffer_size);
752 add_assoc_long(elem, "type", PHP_OUTPUT_HANDLER_USER);
754 add_assoc_long(elem, "statu
[all...]
/PHP_5_3/main/streams/
H A Duserspace.c855 zval **elem; local
858 if (SUCCESS == zend_hash_find(Z_ARRVAL_P(array), #name, sizeof(#name), (void**)&elem)) { \
859 SEPARATE_ZVAL(elem); \
860 convert_to_long(*elem); \
861 ssb->sb.st_##name2 = Z_LVAL_PP(elem); \
/PHP_5_3/Zend/
H A Dzend_ptr_stack.c45 void *elem; local
51 elem = va_arg(ptr, void *);
53 *(stack->top_element++) = elem;
63 void **elem; local
67 elem = va_arg(ptr, void **);
68 *elem = *(--stack->top_element);
/PHP_5_3/ext/standard/
H A Dstreamsfuncs.c612 zval **elem; local
620 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem) == SUCCESS;
628 php_stream_from_zval_no_verify(stream, elem);
654 zval **elem, **dest_elem; local
666 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem) == SUCCESS;
674 php_stream_from_zval_no_verify(stream, elem);
688 zend_hash_next_index_insert(new_hash, (void *)elem, sizeof(zval *), (void **)&dest_elem);
710 zval **elem, **dest_elem; local
722 zend_hash_get_current_data(Z_ARRVAL_P(stream_array), (void **) &elem) == SUCCESS;
725 php_stream_from_zval_no_verify(stream, elem);
[all...]
/PHP_5_3/ext/date/
H A Dphp_date.c2699 #define PHP_DATE_PARSE_DATE_SET_TIME_ELEMENT(name, elem) \
2700 if (parsed_time->elem == -99999) { \
2703 add_assoc_long(return_value, #name, parsed_time->elem); \

Completed in 146 milliseconds