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

12

/PHP_TRUNK/ext/xml/
H A Dcompat.c752 (parser->parser->input->cur - parser->parser->input->base);
761 (parser->parser->input->cur - parser->parser->input->base);
/PHP_TRUNK/ext/zip/lib/
H A Dzip_dirent.c344 const unsigned char *cur;
361 cur = *bufp;
369 cur = buf;
372 if (memcmp(cur, (local ? LOCAL_MAGIC : CENTRAL_MAGIC), 4) != 0) {
376 cur += 4;
383 zde->version_madeby = _zip_read2(&cur);
386 zde->version_needed = _zip_read2(&cur);
387 zde->bitflags = _zip_read2(&cur);
388 zde->comp_method = _zip_read2(&cur);
391 dostime = _zip_read2(&cur);
332 const unsigned char *cur; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_btree.c123 pos.cur = higher_idx;
129 phpdbg_btree_result *result = phpdbg_btree_find_closest(pos->tree, pos->cur);
135 pos->cur = result->idx - 1;
H A Dphpdbg_btree.h45 zend_ulong cur; member in struct:__anon4
/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 Dphp_dom.h116 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
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 Dphp_dom.c1348 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index) /* {{{ */ argument
1352 while (nodep != NULL && (*cur <= index || index == -1)) {
1356 if (*cur == index) {
1360 (*cur)++;
1363 ret = dom_get_elements_by_tag_name_ns_raw(nodep->children, ns, local, cur, index);
1423 xmlNs *cur; local
1439 cur = doc->oldNs;
1440 while (cur->next != NULL) {
1441 cur = cur
1517 xmlNsPtr cur; local
[all...]
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 TSRMLS_DC) /* {{{ */
1670 xincnode = cur;
1671 cur = cur->next;
1675 return cur;
1679 static void php_dom_remove_xinclude_nodes(xmlNodePtr cur TSRMLS_DC) /* {{{ */
1681 while(cur) {
1682 if (cur->type == XML_XINCLUDE_START) {
1683 cur = php_dom_free_xinclude_node(cur TSRMLS_C
[all...]
H A Ddocumentfragment.c90 xmlNodePtr cur; local
98 cur = prop->children;
99 while (cur != NULL) {
100 php_dom_xmlSetTreeDoc(cur, doc);
101 cur = cur->next;
108 cur = tree->children;
109 while (cur != NULL) {
110 php_dom_xmlSetTreeDoc(cur, doc);
111 cur
[all...]
H A Dtext.c147 xmlChar *cur; local
165 cur = xmlNodeGetContent(node);
166 if (cur == NULL) {
169 length = xmlUTF8Strlen(cur);
172 xmlFree(cur);
176 first = xmlUTF8Strndup(cur, offset);
177 second = xmlUTF8Strsub(cur, offset, length - offset);
179 xmlFree(cur);
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c1457 XMLRPC_VALUE cur = (XMLRPC_VALUE)Q_Head(value->v->q); local
1458 while( cur ) {
1459 XMLRPC_CleanupValue(cur);
1465 cur = Q_Next(value->v->q);
/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(res->val, &s[cur], res->len);
/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.c3370 xmlNsPtr cur; local
3380 cur = node->nsDef;
3381 while (cur != NULL) {
3382 if (cur->prefix && cur->href && xmlStrEqual(cur->href, href)) {
3383 if (xmlSearchNs(doc, node, cur->prefix) == cur) {
3384 return cur;
3387 cur
[all...]
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfastcgi.c248 char *cur, *end; local
253 cur = ip;
255 while (*cur) {
256 if (*cur == ',') n++;
257 cur++;
262 cur = ip;
263 while (cur) {
264 end = strchr(cur, ',');
269 allowed_clients[n] = inet_addr(cur);
271 zlog(ZLOG_ERROR, "Wrong IP address '%s' in listen.allowed_clients", cur);
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c674 FOBJECTLIST *cur, *next; local
676 for (cur=*foblist, next=cur->next; cur; cur=next) {
677 next = cur->next;
679 if(cur->text.data)
680 fs_give((void **)&(cur->text.data));
682 fs_give((void **)&cur);
740 MESSAGELIST *cur, *nex local
1847 STRINGLIST *cur=NIL; local
1885 FOBJECTLIST *cur=NIL; local
1934 STRINGLIST *cur=NIL; local
2153 STRINGLIST *cur=NIL; local
2190 FOBJECTLIST *cur=NIL; local
4074 MESSAGELIST *cur; local
4117 STRINGLIST *cur=NIL; local
4144 ERRORLIST *cur=NIL; local
4171 ERRORLIST *cur=NIL; local
4623 build_thread_tree_helper(THREADNODE *cur, zval *tree, long *numNodes, char *buf) argument
4813 MESSAGELIST *cur = NIL; local
4846 STRINGLIST *cur = NIL; local
4869 STRINGLIST *cur=NIL; local
4916 STRINGLIST *cur=NIL; local
4982 ERRORLIST *cur = NIL; local
[all...]
/PHP_TRUNK/ext/pdo/
H A Dpdo_sql_parser.c31 #define RET(i) {s->cur = cursor; return i; }
32 #define SKIP_ONE(i) {s->cur = s->tok + 1; return i; }
41 char *ptr, *cur, *tok, *end; member in struct:Scanner
46 char *cursor = s->cur;
436 s.cur = inquery;
443 int len = s.cur - s.tok;
444 if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) {
456 plc->len = s.cur - s.tok;
781 s.cur
[all...]
H A Dpdo_sql_parser.re30 #define RET(i) {s->cur = cursor; return i; }
31 #define SKIP_ONE(i) {s->cur = s->tok + 1; return i; }
40 char *ptr, *cur, *tok, *end;
45 char *cursor = s->cur;
98 s.cur = inquery;
105 int len = s.cur - s.tok;
106 if ((inquery < (s.cur - len)) && isalnum(*(s.cur - len - 1))) {
118 plc->len = s.cur - s.tok;
443 s.cur
[all...]
/PHP_TRUNK/ext/json/
H A DJSON_parser.c410 static void attach_zval(JSON_parser jp, int up, int cur, smart_str *key, int assoc TSRMLS_DC) argument
413 zval *child = &jp->the_zstack[cur];
/PHP_TRUNK/ext/date/lib/
H A Dparse_date.re105 #define RET(i) {s->cur = cursor; return i;}
116 #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++; } }
118 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str
151 uchar *lim, *str, *ptr, *cur, *tok, *pos;
436 char *tmp = calloc(1, s->cur - s->tok + 1);
437 memcpy(tmp, s->tok, s->cur - s->tok);
809 uchar *cursor = s->cur;
1763 in.cur = in.str;
H A Dparse_iso_intervals.re70 #define RET(i) {s->cur = cursor; return i;}
74 #define TIMELIB_INIT s->cur = cursor; str = timelib_string(s); ptr = str
89 uchar *lim, *str, *ptr, *cur, *tok, *pos;
125 char *tmp = calloc(1, s->cur - s->tok + 1);
126 memcpy(tmp, s->tok, s->cur - s->tok);
243 uchar *cursor = s->cur;
441 in.cur = in.str;
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;
/PHP_TRUNK/sapi/cgi/
H A Dfastcgi.c686 char *cur, *end; local
691 cur = ip;
693 while (*cur) {
694 if (*cur == ',') n++;
695 cur++;
699 cur = ip;
700 while (cur) {
701 end = strchr(cur, ',');
706 allowed_clients[n] = inet_addr(cur);
708 fprintf(stderr, "Wrong IP address '%s' in FCGI_WEB_SERVER_ADDRS\n", cur);
[all...]

Completed in 71 milliseconds

12