Home
last modified time | relevance | path

Searched refs:cur (Results 1 – 25 of 844) sorted by relevance

12345678910>>...34

/external/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_text.c42 static boolean is_alpha_underscore( const char *cur ) in is_alpha_underscore() argument
45 (*cur >= 'a' && *cur <= 'z') || in is_alpha_underscore()
46 (*cur >= 'A' && *cur <= 'Z') || in is_alpha_underscore()
47 *cur == '_'; in is_alpha_underscore()
50 static boolean is_digit( const char *cur ) in is_digit() argument
52 return *cur >= '0' && *cur <= '9'; in is_digit()
55 static boolean is_digit_alpha_underscore( const char *cur ) in is_digit_alpha_underscore() argument
57 return is_digit( cur ) || is_alpha_underscore( cur ); in is_digit_alpha_underscore()
91 const char *cur = *pcur; in str_match_no_case() local
93 while (*str != '\0' && *str == uprcase( *cur )) { in str_match_no_case()
[all …]
/external/strace/tests-m32/
Ds390_sthyi.c217 unsigned char *cur; in print_hypervisor_header() local
225 cur = buf + offs; in print_hypervisor_header()
228 print_0x8("", cur, 0, true); in print_hypervisor_header()
230 if (cur[0]) { in print_hypervisor_header()
234 if (cur[0] & 0x80) { in print_hypervisor_header()
239 if (cur[0] & 0x40) { in print_hypervisor_header()
246 if (cur[0] & 0x3F) { in print_hypervisor_header()
249 printf("%#hhx - ???", cur[0] & 0x3F); in print_hypervisor_header()
254 print_0x8(", infyflg2", cur, 1, false); in print_hypervisor_header()
255 print_0x8(", infyval1", cur, 2, false); in print_hypervisor_header()
[all …]
/external/strace/tests/
Ds390_sthyi.c217 unsigned char *cur; in print_hypervisor_header() local
225 cur = buf + offs; in print_hypervisor_header()
228 print_0x8("", cur, 0, true); in print_hypervisor_header()
230 if (cur[0]) { in print_hypervisor_header()
234 if (cur[0] & 0x80) { in print_hypervisor_header()
239 if (cur[0] & 0x40) { in print_hypervisor_header()
246 if (cur[0] & 0x3F) { in print_hypervisor_header()
249 printf("%#hhx - ???", cur[0] & 0x3F); in print_hypervisor_header()
254 print_0x8(", infyflg2", cur, 1, false); in print_hypervisor_header()
255 print_0x8(", infyval1", cur, 2, false); in print_hypervisor_header()
[all …]
/external/strace/tests-mx32/
Ds390_sthyi.c217 unsigned char *cur; in print_hypervisor_header() local
225 cur = buf + offs; in print_hypervisor_header()
228 print_0x8("", cur, 0, true); in print_hypervisor_header()
230 if (cur[0]) { in print_hypervisor_header()
234 if (cur[0] & 0x80) { in print_hypervisor_header()
239 if (cur[0] & 0x40) { in print_hypervisor_header()
246 if (cur[0] & 0x3F) { in print_hypervisor_header()
249 printf("%#hhx - ???", cur[0] & 0x3F); in print_hypervisor_header()
254 print_0x8(", infyflg2", cur, 1, false); in print_hypervisor_header()
255 print_0x8(", infyval1", cur, 2, false); in print_hypervisor_header()
[all …]
/external/libxml2/
Dtree.c374 const xmlChar *cur = value; in xmlValidateNCName() local
384 while (IS_BLANK_CH(*cur)) cur++; in xmlValidateNCName()
385 if (((*cur >= 'a') && (*cur <= 'z')) || ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName()
386 (*cur == '_')) in xmlValidateNCName()
387 cur++; in xmlValidateNCName()
390 while (((*cur >= 'a') && (*cur <= 'z')) || in xmlValidateNCName()
391 ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName()
392 ((*cur >= '0') && (*cur <= '9')) || in xmlValidateNCName()
393 (*cur == '_') || (*cur == '-') || (*cur == '.')) in xmlValidateNCName()
394 cur++; in xmlValidateNCName()
[all …]
Dxmlsave.c592 xhtmlNodeDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur);
594 static void xmlNodeListDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur);
595 static void xmlNodeDumpOutputInternal(xmlSaveCtxtPtr ctxt, xmlNodePtr cur);
596 void xmlNsListDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur);
597 static int xmlDocContentDumpOutput(xmlSaveCtxtPtr ctxt, xmlDocPtr cur);
632 xmlNsDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur, xmlSaveCtxtPtr ctxt) { in xmlNsDumpOutput() argument
633 if ((cur == NULL) || (buf == NULL)) return; in xmlNsDumpOutput()
634 if ((cur->type == XML_LOCAL_NAMESPACE) && (cur->href != NULL)) { in xmlNsDumpOutput()
635 if (xmlStrEqual(cur->prefix, BAD_CAST "xml")) in xmlNsDumpOutput()
644 if (cur->prefix != NULL) { in xmlNsDumpOutput()
[all …]
Dc14n.c77 static void xmlC14NVisibleNsStackDestroy (xmlC14NVisibleNsStackPtr cur);
78 static void xmlC14NVisibleNsStackAdd (xmlC14NVisibleNsStackPtr cur,
81 static void xmlC14NVisibleNsStackSave (xmlC14NVisibleNsStackPtr cur,
83 static void xmlC14NVisibleNsStackRestore (xmlC14NVisibleNsStackPtr cur,
85 static void xmlC14NVisibleNsStackShift (xmlC14NVisibleNsStackPtr cur);
86 static int xmlC14NVisibleNsStackFind (xmlC14NVisibleNsStackPtr cur,
88 static int xmlExcC14NVisibleNsStackFind (xmlC14NVisibleNsStackPtr cur,
98 static int xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur);
99 static int xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur);
296 xmlC14NVisibleNsStackDestroy(xmlC14NVisibleNsStackPtr cur) { in xmlC14NVisibleNsStackDestroy() argument
[all …]
Duri.c210 const char *cur; in xmlParse3986Scheme() local
215 cur = *str; in xmlParse3986Scheme()
216 if (!ISA_ALPHA(cur)) in xmlParse3986Scheme()
218 cur++; in xmlParse3986Scheme()
219 while (ISA_ALPHA(cur) || ISA_DIGIT(cur) || in xmlParse3986Scheme()
220 (*cur == '+') || (*cur == '-') || (*cur == '.')) cur++; in xmlParse3986Scheme()
223 uri->scheme = STRNDUP(*str, cur - *str); in xmlParse3986Scheme()
225 *str = cur; in xmlParse3986Scheme()
247 const char *cur; in xmlParse3986Fragment() local
252 cur = *str; in xmlParse3986Fragment()
[all …]
Dcatalog.c547 xmlCatalogEntryPtr cur; in xmlDumpXMLCatalogNode() local
551 cur = catal; in xmlDumpXMLCatalogNode()
552 while (cur != NULL) { in xmlDumpXMLCatalogNode()
553 if (cur->group == cgroup) { in xmlDumpXMLCatalogNode()
554 switch (cur->type) { in xmlDumpXMLCatalogNode()
559 if (cur == catal) { in xmlDumpXMLCatalogNode()
560 cur = cur->children; in xmlDumpXMLCatalogNode()
566 xmlSetProp(node, BAD_CAST "catalog", cur->value); in xmlDumpXMLCatalogNode()
573 xmlSetProp(node, BAD_CAST "id", cur->name); in xmlDumpXMLCatalogNode()
574 if (cur->value != NULL) { in xmlDumpXMLCatalogNode()
[all …]
Dxpointer.c115 ctxt->context->lastError.int1 = ctxt->cur - ctxt->base; in xmlXPtrErr()
125 ctxt->cur - ctxt->base, 0, in xmlXPtrErr()
136 xmlNodePtr xmlXPtrAdvanceNode(xmlNodePtr cur, int *level);
144 xmlXPtrGetArity(xmlNodePtr cur) { in xmlXPtrGetArity() argument
146 if ((cur == NULL) || (cur->type == XML_NAMESPACE_DECL)) in xmlXPtrGetArity()
148 cur = cur->children; in xmlXPtrGetArity()
149 for (i = 0;cur != NULL;cur = cur->next) { in xmlXPtrGetArity()
150 if ((cur->type == XML_ELEMENT_NODE) || in xmlXPtrGetArity()
151 (cur->type == XML_DOCUMENT_NODE) || in xmlXPtrGetArity()
152 (cur->type == XML_HTML_DOCUMENT_NODE)) { in xmlXPtrGetArity()
[all …]
Drunsuite.c238 getNext(xmlNodePtr cur, const char *xpath) { in getNext() argument
243 if ((cur == NULL) || (cur->doc == NULL) || (xpath == NULL)) in getNext()
245 ctxtXPath->doc = cur->doc; in getNext()
246 ctxtXPath->node = cur; in getNext()
266 getString(xmlNodePtr cur, const char *xpath) { in getString() argument
271 if ((cur == NULL) || (cur->doc == NULL) || (xpath == NULL)) in getString()
273 ctxtXPath->doc = cur->doc; in getString()
274 ctxtXPath->node = cur; in getString()
299 xsdIncorectTestCase(xmlNodePtr cur) { in xsdIncorectTestCase() argument
306 cur = getNext(cur, "./incorrect[1]"); in xsdIncorectTestCase()
[all …]
/external/libxml2/example/
Dgjobread.c46 parsePerson(xmlDocPtr doc, xmlNsPtr ns, xmlNodePtr cur) { in parsePerson() argument
62 cur = cur->xmlChildrenNode; in parsePerson()
63 while (cur != NULL) { in parsePerson()
64 if ((!xmlStrcmp(cur->name, (const xmlChar *)"Person")) && in parsePerson()
65 (cur->ns == ns)) in parsePerson()
66 ret->name = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); in parsePerson()
67 if ((!xmlStrcmp(cur->name, (const xmlChar *)"Email")) && in parsePerson()
68 (cur->ns == ns)) in parsePerson()
69 ret->email = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1); in parsePerson()
70 cur = cur->next; in parsePerson()
[all …]
/external/python/cpython3/Lib/sqlite3/test/
Dtypes.py36 self.cur = self.con.cursor()
37 self.cur.execute("create table test(i integer, s varchar, f number, b blob)")
40 self.cur.close()
44 self.cur.execute("insert into test(s) values (?)", ("�sterreich",))
45 self.cur.execute("select s from test")
46 row = self.cur.fetchone()
50 self.cur.execute("insert into test(i) values (?)", (42,))
51 self.cur.execute("select i from test")
52 row = self.cur.fetchone()
57 self.cur.execute("insert into test(i) values (?)", (num,))
[all …]
Duserfunctions.py177 cur = self.con.cursor()
178 cur.execute("select reftest()")
181 cur = self.con.cursor()
182 cur.execute("select returntext()")
183 val = cur.fetchone()[0]
188 cur = self.con.cursor()
189 cur.execute("select returnunicode()")
190 val = cur.fetchone()[0]
195 cur = self.con.cursor()
196 cur.execute("select returnint()")
[all …]
/external/selinux/libsepol/src/
Dsidtab.c46 sidtab_node_t *prev, *cur, *newnode; in sepol_sidtab_insert() local
53 cur = s->htable[hvalue]; in sepol_sidtab_insert()
54 while (cur != NULL && sid > cur->sid) { in sepol_sidtab_insert()
55 prev = cur; in sepol_sidtab_insert()
56 cur = cur->next; in sepol_sidtab_insert()
59 if (cur && sid == cur->sid) { in sepol_sidtab_insert()
90 sidtab_node_t *cur, *last; in sepol_sidtab_remove() local
97 cur = s->htable[hvalue]; in sepol_sidtab_remove()
98 while (cur != NULL && sid > cur->sid) { in sepol_sidtab_remove()
99 last = cur; in sepol_sidtab_remove()
[all …]
Dhashtab.c69 hashtab_ptr_t prev, cur, newnode; in hashtab_insert() local
76 cur = h->htable[hvalue]; in hashtab_insert()
77 while (cur && h->keycmp(h, key, cur->key) > 0) { in hashtab_insert()
78 prev = cur; in hashtab_insert()
79 cur = cur->next; in hashtab_insert()
82 if (cur && (h->keycmp(h, key, cur->key) == 0)) in hashtab_insert()
108 hashtab_ptr_t cur, last; in hashtab_remove() local
115 cur = h->htable[hvalue]; in hashtab_remove()
116 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) { in hashtab_remove()
117 last = cur; in hashtab_remove()
[all …]
Davtab.c138 avtab_ptr_t prev, cur, newnode; in avtab_insert() local
146 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert()
147 cur; prev = cur, cur = cur->next) { in avtab_insert()
148 if (key->source_type == cur->key.source_type && in avtab_insert()
149 key->target_type == cur->key.target_type && in avtab_insert()
150 key->target_class == cur->key.target_class && in avtab_insert()
151 (specified & cur->key.specified)) { in avtab_insert()
157 if (key->source_type < cur->key.source_type) in avtab_insert()
159 if (key->source_type == cur->key.source_type && in avtab_insert()
160 key->target_type < cur->key.target_type) in avtab_insert()
[all …]
/external/selinux/policycoreutils/newrole/
Dhashtab.c48 hashtab_ptr_t prev, cur, newnode; in hashtab_insert() local
55 cur = h->htable[hvalue]; in hashtab_insert()
56 while (cur && h->keycmp(h, key, cur->key) > 0) { in hashtab_insert()
57 prev = cur; in hashtab_insert()
58 cur = cur->next; in hashtab_insert()
61 if (cur && (h->keycmp(h, key, cur->key) == 0)) in hashtab_insert()
87 hashtab_ptr_t cur, last; in hashtab_remove() local
94 cur = h->htable[hvalue]; in hashtab_remove()
95 while (cur != NULL && h->keycmp(h, key, cur->key) > 0) { in hashtab_remove()
96 last = cur; in hashtab_remove()
[all …]
/external/python/cpython2/Lib/sqlite3/test/
Dtypes.py37 self.cur = self.con.cursor()
38 self.cur.execute("create table test(i integer, s varchar, f number, b blob)")
41 self.cur.close()
45 self.cur.execute("insert into test(s) values (?)", (u"�sterreich",))
46 self.cur.execute("select s from test")
47 row = self.cur.fetchone()
51 self.cur.execute("insert into test(i) values (?)", (42,))
52 self.cur.execute("select i from test")
53 row = self.cur.fetchone()
58 self.cur.execute("insert into test(i) values (?)", (num,))
[all …]
Duserfunctions.py164 cur = self.con.cursor()
165 cur.execute("select reftest()")
168 cur = self.con.cursor()
169 cur.execute("select returntext()")
170 val = cur.fetchone()[0]
175 cur = self.con.cursor()
176 cur.execute("select returnunicode()")
177 val = cur.fetchone()[0]
182 cur = self.con.cursor()
183 cur.execute("select returnint()")
[all …]
/external/fio/lib/
Dprio_tree.c174 struct prio_tree_node *cur, *res = node; in prio_tree_insert() local
185 cur = root->prio_tree_node; in prio_tree_insert()
189 get_index(cur, &r_index, &h_index); in prio_tree_insert()
192 return cur; in prio_tree_insert()
197 node = prio_tree_replace(root, cur, node); in prio_tree_insert()
198 cur = tmp; in prio_tree_insert()
214 if (prio_tree_right_empty(cur)) { in prio_tree_insert()
216 cur->right = node; in prio_tree_insert()
217 node->parent = cur; in prio_tree_insert()
220 cur = cur->right; in prio_tree_insert()
[all …]
/external/freetype/src/psaux/
Dpsobjs.c290 FT_Byte* cur = *acur; in skip_comment() local
293 while ( cur < limit ) in skip_comment()
295 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment()
297 cur++; in skip_comment()
300 *acur = cur; in skip_comment()
308 FT_Byte* cur = *acur; in skip_spaces() local
311 while ( cur < limit ) in skip_spaces()
313 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces()
315 if ( *cur == '%' ) in skip_spaces()
317 skip_comment( &cur, limit ); in skip_spaces()
[all …]
/external/libmojo/build/
Dgn_helpers.py165 self.cur = 0
168 return self.cur == len(self.input)
171 while not self.IsDone() and self.input[self.cur] in ' \t\n':
172 self.cur += 1
195 self.input[self.cur:])
209 if self.input[self.cur] != '=':
210 raise GNException("Unexpected token: " + self.input[self.cur:])
211 self.cur += 1
225 next_char = self.input[self.cur]
237 raise GNException("Unexpected token: " + self.input[self.cur:])
[all …]
/external/skia/gn/
Dgn_helpers.py165 self.cur = 0
168 return self.cur == len(self.input)
171 while not self.IsDone() and self.input[self.cur] in ' \t\n':
172 self.cur += 1
195 self.input[self.cur:])
209 if self.input[self.cur] != '=':
210 raise GNException("Unexpected token: " + self.input[self.cur:])
211 self.cur += 1
225 next_char = self.input[self.cur]
237 raise GNException("Unexpected token: " + self.input[self.cur:])
[all …]
/external/skqp/gn/
Dgn_helpers.py165 self.cur = 0
168 return self.cur == len(self.input)
171 while not self.IsDone() and self.input[self.cur] in ' \t\n':
172 self.cur += 1
195 self.input[self.cur:])
209 if self.input[self.cur] != '=':
210 raise GNException("Unexpected token: " + self.input[self.cur:])
211 self.cur += 1
225 next_char = self.input[self.cur]
237 raise GNException("Unexpected token: " + self.input[self.cur:])
[all …]

12345678910>>...34