Searched defs:cur (Results 1 - 25 of 29) sorted by relevance

12

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c1464 XMLRPC_VALUE cur = (XMLRPC_VALUE)Q_Head(value->v->q); local
1465 while( cur ) {
1466 XMLRPC_CleanupValue(cur);
1472 cur = Q_Next(value->v->q);
/PHP_TRUNK/ext/date/lib/
H A Dparse_iso_intervals.c72 #define RET(i) {s->cur = cursor; return i;}
76 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str
91 uchar *lim, *str, *ptr, *cur, *tok, *pos; member in struct:Scanner
127 char *tmp = calloc(1, s->cur - s->tok + 1);
128 memcpy(tmp, s->tok, s->cur - s->tok);
245 uchar *cursor = s->cur;
1047 in.cur = in.str;
H A Dparse_date.c107 #define RET(i) {s->cur = cursor; return i;}
118 #define TIMELIB_HAVE_TZ() { s->cur = cursor; if (s->time->have_zone) { s->time->have_zone > 1 ? add_error(s, "Double timezone specification") : add_warning(s, "Double timezone specification"); timelib_string_free(str); s->time->have_zone++; return TIMELIB_ERROR; } else { s->time->have_zone++; } }
120 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str
153 uchar *lim, *str, *ptr, *cur, *tok, *pos; member in struct:Scanner
438 char *tmp = calloc(1, s->cur - s->tok + 1);
439 memcpy(tmp, s->tok, s->cur - s->tok);
811 uchar *cursor = s->cur;
24754 in.cur = in.str;
/PHP_TRUNK/ext/dom/
H A Ddocumenttype.c184 xmlNodePtr cur = intsubset->children; local
186 while (cur != NULL) {
190 xmlNodeDumpOutput (buff, NULL, cur, 0, 0, NULL);
202 cur = cur->next;
H A Ddom_iterators.c33 int cur; member in struct:_nodeIterator
40 int cur; member in struct:_notationIterator
49 if(priv->cur < priv->index) {
50 priv->cur++;
91 iter->cur = 0;
112 iter->cur = 0;
H A Ddocumentfragment.c86 xmlNodePtr cur; local
94 cur = prop->children;
95 while (cur != NULL) {
96 php_dom_xmlSetTreeDoc(cur, doc);
97 cur = cur->next;
104 cur = tree->children;
105 while (cur != NULL) {
106 php_dom_xmlSetTreeDoc(cur, doc);
107 cur
[all...]
H A Dtext.c143 xmlChar *cur; local
161 cur = xmlNodeGetContent(node);
162 if (cur == NULL) {
165 length = xmlUTF8Strlen(cur);
168 xmlFree(cur);
172 first = xmlUTF8Strndup(cur, offset);
173 second = xmlUTF8Strsub(cur, offset, length - offset);
175 xmlFree(cur);
H A Dcharacterdata.c156 xmlChar *cur; local
169 cur = xmlNodeGetContent(node);
170 if (cur == NULL) {
174 length = xmlUTF8Strlen(cur);
177 xmlFree(cur);
186 substring = xmlUTF8Strsub(cur, offset, count);
187 xmlFree(cur);
239 xmlChar *cur, *first, *second; local
253 cur = xmlNodeGetContent(node);
254 if (cur
288 xmlChar *cur, *substring, *second; local
343 xmlChar *cur, *substring, *second = NULL; local
[all...]
H A Ddocument.c1666 static xmlNodePtr php_dom_free_xinclude_node(xmlNodePtr cur) /* {{{ */ argument
1670 xincnode = cur;
1671 cur = cur->next;
1675 return cur;
1679 static void php_dom_remove_xinclude_nodes(xmlNodePtr cur) /* {{{ */ argument
1681 while(cur) {
1682 if (cur->type == XML_XINCLUDE_START) {
1683 cur = php_dom_free_xinclude_node(cur);
[all...]
H A Dphp_dom.c1339 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) /* {{{ */ argument
1343 while (nodep != NULL && (*cur <= index || index == -1)) {
1347 if (*cur == index) {
1351 (*cur)++;
1354 ret = dom_get_elements_by_tag_name_ns_raw(nodep->children, ns, local, cur, index);
1414 xmlNs *cur; local
1430 cur = doc->oldNs;
1431 while (cur->next != NULL) {
1432 cur = cur
1508 xmlNsPtr cur; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_btree.h45 zend_ulong cur; member in struct:__anon8
H A Dphpdbg_eol.c90 char last, cur; local
106 last = cur = in[0];
109 if (0x0a == cur && last != 0x0d) {
112 out[cursor] = cur;
113 } else if(0x0d == cur) {
115 out[cursor] = cur;
124 out[cursor] = cur;
125 last = cur;
130 cur = in[i];
147 last = cur
[all...]
H A Dphpdbg_bp.c309 PHPDBG_API HashTable *phpdbg_resolve_pending_file_break_ex(const char *file, uint filelen, zend_string *cur, HashTable *fileht) /* {{{ */ argument
311 phpdbg_debug("file: %s, filelen: %u, cur: %s, curlen %u, pos: %c, memcmp: %d\n", file, filelen, ZSTR_VAL(cur), ZSTR_LEN(cur), filelen > ZSTR_LEN(cur) ? file[filelen - ZSTR_LEN(cur) - 1] : '?', filelen > ZSTR_LEN(cur) ? memcmp(file + filelen - ZSTR_LEN(cur), ZSTR_VAL(cur), ZSTR_LEN(cur))
354 zend_string *cur; local
[all...]
H A Dphpdbg_opcode.c179 phpdbg_oplog_entry *cur = zend_arena_alloc(&PHPDBG_G(oplog_arena), sizeof(phpdbg_oplog_entry)); local
180 cur->op = (zend_op *) execute_data->opline;
181 cur->op_array = &execute_data->func->op_array;
182 cur->next = NULL;
183 PHPDBG_G(oplog_cur)->next = cur;
184 PHPDBG_G(oplog_cur) = cur;
H A Dphpdbg_utils.c719 zend_op *cur; local
740 cur = &op_array->opcodes[catch];
742 if (!(ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(cur->op1))))) {
743 ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(cur->op1)), EX_CONSTANT(cur->op1) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD);
744 CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(cur->op1)), ce);
751 catch = cur->extended_value;
752 } while (!cur->result.num);
H A Dphpdbg_watch.c196 phpdbg_watch_collision *cur; local
201 if ((cur = zend_hash_index_find_ptr(&PHPDBG_G(watch_collisions), (zend_ulong) watch->addr.ref))) {
204 if ((old = zend_hash_find_ptr(&cur->watches, watch->str)) || (old = zend_hash_find_ptr(&cur->implicit_watches, watch->str))) {
212 if (!(watch->flags & PHPDBG_WATCH_RECURSIVE) && !--cur->refs) {
217 zend_hash_del(&cur->watches, watch->str);
218 if (zend_hash_num_elements(&cur->watches) > 0) {
219 cur->watch = Z_PTR_P(zend_hash_get_current_data_ex(&cur->watches, NULL));
221 cur
262 phpdbg_watch_collision *cur; local
[all...]
H A Dphpdbg.c263 phpdbg_oplog_list *cur = PHPDBG_G(oplog_list); local
265 phpdbg_oplog_list *prev = cur->prev;
266 efree(cur);
267 cur = prev;
268 } while (cur != NULL);
447 phpdbg_oplog_entry *cur = PHPDBG_G(oplog_list)->start; local
490 zend_op_array *op_array = cur->op_array;
523 insert_idx = cur->op - op_array->opcodes;
525 insert_idx = cur->op->lineno;
538 cur
[all...]
/PHP_TRUNK/main/
H A Dfastcgi.c769 char *cur, *end; local
774 cur = ip;
776 while (*cur) {
777 if (*cur == ',') n++;
778 cur++;
782 cur = ip;
783 while (cur) {
784 end = strchr(cur, ',');
789 if (inet_pton(AF_INET, cur, &allowed_clients[n].sa_inet.sin_addr)>0) {
793 } else if (inet_pton(AF_INET6, cur,
828 char *cur, *end; local
[all...]
/PHP_TRUNK/ext/intl/breakiterator/
H A Dbreakiterator_iterators.cpp150 int32_t cur, local
153 cur = bio->biter->current();
154 if (cur == BreakIterator::DONE) {
163 iter->index = cur;
177 assert(next <= slen && next >= cur);
178 res = zend_string_alloc(next - cur, 0);
180 memcpy(ZSTR_VAL(res), &s[cur], ZSTR_LEN(res));
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c32 #define RET(i) {s->cur = cursor; return i; }
33 #define SKIP_ONE(i) {s->cur = s->tok + 1; return i; }
42 char *ptr, *cur, *tok, *end; member in struct:Scanner
47 char *cursor = s->cur;
456 s.cur = inquery;
463 int len = s.cur - s.tok;
464 if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) {
476 plc->len = s.cur - s.tok;
798 s.cur
[all...]
H A Dpdo_stmt.c1073 zval cur; local
1077 ZVAL_COPY_VALUE(&cur, curr_val);
1080 zend_hash_next_index_insert_new(Z_ARRVAL(arr), &cur); local
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c29 xmlNodePtr trav, env, head, body, resp, cur, fault; local
289 cur = get_node_ex(resp, name, ns);
290 if (!cur) {
291 cur = get_node(resp, name);
294 if (!cur && fnb->style == SOAP_RPC) {
295 cur = resp;
297 if (cur) {
299 val = cur;
301 val = get_node(cur->children, param->paramName);
304 val = get_node(cur
[all...]
H A Dphp_encoding.c3350 xmlNsPtr cur; local
3360 cur = node->nsDef;
3361 while (cur != NULL) {
3362 if (cur->prefix && cur->href && xmlStrEqual(cur->href, href)) {
3363 if (xmlSearchNs(doc, node, cur->prefix) == cur) {
3364 return cur;
3367 cur
[all...]
/PHP_TRUNK/ext/zlib/
H A Dzlib.c794 zval *cur; local
798 ZEND_HASH_FOREACH_VAL(dictionary, cur) {
801 *++ptr = zval_get_string(cur);
/PHP_TRUNK/Zend/
H A Dzend_generators.c442 zend_generator *parent = generator->node.parent, *cur = generator; local
455 zend_generator_merge_child_nodes(&parent->node, multi_children_node, cur);
457 zend_generator_add_single_child(&parent->node, cur, leaf);
460 cur = parent;

Completed in 65 milliseconds

12