Home
last modified time | relevance | path

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

12345678910>>...38

/external/virglrenderer/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/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/strace/tests-m32/
Ds390_sthyi.c214 unsigned char *cur; in print_hypervisor_header() local
222 cur = buf + offs; in print_hypervisor_header()
225 print_0x8("", cur, 0, true); in print_hypervisor_header()
227 if (cur[0]) { in print_hypervisor_header()
231 if (cur[0] & 0x80) { in print_hypervisor_header()
236 if (cur[0] & 0x40) { in print_hypervisor_header()
243 if (cur[0] & 0x3F) { in print_hypervisor_header()
246 printf("%#hhx - ???", cur[0] & 0x3F); in print_hypervisor_header()
251 print_0x8(", infyflg2", cur, 1, false); in print_hypervisor_header()
252 print_0x8(", infyval1", cur, 2, false); in print_hypervisor_header()
[all …]
/external/strace/tests-mx32/
Ds390_sthyi.c214 unsigned char *cur; in print_hypervisor_header() local
222 cur = buf + offs; in print_hypervisor_header()
225 print_0x8("", cur, 0, true); in print_hypervisor_header()
227 if (cur[0]) { in print_hypervisor_header()
231 if (cur[0] & 0x80) { in print_hypervisor_header()
236 if (cur[0] & 0x40) { in print_hypervisor_header()
243 if (cur[0] & 0x3F) { in print_hypervisor_header()
246 printf("%#hhx - ???", cur[0] & 0x3F); in print_hypervisor_header()
251 print_0x8(", infyflg2", cur, 1, false); in print_hypervisor_header()
252 print_0x8(", infyval1", cur, 2, false); in print_hypervisor_header()
[all …]
/external/strace/tests/
Ds390_sthyi.c214 unsigned char *cur; in print_hypervisor_header() local
222 cur = buf + offs; in print_hypervisor_header()
225 print_0x8("", cur, 0, true); in print_hypervisor_header()
227 if (cur[0]) { in print_hypervisor_header()
231 if (cur[0] & 0x80) { in print_hypervisor_header()
236 if (cur[0] & 0x40) { in print_hypervisor_header()
243 if (cur[0] & 0x3F) { in print_hypervisor_header()
246 printf("%#hhx - ???", cur[0] & 0x3F); in print_hypervisor_header()
251 print_0x8(", infyflg2", cur, 1, false); in print_hypervisor_header()
252 print_0x8(", infyval1", cur, 2, false); in print_hypervisor_header()
[all …]
/external/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.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.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.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 …]
/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/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/python/cpython3/Lib/sqlite3/test/
Dtypes.py36 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 …]
Duserfunctions.py177 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/
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/blktrace/iowatcher/
Dmpstat.c47 static int past_eof(struct trace *trace, char *cur) in past_eof() argument
49 if (cur >= trace->mpstat_start + trace->mpstat_len) in past_eof()
57 char *cur = trace->mpstat_cur; in next_mpstat_line() local
59 next = strchr(cur, '\n'); in next_mpstat_line()
71 char *cur; in next_mpstat() local
73 cur = strstr(trace->mpstat_cur, record_header); in next_mpstat()
74 if (cur) { in next_mpstat()
75 cur += record_header_len; in next_mpstat()
77 cur = strstr(trace->mpstat_cur, record_header_v2); in next_mpstat()
78 if (cur) in next_mpstat()
[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/grpc-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()
47 if (cur == end || *cur++ != 'T') in handle_response_line()
49 if (cur == end || *cur++ != 'T') in handle_response_line()
51 if (cur == end || *cur++ != 'P') in handle_response_line()
53 if (cur == end || *cur++ != '/') in handle_response_line()
55 if (cur == end || *cur++ != '1') in handle_response_line()
57 if (cur == end || *cur++ != '.') in handle_response_line()
59 if (cur == end || *cur < '0' || *cur++ > '1') { in handle_response_line()
63 if (cur == end || *cur++ != ' ') in handle_response_line()
[all …]
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc64 static grpc_error* parse_begin(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
66 static grpc_error* parse_error(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
69 const uint8_t* cur, const uint8_t* end);
71 const uint8_t* cur, const uint8_t* end);
74 const uint8_t* cur, const uint8_t* end);
76 const uint8_t* cur, const uint8_t* end);
78 grpc_chttp2_hpack_parser* p, const uint8_t* cur, const uint8_t* end);
80 grpc_chttp2_hpack_parser* p, const uint8_t* cur, const uint8_t* end);
82 static grpc_error* parse_value0(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
84 static grpc_error* parse_value1(grpc_chttp2_hpack_parser* p, const uint8_t* cur,
[all …]
/external/harfbuzz_ng/src/
Dhb-ot-shape-complex-vowel-constraints.cc52 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
55 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
65 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
74 matched = 0x0941u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
77 switch (buffer->cur (1).codepoint) in _hb_preprocess_text_vowel_constraints()
85 if (0x094Du == buffer->cur (1).codepoint && in _hb_preprocess_text_vowel_constraints()
87 0x0907u == buffer->cur (2).codepoint) in _hb_preprocess_text_vowel_constraints()
105 switch (buffer->cur ().codepoint) in _hb_preprocess_text_vowel_constraints()
108 matched = 0x09BEu == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
111 matched = 0x09C3u == buffer->cur (1).codepoint; in _hb_preprocess_text_vowel_constraints()
[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 …]

12345678910>>...38