/external/mesa3d/src/gallium/auxiliary/tgsi/ |
D | tgsi_text.c | 42 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-mx32/ |
D | s390_sthyi.c | 217 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-m32/ |
D | s390_sthyi.c | 217 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/ |
D | s390_sthyi.c | 217 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/ |
D | tree.c | 374 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 …]
|
D | xmlsave.c | 592 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 …]
|
D | c14n.c | 77 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 …]
|
D | uri.c | 210 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 …]
|
D | catalog.c | 547 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 …]
|
D | xpointer.c | 115 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 …]
|
/external/libxml2/example/ |
D | gjobread.c | 46 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/selinux/libsepol/src/ |
D | sidtab.c | 46 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 …]
|
D | hashtab.c | 69 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 …]
|
D | avtab.c | 138 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/python/cpython3/Lib/sqlite3/test/ |
D | types.py | 36 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 …]
|
D | userfunctions.py | 177 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/policycoreutils/newrole/ |
D | hashtab.c | 48 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/ |
D | types.py | 37 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 …]
|
D | userfunctions.py | 164 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/ |
D | prio_tree.c | 174 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/lzma/C/ |
D | LzHash.h | 15 #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/ |
D | gn_helpers.py | 165 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/ |
D | gn_helpers.py | 165 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/libmojo/build/ |
D | gn_helpers.py | 165 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/freetype/src/psaux/ |
D | psobjs.c | 290 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 …]
|