Home
last modified time | relevance | path

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

12345678910>>...25

/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.c368 const xmlChar *cur = value; in xmlValidateNCName() local
378 while (IS_BLANK_CH(*cur)) cur++; in xmlValidateNCName()
379 if (((*cur >= 'a') && (*cur <= 'z')) || ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName()
380 (*cur == '_')) in xmlValidateNCName()
381 cur++; in xmlValidateNCName()
384 while (((*cur >= 'a') && (*cur <= 'z')) || in xmlValidateNCName()
385 ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName()
386 ((*cur >= '0') && (*cur <= '9')) || in xmlValidateNCName()
387 (*cur == '_') || (*cur == '-') || (*cur == '.')) in xmlValidateNCName()
388 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);
295 xmlC14NVisibleNsStackDestroy(xmlC14NVisibleNsStackPtr cur) { in xmlC14NVisibleNsStackDestroy() argument
[all …]
Duri.c209 const char *cur; in xmlParse3986Scheme() local
214 cur = *str; in xmlParse3986Scheme()
215 if (!ISA_ALPHA(cur)) in xmlParse3986Scheme()
217 cur++; in xmlParse3986Scheme()
218 while (ISA_ALPHA(cur) || ISA_DIGIT(cur) || in xmlParse3986Scheme()
219 (*cur == '+') || (*cur == '-') || (*cur == '.')) cur++; in xmlParse3986Scheme()
222 uri->scheme = STRNDUP(*str, cur - *str); in xmlParse3986Scheme()
224 *str = cur; in xmlParse3986Scheme()
246 const char *cur; in xmlParse3986Fragment() local
251 cur = *str; in xmlParse3986Fragment()
[all …]
Dcatalog.c542 xmlCatalogEntryPtr cur; in xmlDumpXMLCatalogNode() local
546 cur = catal; in xmlDumpXMLCatalogNode()
547 while (cur != NULL) { in xmlDumpXMLCatalogNode()
548 if (cur->group == cgroup) { in xmlDumpXMLCatalogNode()
549 switch (cur->type) { in xmlDumpXMLCatalogNode()
554 if (cur == catal) { in xmlDumpXMLCatalogNode()
555 cur = cur->children; in xmlDumpXMLCatalogNode()
561 xmlSetProp(node, BAD_CAST "catalog", cur->value); in xmlDumpXMLCatalogNode()
568 xmlSetProp(node, BAD_CAST "id", cur->name); in xmlDumpXMLCatalogNode()
569 if (cur->value != NULL) { in xmlDumpXMLCatalogNode()
[all …]
Dxpointer.c106 ctxt->context->lastError.int1 = ctxt->cur - ctxt->base; in xmlXPtrErr()
116 ctxt->cur - ctxt->base, 0, in xmlXPtrErr()
127 xmlNodePtr xmlXPtrAdvanceNode(xmlNodePtr cur, int *level);
135 xmlXPtrGetArity(xmlNodePtr cur) { in xmlXPtrGetArity() argument
137 if ((cur == NULL) || (cur->type == XML_NAMESPACE_DECL)) in xmlXPtrGetArity()
139 cur = cur->children; in xmlXPtrGetArity()
140 for (i = 0;cur != NULL;cur = cur->next) { in xmlXPtrGetArity()
141 if ((cur->type == XML_ELEMENT_NODE) || in xmlXPtrGetArity()
142 (cur->type == XML_DOCUMENT_NODE) || in xmlXPtrGetArity()
143 (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 …]
Dentities.c506 xmlEntityPtr cur; in xmlGetDocEntity() local
512 cur = xmlGetEntityFromTable(table, name); in xmlGetDocEntity()
513 if (cur != NULL) in xmlGetDocEntity()
514 return(cur); in xmlGetDocEntity()
520 cur = xmlGetEntityFromTable(table, name); in xmlGetDocEntity()
521 if (cur != NULL) in xmlGetDocEntity()
522 return(cur); in xmlGetDocEntity()
557 const xmlChar *cur = input; in xmlEncodeEntitiesInternal() local
578 while (*cur != '\0') { in xmlEncodeEntitiesInternal()
589 if (*cur == '<') { in xmlEncodeEntitiesInternal()
[all …]
Dxmlschemastypes.c851 xmlSchemaValueAppend(xmlSchemaValPtr prev, xmlSchemaValPtr cur) { in xmlSchemaValueAppend() argument
853 if ((prev == NULL) || (cur == NULL)) in xmlSchemaValueAppend()
855 prev->next = cur; in xmlSchemaValueAppend()
869 xmlSchemaValueGetNext(xmlSchemaValPtr cur) { in xmlSchemaValueGetNext() argument
871 if (cur == NULL) in xmlSchemaValueGetNext()
873 return (cur->next); in xmlSchemaValueGetNext()
1196 const xmlChar *cur = *str, *firstChar; in _xmlSchemaParseGYear() local
1199 if (((*cur < '0') || (*cur > '9')) && in _xmlSchemaParseGYear()
1200 (*cur != '-') && (*cur != '+')) in _xmlSchemaParseGYear()
1203 if (*cur == '-') { in _xmlSchemaParseGYear()
[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/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.c171 struct prio_tree_node *cur, *res = node; in prio_tree_insert() local
182 cur = root->prio_tree_node; in prio_tree_insert()
186 get_index(cur, &r_index, &h_index); in prio_tree_insert()
189 return cur; in prio_tree_insert()
194 node = prio_tree_replace(root, cur, node); in prio_tree_insert()
195 cur = tmp; in prio_tree_insert()
211 if (prio_tree_right_empty(cur)) { in prio_tree_insert()
213 cur->right = node; in prio_tree_insert()
214 node->parent = cur; in prio_tree_insert()
217 cur = cur->right; in prio_tree_insert()
[all …]
/external/lzma/C/
DLzHash.h15 #define HASH2_CALC hashValue = cur[0] | ((UInt32)cur[1] << 8);
18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
20 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; }
23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
25 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \
26 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)) & p->hashMask; }
29 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \
31 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \
32 hash4Value = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)); \
33 hashValue = (hash4Value ^ (p->crc[cur[4]] << 3)) & p->hashMask; \
[all …]
/external/boringssl/src/crypto/lhash/
Dlhash_test.c36 struct dummy_lhash_node *cur, *next; in dummy_lh_free() local
38 for (cur = lh->head; cur != NULL; cur = next) { in dummy_lh_free()
39 next = cur->next; in dummy_lh_free()
40 free(cur->s); in dummy_lh_free()
41 free(cur); in dummy_lh_free()
47 struct dummy_lhash_node *cur; in dummy_lh_num_items() local
49 for (cur = lh->head; cur != NULL; cur = cur->next) { in dummy_lh_num_items()
57 struct dummy_lhash_node *cur; in dummy_lh_retrieve() local
59 for (cur = lh->head; cur != NULL; cur = cur->next) { in dummy_lh_retrieve()
60 if (strcmp(cur->s, s) == 0) { in dummy_lh_retrieve()
[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/dbus-binding-generator/chromeos-dbus-bindings/
Ddbus_signature.cc64 string::const_iterator cur = signature; in GetTypenameForSignature() local
65 int signature_value = *cur++; in GetTypenameForSignature()
68 if (!GetStructTypenameForSignature(cur, end, &cur, output)) { in GetTypenameForSignature()
74 if (!GetArrayTypenameForSignature(cur, end, &cur, output)) { in GetTypenameForSignature()
137 *next = cur; in GetTypenameForSignature()
148 string::const_iterator cur = signature; in GetArrayTypenameForSignature() local
149 if (cur == end) { in GetArrayTypenameForSignature()
154 if (*cur == DBUS_DICT_ENTRY_BEGIN_CHAR) { in GetArrayTypenameForSignature()
156 ++cur; in GetArrayTypenameForSignature()
157 while (cur != end && *cur != DBUS_DICT_ENTRY_END_CHAR) { in GetArrayTypenameForSignature()
[all …]
/external/selinux/policycoreutils/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/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/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>>...25