Home
last modified time | relevance | path

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

12345678910>>...27

/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/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/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/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/pdfium/third_party/freetype/src/psaux/
Dpsobjs.c288 FT_Byte* cur = *acur; in skip_comment() local
291 while ( cur < limit ) in skip_comment()
293 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment()
295 cur++; in skip_comment()
298 *acur = cur; in skip_comment()
306 FT_Byte* cur = *acur; in skip_spaces() local
309 while ( cur < limit ) in skip_spaces()
311 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces()
313 if ( *cur == '%' ) in skip_spaces()
315 skip_comment( &cur, limit ); in skip_spaces()
[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/freetype/src/psaux/
Dpsobjs.c288 FT_Byte* cur = *acur; in skip_comment() local
291 while ( cur < limit ) in skip_comment()
293 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment()
295 cur++; in skip_comment()
298 *acur = cur; in skip_comment()
306 FT_Byte* cur = *acur; in skip_spaces() local
309 while ( cur < limit ) in skip_spaces()
311 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces()
313 if ( *cur == '%' ) in skip_spaces()
315 skip_comment( &cur, limit ); in skip_spaces()
[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/bison/lib/
Dmbuiter.h119 struct mbchar cur; /* the current character: member
136 if (is_basic (*iter->cur.ptr)) in mbuiter_multi_next()
141 iter->cur.bytes = 1; in mbuiter_multi_next()
142 iter->cur.wc = *iter->cur.ptr; in mbuiter_multi_next()
143 iter->cur.wc_valid = true; in mbuiter_multi_next()
150 iter->cur.bytes = mbrtowc (&iter->cur.wc, iter->cur.ptr, in mbuiter_multi_next()
151 strnlen1 (iter->cur.ptr, MB_CUR_MAX), in mbuiter_multi_next()
153 if (iter->cur.bytes == (size_t) -1) in mbuiter_multi_next()
156 iter->cur.bytes = 1; in mbuiter_multi_next()
157 iter->cur.wc_valid = false; in mbuiter_multi_next()
[all …]
/external/lzma/C/
DLzHash.h15 #define HASH2_CALC hv = cur[0] | ((UInt32)cur[1] << 8);
18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
20 hv = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
25 temp ^= ((UInt32)cur[2] << 8); \
27 hv = (temp ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
30 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
32 temp ^= ((UInt32)cur[2] << 8); \
34 temp ^= (p->crc[cur[3]] << 5); \
36 hv = (temp ^ (p->crc[cur[4]] << 3)) & p->hashMask; }
[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/libcap-ng/libcap-ng-0.7/utils/
Dproc-llist.c32 l->cur = NULL; in list_create()
61 l->cur->next = newnode; in list_append()
64 l->cur = newnode; in list_append()
71 register lnode* cur; in list_clear() local
73 cur = l->head; in list_clear()
74 while (cur) { in list_clear()
75 nextnode=cur->next; in list_clear()
76 free(cur->cmd); in list_clear()
77 free(cur->capabilities); in list_clear()
78 free(cur->bounds); in list_clear()
[all …]
/external/selinux/libselinux/src/android/
Dandroid_platform.c401 struct seapp_context *cur; in selinux_android_seapp_context_reload() local
461 cur = (struct seapp_context *) calloc(1, sizeof(struct seapp_context)); in selinux_android_seapp_context_reload()
462 if (!cur) in selinux_android_seapp_context_reload()
467 free_seapp_context(cur); in selinux_android_seapp_context_reload()
475 free_seapp_context(cur); in selinux_android_seapp_context_reload()
482 cur->isSystemServer = true; in selinux_android_seapp_context_reload()
484 cur->isSystemServer = false; in selinux_android_seapp_context_reload()
486 free_seapp_context(cur); in selinux_android_seapp_context_reload()
490 cur->isEphemeralAppSet = true; in selinux_android_seapp_context_reload()
492 cur->isEphemeralApp = true; in selinux_android_seapp_context_reload()
[all …]
/external/selinux/python/sepolicy/
Dsepolicy-bash-completion.sh65 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
101 COMPREPLY=( $( compgen -f -- "$cur") )
109 COMPREPLY=( $(compgen -W "$( __get_all_booleans ) " -- "$cur") )
112 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
116 COMPREPLY=( $(compgen -W "$( __get_all_domain_types ) " -- "$cur") )
119 COMPREPLY=( $(compgen -W "$( __get_all_classes ) " -- "$cur") )
122 COMPREPLY=( $(compgen -W '${OPTS[$verb]}' -- "$cur") )
128 COMPREPLY=( $( compgen -d -- "$cur") )
132 COMPREPLY=( $( compgen -d -- "$cur") )
136 COMPREPLY=( $(compgen -W "$( __get_all_domain_types ) " -- "$cur") )
[all …]
/external/libxml2/doc/tutorial/
Dincludekeyword.c9 parseStory (xmlDocPtr doc, xmlNodePtr cur) {
12 cur = cur->xmlChildrenNode;
13 while (cur != NULL) {
14 if ((!xmlStrcmp(cur->name, (const xmlChar *)"keyword"))) {
15 key = xmlNodeListGetString(doc, cur->xmlChildrenNode, 1);
19 cur = cur->next;
28 xmlNodePtr cur;
37 cur = xmlDocGetRootElement(doc);
39 if (cur == NULL) {
45 if (xmlStrcmp(cur->name, (const xmlChar *) "story")) {
[all …]

12345678910>>...27