/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/node/deps/v8/src/temporal/ |
D | temporal-parser.cc | 164 int32_t cur = s; in ScanFractionalPart() local 165 if ((str.length() < (cur + 1)) || !IsDecimalDigit(str[cur])) return 0; in ScanFractionalPart() 166 *out = ToInt(str[cur++]); in ScanFractionalPart() 167 while ((cur < str.length()) && ((cur - s) < 9) && IsDecimalDigit(str[cur])) { in ScanFractionalPart() 168 *out = 10 * (*out) + ToInt(str[cur++]); in ScanFractionalPart() 170 *out *= kPowerOfTen[9 - (cur - s)]; in ScanFractionalPart() 171 return cur - s; in ScanFractionalPart() 222 int32_t cur = s; in ScanTimeSpec() local 223 if ((len = ScanTimeHour(str, cur, &time_hour)) == 0) return 0; in ScanTimeSpec() 224 cur += len; in ScanTimeSpec() [all …]
|
/third_party/pulseaudio/shell-completion/bash/ |
D | pactl | 112 local cur prev words cword preprev word 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 …]
|
D | regression.py | 39 cur = self.con.cursor() 40 cur.execute("pragma user_version") 46 cur = self.con.cursor() 47 cur.execute("pragma schema_version") 49 cur.close() 68 cur = self.con.cursor() 69 cur.execute('select 1 as "foo bar [datetime]"') 70 self.assertEqual(cur.description[0][0], "foo bar [datetime]") 72 cur.execute('select 1 as "foo baz"') 73 self.assertEqual(cur.description[0][0], "foo baz") [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/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 …]
|
D | value_hint.bash | 2 local i cur prev opts cmd 4 cur="${COMP_WORDS[COMP_CWORD]}" 23 if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then 24 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 29 COMPREPLY=($(compgen -W "bash fish zsh" -- "${cur}")) 33 COMPREPLY=($(compgen -f "${cur}")) 37 COMPREPLY=($(compgen -f "${cur}")) 41 COMPREPLY=($(compgen -f "${cur}")) 45 COMPREPLY=($(compgen -f "${cur}")) 49 COMPREPLY=($(compgen -f "${cur}")) [all …]
|
D | feature_sample.bash | 2 local i cur prev opts cmd 4 cur="${COMP_WORDS[COMP_CWORD]}" 35 if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then 36 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 44 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 49 if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then 50 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 58 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) 63 if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then 64 COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") ) [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/mbedtls/library/ |
D | ssl_cache.c | 57 mbedtls_ssl_cache_entry *cur; in ssl_cache_find_entry() local 59 for (cur = cache->chain; cur != NULL; cur = cur->next) { in ssl_cache_find_entry() 62 (int) (t - cur->timestamp) > cache->timeout) { in ssl_cache_find_entry() 67 if (session_id_len != cur->session_id_len || in ssl_cache_find_entry() 68 memcmp(session_id, cur->session_id, in ssl_cache_find_entry() 69 cur->session_id_len) != 0) { in ssl_cache_find_entry() 76 if (cur != NULL) { in ssl_cache_find_entry() 77 *dst = cur; in ssl_cache_find_entry() 153 mbedtls_ssl_cache_entry *cur, *last; in ssl_cache_pick_writing_slot() local 164 for (cur = cache->chain; cur != NULL; cur = cur->next) { in ssl_cache_pick_writing_slot() [all …]
|
D | memory_buffer_alloc.c | 107 memory_header *cur = heap.first; in debug_chain() local 110 while (cur != NULL) { in debug_chain() 111 debug_header(cur); in debug_chain() 112 cur = cur->next; in debug_chain() 116 cur = heap.first_free; in debug_chain() 118 while (cur != NULL) { in debug_chain() 119 debug_header(cur); in debug_chain() 120 cur = cur->next_free; in debug_chain() 167 memory_header *prv = heap.first, *cur; in verify_chain() local 185 cur = heap.first->next; in verify_chain() [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/libxml2/ |
D | backport-error-Make-sure-that-error-messages-are-valid-UTF-8.patch | 33 - const xmlChar *cur, *base; 34 + const xmlChar *cur, *base, *start; 39 while ((n++ < (sizeof(content)-1)) && (cur > base) && 40 (*(cur) != '\n') && (*(cur) != '\r')) 41 cur--; 42 - if ((*(cur) == '\n') || (*(cur) == '\r')) cur++; 43 + if ((*(cur) == '\n') || (*(cur) == '\r')) { 44 + cur++; 47 + while ((cur < input->cur) && ((*cur & 0xC0) == 0x80)) 48 + cur++; [all …]
|
/third_party/skia/third_party/externals/freetype/src/type1/ |
D | t1parse.c | 334 FT_Byte* cur = parser->base_dict; in T1_Get_Private_Dict() local 335 FT_Byte* limit = cur + parser->base_len; in T1_Get_Private_Dict() 343 if ( cur[0] == 'e' && in T1_Get_Private_Dict() 344 cur + 9 < limit ) /* 9 = 5 letters for `eexec' + */ in T1_Get_Private_Dict() 347 if ( cur[1] == 'e' && in T1_Get_Private_Dict() 348 cur[2] == 'x' && in T1_Get_Private_Dict() 349 cur[3] == 'e' && in T1_Get_Private_Dict() 350 cur[4] == 'c' ) in T1_Get_Private_Dict() 353 cur++; in T1_Get_Private_Dict() 354 if ( cur >= limit ) in T1_Get_Private_Dict() [all …]
|
/third_party/skia/third_party/externals/libpng/arm/ |
D | palette_neon_intrinsics.c | 84 uint32x4_t cur; in png_do_expand_palette_rgba8_neon() local 86 cur = vld1q_dup_u32 (riffled_palette + *(sp - 3)); in png_do_expand_palette_rgba8_neon() 87 cur = vld1q_lane_u32(riffled_palette + *(sp - 2), cur, 1); in png_do_expand_palette_rgba8_neon() 88 cur = vld1q_lane_u32(riffled_palette + *(sp - 1), cur, 2); in png_do_expand_palette_rgba8_neon() 89 cur = vld1q_lane_u32(riffled_palette + *(sp - 0), cur, 3); in png_do_expand_palette_rgba8_neon() 90 vst1q_u32((void *)dp, cur); in png_do_expand_palette_rgba8_neon() 124 uint8x8x3_t cur; in png_do_expand_palette_rgb8_neon() local 126 cur = vld3_dup_u8(palette + sizeof(png_color) * (*(sp - 7))); in png_do_expand_palette_rgb8_neon() 127 cur = vld3_lane_u8(palette + sizeof(png_color) * (*(sp - 6)), cur, 1); in png_do_expand_palette_rgb8_neon() 128 cur = vld3_lane_u8(palette + sizeof(png_color) * (*(sp - 5)), cur, 2); in png_do_expand_palette_rgb8_neon() [all …]
|
/third_party/skia/src/gpu/ |
D | GrResourceAllocator.cpp | 273 for (Interval* cur = fHead; cur; prev = cur, cur = cur->next()) { in validate() local 339 while (Interval* cur = fIntvlList.popHead()) { in planAssignment() local 340 this->expire(cur->start()); in planAssignment() 341 fActiveIntvls.insertByIncreasingEnd(cur); in planAssignment() 344 if (cur->proxy()->isInstantiated()) { in planAssignment() 349 if (cur->proxy()->isLazy()) { in planAssignment() 350 if (cur->proxy()->isFullyLazy()) { in planAssignment() 351 fFailedInstantiation = !cur->proxy()->priv().doLazyInstantiation(resourceProvider); in planAssignment() 359 Register* r = this->findOrCreateRegisterFor(cur->proxy()); in planAssignment() 363 cur->proxy()->uniqueID().asUInt()); in planAssignment() [all …]
|
/third_party/libunwind/libunwind/src/coredump/ |
D | _UCD_create.c | 126 coredump_phdr_t *cur = phdrs; in _UCD_create() local 136 cur->p_type = hdr64.p_type ; in _UCD_create() 137 cur->p_flags = hdr64.p_flags ; in _UCD_create() 138 cur->p_offset = hdr64.p_offset; in _UCD_create() 139 cur->p_vaddr = hdr64.p_vaddr ; in _UCD_create() 142 cur->p_filesz = hdr64.p_filesz; in _UCD_create() 143 cur->p_memsz = hdr64.p_memsz ; in _UCD_create() 144 cur->p_align = hdr64.p_align ; in _UCD_create() 146 cur->backing_fd = -1; in _UCD_create() 147 cur->backing_filesize = hdr64.p_filesz; in _UCD_create() [all …]
|
/third_party/skia/src/gpu/geometry/ |
D | GrAAConvexTessellator.cpp | 175 for (int cur = 1; cur < fNorms.count() - 1; ++cur) { in computeNormals() local 176 fNorms[cur] = normalToVector(fPts[cur + 1] - fPts[cur]); in computeNormals() 185 for (int cur = 0; cur < fBisectors.count(); prev = cur, ++cur) { in computeBisectors() local 186 fBisectors[cur] = fNorms[cur] + fNorms[prev]; in computeBisectors() 187 if (!fBisectors[cur].normalize()) { in computeBisectors() 188 fBisectors[cur] = SkPointPriv::MakeOrthog(fNorms[cur], (SkPointPriv::Side)-fSide) + in computeBisectors() 190 SkAssertResult(fBisectors[cur].normalize()); in computeBisectors() 192 fBisectors[cur].negate(); // make the bisector face in in computeBisectors() 195 if (fCurveState[cur] == kSharp_CurveState) { in computeBisectors() 198 if (SkScalarAbs(fNorms[cur].dot(fNorms[prev])) > kCurveConnectionThreshold) { in computeBisectors() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | url.c | 82 static const char *find_delim(const char *delim, const char *cur, const char *end) in find_delim() argument 84 while (cur < end && !strchr(delim, *cur)) in find_delim() 85 cur++; in find_delim() 86 return cur; in find_delim() 91 const char *cur, *aend, *p; in ff_url_decompose() local 96 cur = uc->url = url; in ff_url_decompose() 99 uc->scheme = cur; in ff_url_decompose() 100 …p = find_delim(":/?#", cur, end); /* lavf "schemes" can contain options but not some RFC 3986 deli… in ff_url_decompose() 102 cur = p + 1; in ff_url_decompose() 105 uc->authority = cur; in ff_url_decompose() [all …]
|