Home
last modified time | relevance | path

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

12345678910>>...50

/third_party/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 …]
/third_party/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 …]
/third_party/gettext/gnulib-local/lib/libxml/
DHTMLtree.c79 htmlNodePtr cur; in htmlGetMetaEncoding() local
85 cur = doc->children; in htmlGetMetaEncoding()
90 while (cur != NULL) { in htmlGetMetaEncoding()
91 if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) { in htmlGetMetaEncoding()
92 if (xmlStrEqual(cur->name, BAD_CAST"html")) in htmlGetMetaEncoding()
94 if (xmlStrEqual(cur->name, BAD_CAST"head")) in htmlGetMetaEncoding()
96 if (xmlStrEqual(cur->name, BAD_CAST"meta")) in htmlGetMetaEncoding()
99 cur = cur->next; in htmlGetMetaEncoding()
101 if (cur == NULL) in htmlGetMetaEncoding()
103 cur = cur->children; in htmlGetMetaEncoding()
[all …]
Dtree.c403 const xmlChar *cur = value; in xmlValidateNCName() local
413 while (IS_BLANK_CH(*cur)) cur++; in xmlValidateNCName()
414 if (((*cur >= 'a') && (*cur <= 'z')) || ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName()
415 (*cur == '_')) in xmlValidateNCName()
416 cur++; in xmlValidateNCName()
419 while (((*cur >= 'a') && (*cur <= 'z')) || in xmlValidateNCName()
420 ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName()
421 ((*cur >= '0') && (*cur <= '9')) || in xmlValidateNCName()
422 (*cur == '_') || (*cur == '-') || (*cur == '.')) in xmlValidateNCName()
423 cur++; in xmlValidateNCName()
[all …]
Dxmlsave.c621 xhtmlNodeDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur);
623 static void xmlNodeListDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur);
624 static void xmlNodeDumpOutputInternal(xmlSaveCtxtPtr ctxt, xmlNodePtr cur);
625 void xmlNsListDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur);
626 static int xmlDocContentDumpOutput(xmlSaveCtxtPtr ctxt, xmlDocPtr cur);
661 xmlNsDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur, xmlSaveCtxtPtr ctxt) { in xmlNsDumpOutput() argument
662 if ((cur == NULL) || (buf == NULL)) return; in xmlNsDumpOutput()
663 if ((cur->type == XML_LOCAL_NAMESPACE) && (cur->href != NULL)) { in xmlNsDumpOutput()
664 if (xmlStrEqual(cur->prefix, BAD_CAST "xml")) in xmlNsDumpOutput()
673 if (cur->prefix != NULL) { in xmlNsDumpOutput()
[all …]
Dc14n.c107 static void xmlC14NVisibleNsStackDestroy (xmlC14NVisibleNsStackPtr cur);
108 static void xmlC14NVisibleNsStackAdd (xmlC14NVisibleNsStackPtr cur,
111 static void xmlC14NVisibleNsStackSave (xmlC14NVisibleNsStackPtr cur,
113 static void xmlC14NVisibleNsStackRestore (xmlC14NVisibleNsStackPtr cur,
115 static void xmlC14NVisibleNsStackShift (xmlC14NVisibleNsStackPtr cur);
116 static int xmlC14NVisibleNsStackFind (xmlC14NVisibleNsStackPtr cur,
118 static int xmlExcC14NVisibleNsStackFind (xmlC14NVisibleNsStackPtr cur,
128 static int xmlC14NProcessNode(xmlC14NCtxPtr ctx, xmlNodePtr cur);
129 static int xmlC14NProcessNodeList(xmlC14NCtxPtr ctx, xmlNodePtr cur);
326 xmlC14NVisibleNsStackDestroy(xmlC14NVisibleNsStackPtr cur) { in xmlC14NVisibleNsStackDestroy() argument
[all …]
Duri.c238 const char *cur; in xmlParse3986Scheme() local
243 cur = *str; in xmlParse3986Scheme()
244 if (!ISA_ALPHA(cur)) in xmlParse3986Scheme()
246 cur++; in xmlParse3986Scheme()
247 while (ISA_ALPHA(cur) || ISA_DIGIT(cur) || in xmlParse3986Scheme()
248 (*cur == '+') || (*cur == '-') || (*cur == '.')) cur++; in xmlParse3986Scheme()
251 uri->scheme = STRNDUP(*str, cur - *str); in xmlParse3986Scheme()
253 *str = cur; in xmlParse3986Scheme()
275 const char *cur; in xmlParse3986Fragment() local
280 cur = *str; in xmlParse3986Fragment()
[all …]
/third_party/libxml2/
DHTMLtree.c51 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 …]
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.c591 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 …]
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 …]
/third_party/pulseaudio/shell-completion/bash/
Dpulseaudio112 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/gettext/libtextstyle/gnulib-local/lib/libcroco/
Dcr-selector.c90 CRSelector *cur = NULL; in cr_selector_append() local
97 for (cur = a_this; cur && cur->next; cur = cur->next) ; in cr_selector_append()
99 cur->next = a_new; in cr_selector_append()
100 a_new->prev = cur; in cr_selector_append()
118 CRSelector *cur = NULL; in cr_selector_prepend() local
123 for (cur = a_new; cur && cur->prev; cur = cur->prev) ; in cr_selector_prepend()
125 return cur; in cr_selector_prepend()
160 CRSelector const *cur = NULL; in cr_selector_to_string() local
162 for (cur = a_this; cur; cur = cur->next) { in cr_selector_to_string()
163 if (cur->simple_sel) { in cr_selector_to_string()
[all …]
/third_party/python/Lib/sqlite3/test/
Dtypes.py35 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 …]
Duserfunctions.py191 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/grpc/src/core/lib/http/
Dparser.cc42 uint8_t* cur = beg; in handle_response_line() local
45 if (cur == end || *cur++ != 'H') { in handle_response_line()
48 if (cur == end || *cur++ != 'T') { in handle_response_line()
51 if (cur == end || *cur++ != 'T') { in handle_response_line()
54 if (cur == end || *cur++ != 'P') { in handle_response_line()
57 if (cur == end || *cur++ != '/') { in handle_response_line()
60 if (cur == end || *cur++ != '1') { in handle_response_line()
63 if (cur == end || *cur++ != '.') { in handle_response_line()
66 if (cur == end || *cur < '0' || *cur++ > '1') { in handle_response_line()
70 if (cur == end || *cur++ != ' ') { in handle_response_line()
[all …]
/third_party/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; in sepol_sidtab_search() local
96 cur = s->htable[hvalue]; in sepol_sidtab_search()
97 while (cur != NULL && sid > cur->sid) in sepol_sidtab_search()
98 cur = cur->next; in sepol_sidtab_search()
[all …]
Dhashtab.c69 hashtab_ptr_t *new_htable, *dst, cur, next; in hashtab_check_resize() local
86 cur = h->htable[i]; in hashtab_check_resize()
87 while (cur != NULL) { in hashtab_check_resize()
88 hvalue = h->hash_value(h, cur->key); in hashtab_check_resize()
90 while (*dst && h->keycmp(h, cur->key, (*dst)->key) > 0) in hashtab_check_resize()
93 next = cur->next; in hashtab_check_resize()
95 cur->next = *dst; in hashtab_check_resize()
96 *dst = cur; in hashtab_check_resize()
98 cur = next; in hashtab_check_resize()
108 hashtab_ptr_t prev, cur, newnode; in hashtab_insert() local
[all …]
Davtab.c139 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/
Dssl_cache.c62 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/skia/third_party/externals/harfbuzz/src/
Dhb-ot-shape-complex-vowel-constraints.cc62 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/harfbuzz/src/
Dhb-ot-shape-complex-vowel-constraints.cc62 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/
Dhb-ot-shape-complex-vowel-constraints.cc58 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/grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc70 static grpc_error* parse_begin(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
72 static grpc_error* parse_error(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
75 const uint8_t* cur, const uint8_t* end);
77 const uint8_t* cur, const uint8_t* end);
80 const uint8_t* cur, const uint8_t* end);
82 const uint8_t* cur, const uint8_t* end);
84 grpc_chttp2_hpack_parser* p, const uint8_t* cur, const uint8_t* end);
86 grpc_chttp2_hpack_parser* p, const uint8_t* cur, const uint8_t* end);
88 static grpc_error* parse_value0(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
90 static grpc_error* parse_value1(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
[all …]

12345678910>>...50