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

12

/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_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;
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.h124 PHPDBG_API HashTable *phpdbg_resolve_pending_file_break_ex(const char *file, uint filelen, zend_string *cur, HashTable *fileht);
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_opcode.c204 phpdbg_oplog_entry *cur = zend_arena_alloc(&PHPDBG_G(oplog_arena), sizeof(phpdbg_oplog_entry)); local
206 cur->op = (zend_op *) execute_data->opline;
207 cur->opcodes = op_array->opcodes;
208 cur->filename = op_array->filename;
209 cur->scope = op_array->scope;
210 cur->function_name = op_array->function_name;
211 cur->next = NULL;
212 PHPDBG_G(oplog_cur)->next = cur;
213 PHPDBG_G(oplog_cur) = cur;
H A Dphpdbg_btree.c126 pos.cur = higher_idx;
132 phpdbg_btree_result *result = phpdbg_btree_find_closest(pos->tree, pos->cur);
138 pos->cur = result->idx - 1;
H A Dphpdbg_utils.c725 zend_op *cur; local
746 cur = &op_array->opcodes[catch];
748 if (!(ce = CACHED_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(cur->op1))))) {
749 ce = zend_fetch_class_by_name(Z_STR_P(EX_CONSTANT(cur->op1)), EX_CONSTANT(cur->op1) + 1, ZEND_FETCH_CLASS_NO_AUTOLOAD);
750 CACHE_PTR(Z_CACHE_SLOT_P(EX_CONSTANT(cur->op1)), ce);
757 catch = cur->extended_value;
758 } 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_bp.c319 PHPDBG_API HashTable *phpdbg_resolve_pending_file_break_ex(const char *file, uint filelen, zend_string *cur, HashTable *fileht) /* {{{ */ argument
321 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))
369 zend_string *cur; local
[all...]
H A Dphpdbg.c249 phpdbg_oplog_list *cur = PHPDBG_G(oplog_list); local
251 phpdbg_oplog_list *prev = cur->prev;
252 efree(cur);
253 cur = prev;
254 } while (cur != NULL);
438 zend_op *cur = op_array->opcodes + op_array->num_args + !!(op_array->fn_flags & ZEND_ACC_VARIADIC); local
452 for (; cur < end; cur++) {
453 if (cur->opcode == ZEND_NOP || cur
586 phpdbg_oplog_entry *cur; local
[all...]
/PHP_TRUNK/ext/dom/
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 Dphp_dom.h116 xmlNode *dom_get_elements_by_tag_name_ns_raw(xmlNodePtr nodep, char *ns, char *local, int *cur, int index);
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...]
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 Ddocument.c1675 static xmlNodePtr php_dom_free_xinclude_node(xmlNodePtr cur) /* {{{ */ argument
1679 xincnode = cur;
1680 cur = cur->next;
1684 return cur;
1688 static void php_dom_remove_xinclude_nodes(xmlNodePtr cur) /* {{{ */ argument
1690 while(cur) {
1691 if (cur->type == XML_XINCLUDE_START) {
1692 cur = php_dom_free_xinclude_node(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_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;
440 s.cur
[all...]
/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...]
/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
1873 STRINGLIST *cur=NIL; local
1912 FOBJECTLIST *cur=NIL; local
1962 STRINGLIST *cur=NIL; local
2190 STRINGLIST *cur=NIL; local
2228 FOBJECTLIST *cur=NIL; local
4135 MESSAGELIST *cur; local
4180 STRINGLIST *cur=NIL; local
4207 ERRORLIST *cur=NIL; local
4234 ERRORLIST *cur=NIL; local
4686 build_thread_tree_helper(THREADNODE *cur, zval *tree, long *numNodes, char *buf) argument
4877 MESSAGELIST *cur = NIL; local
4909 STRINGLIST *cur = NIL; local
4931 STRINGLIST *cur=NIL; local
4977 STRINGLIST *cur=NIL; local
5041 ERRORLIST *cur = NIL; local
[all...]

Completed in 56 milliseconds

12