/third_party/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 …]
|
/third_party/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 | HTMLtree.c | 51 htmlNodePtr cur; in htmlGetMetaEncoding() local 57 cur = doc->children; in htmlGetMetaEncoding() 62 while (cur != NULL) { in htmlGetMetaEncoding() 63 if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) { in htmlGetMetaEncoding() 64 if (xmlStrEqual(cur->name, BAD_CAST"html")) in htmlGetMetaEncoding() 66 if (xmlStrEqual(cur->name, BAD_CAST"head")) in htmlGetMetaEncoding() 68 if (xmlStrEqual(cur->name, BAD_CAST"meta")) in htmlGetMetaEncoding() 71 cur = cur->next; in htmlGetMetaEncoding() 73 if (cur == NULL) in htmlGetMetaEncoding() 75 cur = cur->children; in htmlGetMetaEncoding() [all …]
|
D | xmlsave.c | 591 xhtmlNodeDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur); 593 static void xmlNodeDumpOutputInternal(xmlSaveCtxtPtr ctxt, xmlNodePtr cur); 594 void xmlNsListDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur); 595 static int xmlDocContentDumpOutput(xmlSaveCtxtPtr ctxt, xmlDocPtr cur); 630 xmlNsDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur, xmlSaveCtxtPtr ctxt) { in xmlNsDumpOutput() argument 631 if ((cur == NULL) || (buf == NULL)) return; in xmlNsDumpOutput() 632 if ((cur->type == XML_LOCAL_NAMESPACE) && (cur->href != NULL)) { in xmlNsDumpOutput() 633 if (xmlStrEqual(cur->prefix, BAD_CAST "xml")) in xmlNsDumpOutput() 642 if (cur->prefix != NULL) { in xmlNsDumpOutput() 644 xmlOutputBufferWriteString(buf, (const char *)cur->prefix); 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 …]
|
/third_party/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 …]
|
/third_party/pulseaudio/shell-completion/bash/ |
D | pulseaudio | 112 local cur prev words cword preprev command 137 list) COMPREPLY=($(compgen -W 'short' -- "$cur")) ;; 141 COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur")) 146 COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur")) 151 COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur")) 156 COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur")) 161 COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur")) 164 set-*-mute) COMPREPLY=($(compgen -W 'true false toggle' -- "$cur")) ;; 171 COMPREPLY=($(compgen -W '${comps[*]}' -- "$cur")) 175 _known_hosts_real "$cur" [all …]
|
/third_party/python/Lib/sqlite3/test/ |
D | types.py | 35 self.cur = self.con.cursor() 36 self.cur.execute("create table test(i integer, s varchar, f number, b blob)") 39 self.cur.close() 43 self.cur.execute("insert into test(s) values (?)", ("Österreich",)) 44 self.cur.execute("select s from test") 45 row = self.cur.fetchone() 49 self.cur.execute("insert into test(i) values (?)", (42,)) 50 self.cur.execute("select i from test") 51 row = self.cur.fetchone() 56 self.cur.execute("insert into test(i) values (?)", (num,)) [all …]
|
D | userfunctions.py | 191 cur = self.con.cursor() 192 cur.execute("select reftest()") 195 cur = self.con.cursor() 196 cur.execute("select returntext()") 197 val = cur.fetchone()[0] 202 cur = self.con.cursor() 203 res = cur.execute("select returntextwithnull()").fetchone()[0] 208 cur = self.con.cursor() 209 cur.execute("select returnunicode()") 210 val = cur.fetchone()[0] [all …]
|
/third_party/selinux/libsepol/src/ |
D | sidtab.c | 43 sidtab_node_t *prev, *cur, *newnode; in sepol_sidtab_insert() local 50 cur = s->htable[hvalue]; in sepol_sidtab_insert() 51 while (cur != NULL && sid > cur->sid) { in sepol_sidtab_insert() 52 prev = cur; in sepol_sidtab_insert() 53 cur = cur->next; in sepol_sidtab_insert() 56 if (cur && sid == cur->sid) { in sepol_sidtab_insert() 87 sidtab_node_t *cur; in sepol_sidtab_search() local 93 cur = s->htable[hvalue]; in sepol_sidtab_search() 94 while (cur != NULL && sid > cur->sid) in sepol_sidtab_search() 95 cur = cur->next; in sepol_sidtab_search() [all …]
|
D | hashtab.c | 68 hashtab_ptr_t *new_htable, *dst, cur, next; in hashtab_check_resize() local 85 cur = h->htable[i]; in hashtab_check_resize() 86 while (cur != NULL) { in hashtab_check_resize() 87 hvalue = h->hash_value(h, cur->key); in hashtab_check_resize() 89 while (*dst && h->keycmp(h, cur->key, (*dst)->key) > 0) in hashtab_check_resize() 92 next = cur->next; in hashtab_check_resize() 94 cur->next = *dst; in hashtab_check_resize() 95 *dst = cur; in hashtab_check_resize() 97 cur = next; in hashtab_check_resize() 107 hashtab_ptr_t prev, cur, newnode; in hashtab_insert() local [all …]
|
D | avtab.c | 139 avtab_ptr_t prev, cur, newnode; in avtab_insert() local 147 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert() 148 cur; prev = cur, cur = cur->next) { in avtab_insert() 149 if (key->source_type == cur->key.source_type && in avtab_insert() 150 key->target_type == cur->key.target_type && in avtab_insert() 151 key->target_class == cur->key.target_class && in avtab_insert() 152 (specified & cur->key.specified)) { in avtab_insert() 158 if (key->source_type < cur->key.source_type) in avtab_insert() 160 if (key->source_type == cur->key.source_type && in avtab_insert() 161 key->target_type < cur->key.target_type) in avtab_insert() [all …]
|
/third_party/mbedtls/library/ |
D | ssl_cache.c | 62 mbedtls_ssl_cache_entry *cur; in ssl_cache_find_entry() local 64 for( cur = cache->chain; cur != NULL; cur = cur->next ) in ssl_cache_find_entry() 68 (int) ( t - cur->timestamp ) > cache->timeout ) in ssl_cache_find_entry() 72 if( session_id_len != cur->session_id_len || in ssl_cache_find_entry() 73 memcmp( session_id, cur->session_id, in ssl_cache_find_entry() 74 cur->session_id_len ) != 0 ) in ssl_cache_find_entry() 82 if( cur != NULL ) in ssl_cache_find_entry() 84 *dst = cur; in ssl_cache_find_entry() 138 mbedtls_ssl_cache_entry *cur, *last; in ssl_cache_pick_writing_slot() local 149 for( cur = cache->chain; cur != NULL; cur = cur->next ) in ssl_cache_pick_writing_slot() [all …]
|
/third_party/rust/crates/clap/clap_complete/tests/snapshots/ |
D | quoting.bash | 2 local i cur prev opts cmd 4 cur="${COMP_WORDS[COMP_CWORD]}" 65 if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then 66 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 74 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 79 if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then 80 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 88 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 93 if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then 94 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [all …]
|
D | sub_subcommands.bash | 2 local i cur prev opts cmd 4 cur="${COMP_WORDS[COMP_CWORD]}" 59 if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then 60 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 68 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 73 if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then 74 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 82 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 87 if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then 88 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [all …]
|
D | special_commands.bash | 2 local i cur prev opts cmd 4 cur="${COMP_WORDS[COMP_CWORD]}" 53 if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then 54 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 62 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 67 if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then 68 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 76 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 81 if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then 82 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [all …]
|
/third_party/harfbuzz/src/ |
D | hb-ot-shape-complex-vowel-constraints.cc | 62 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints() 65 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 75 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 84 matched = 0x0941u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() 87 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 95 if (0x094Du == buffer->cur (1).codepoint && in _hb_preprocess_text_vowel_constraints() 97 0x0907u == buffer->cur (2).codepoint) in _hb_preprocess_text_vowel_constraints() 113 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints() 116 matched = 0x09BEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() 119 matched = 0x09C3u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-shape-complex-vowel-constraints.cc | 62 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints() 65 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 75 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 84 matched = 0x0941u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() 87 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 95 if (0x094Du == buffer->cur (1).codepoint && in _hb_preprocess_text_vowel_constraints() 97 0x0907u == buffer->cur (2).codepoint) in _hb_preprocess_text_vowel_constraints() 113 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints() 116 matched = 0x09BEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() 119 matched = 0x09C3u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() [all …]
|
/third_party/flutter/skia/third_party/externals/harfbuzz/src/ |
D | hb-ot-shape-complex-vowel-constraints.cc | 58 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints() 61 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 71 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 80 matched = 0x0941u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() 83 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints() 91 if (0x094Du == buffer->cur (1).codepoint && in _hb_preprocess_text_vowel_constraints() 93 0x0907u == buffer->cur (2).codepoint) in _hb_preprocess_text_vowel_constraints() 111 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints() 114 matched = 0x09BEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() 117 matched = 0x09C3u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints() [all …]
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
D | psobjs.c | 297 FT_Byte* cur = *acur; in skip_comment() local 300 while ( cur < limit ) in skip_comment() 302 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment() 304 cur++; in skip_comment() 307 *acur = cur; in skip_comment() 315 FT_Byte* cur = *acur; in skip_spaces() local 318 while ( cur < limit ) in skip_spaces() 320 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces() 322 if ( *cur == '%' ) in skip_spaces() 324 skip_comment( &cur, limit ); in skip_spaces() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/psaux/ |
D | psobjs.c | 298 FT_Byte* cur = *acur; in skip_comment() local 301 while ( cur < limit ) in skip_comment() 303 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment() 305 cur++; in skip_comment() 308 *acur = cur; in skip_comment() 316 FT_Byte* cur = *acur; in skip_spaces() local 319 while ( cur < limit ) in skip_spaces() 321 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces() 323 if ( *cur == '%' ) in skip_spaces() 325 skip_comment( &cur, limit ); in skip_spaces() [all …]
|
/third_party/freetype/src/psaux/ |
D | psobjs.c | 263 FT_Byte* cur = *acur; in skip_comment() local 266 while ( cur < limit ) in skip_comment() 268 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment() 270 cur++; in skip_comment() 273 *acur = cur; in skip_comment() 281 FT_Byte* cur = *acur; in skip_spaces() local 284 while ( cur < limit ) in skip_spaces() 286 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces() 288 if ( *cur == '%' ) in skip_spaces() 290 skip_comment( &cur, limit ); in skip_spaces() [all …]
|