/external/chromium_org/chrome/common/ |
D | chrome_paths.cc | 157 base::FilePath cur; in PathProvider() local 160 if (!GetDefaultUserDataDirectory(&cur)) { in PathProvider() 167 if (!GetUserDocumentsDirectory(&cur)) in PathProvider() 172 if (!GetUserMusicDirectory(&cur)) in PathProvider() 176 if (!GetUserPicturesDirectory(&cur)) in PathProvider() 180 if (!GetUserVideosDirectory(&cur)) in PathProvider() 185 if (!GetUserDownloadsDirectorySafe(&cur)) in PathProvider() 193 if (!base::android::GetDownloadsDirectory(&cur)) in PathProvider() 196 if (!GetUserDownloadsDirectory(&cur)) in PathProvider() 205 cur = base::FilePath("/var/log/chrome"); in PathProvider() [all …]
|
/external/oprofile/libutil++/tests/ |
D | string_manip_tests.cpp | 55 input_output<char const *, char const*> const * cur; in erase_to_last_of_tests() local 56 for (cur = expect_erase; cur->input; ++cur) { in erase_to_last_of_tests() 57 string result = erase_to_last_of(cur->input, ';'); in erase_to_last_of_tests() 58 check_result("erase_to_last_of()", cur->input, cur->output, in erase_to_last_of_tests() 81 input_output<char const *, pair<string, string> > const * cur; in split_tests() local 82 for (cur = expect_split; cur->input; ++cur) { in split_tests() 83 string temp = cur->input; in split_tests() 85 check_result("split()", cur->input, cur->output.first, temp); in split_tests() 86 check_result("split()", cur->input, cur->output.second, result); in split_tests() 106 input_output<char const *, pair<string, bool> > const * cur; in is_prefix_tests() local [all …]
|
D | file_manip_tests.cpp | 80 input_output<char const *, char const *> const * cur; in dirname_tests() local 81 for (cur = expect_dirname; cur->input; ++cur) { in dirname_tests() 82 string result = op_dirname(cur->input); in dirname_tests() 83 check_result("dirname", cur->input, cur->output, result); in dirname_tests() 108 input_output<char const *, char const *> const * cur; in basename_tests() local 109 for (cur = expect_basename; cur->input; ++cur) { in basename_tests() 110 string result = op_basename(cur->input); in basename_tests() 111 check_result("basename", cur->input, cur->output, result); in basename_tests() 130 input_output<char const *, bool> const * cur; in is_directory_tests() local 131 for (cur = expect_is_directory; cur->input; ++cur) { in is_directory_tests() [all …]
|
/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/chromium_org/third_party/mesa/src/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/libxml2/ |
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 | tree.c | 368 const xmlChar *cur = value; in xmlValidateNCName() local 378 while (IS_BLANK_CH(*cur)) cur++; in xmlValidateNCName() 379 if (((*cur >= 'a') && (*cur <= 'z')) || ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName() 380 (*cur == '_')) in xmlValidateNCName() 381 cur++; in xmlValidateNCName() 384 while (((*cur >= 'a') && (*cur <= 'z')) || in xmlValidateNCName() 385 ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName() 386 ((*cur >= '0') && (*cur <= '9')) || in xmlValidateNCName() 387 (*cur == '_') || (*cur == '-') || (*cur == '.')) in xmlValidateNCName() 388 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 …]
|
/external/chromium_org/third_party/libxml/src/ |
D | HTMLtree.c | 49 htmlNodePtr cur; in htmlGetMetaEncoding() local 55 cur = doc->children; in htmlGetMetaEncoding() 60 while (cur != NULL) { in htmlGetMetaEncoding() 61 if ((cur->type == XML_ELEMENT_NODE) && (cur->name != NULL)) { in htmlGetMetaEncoding() 62 if (xmlStrEqual(cur->name, BAD_CAST"html")) in htmlGetMetaEncoding() 64 if (xmlStrEqual(cur->name, BAD_CAST"head")) in htmlGetMetaEncoding() 66 if (xmlStrEqual(cur->name, BAD_CAST"meta")) in htmlGetMetaEncoding() 69 cur = cur->next; in htmlGetMetaEncoding() 71 if (cur == NULL) in htmlGetMetaEncoding() 73 cur = cur->children; in htmlGetMetaEncoding() [all …]
|
D | tree.c | 365 const xmlChar *cur = value; in xmlValidateNCName() local 375 while (IS_BLANK_CH(*cur)) cur++; in xmlValidateNCName() 376 if (((*cur >= 'a') && (*cur <= 'z')) || ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName() 377 (*cur == '_')) in xmlValidateNCName() 378 cur++; in xmlValidateNCName() 381 while (((*cur >= 'a') && (*cur <= 'z')) || in xmlValidateNCName() 382 ((*cur >= 'A') && (*cur <= 'Z')) || in xmlValidateNCName() 383 ((*cur >= '0') && (*cur <= '9')) || in xmlValidateNCName() 384 (*cur == '_') || (*cur == '-') || (*cur == '.')) in xmlValidateNCName() 385 cur++; in xmlValidateNCName() [all …]
|
D | xmlsave.c | 496 xhtmlNodeDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur); 498 static void xmlNodeListDumpOutput(xmlSaveCtxtPtr ctxt, xmlNodePtr cur); 499 static void xmlNodeDumpOutputInternal(xmlSaveCtxtPtr ctxt, xmlNodePtr cur); 500 void xmlNsListDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur); 501 static int xmlDocContentDumpOutput(xmlSaveCtxtPtr ctxt, xmlDocPtr cur); 512 xmlNsDumpOutput(xmlOutputBufferPtr buf, xmlNsPtr cur) { in xmlNsDumpOutput() argument 513 if ((cur == NULL) || (buf == NULL)) return; in xmlNsDumpOutput() 514 if ((cur->type == XML_LOCAL_NAMESPACE) && (cur->href != NULL)) { in xmlNsDumpOutput() 515 if (xmlStrEqual(cur->prefix, BAD_CAST "xml")) in xmlNsDumpOutput() 519 if (cur->prefix != NULL) { in xmlNsDumpOutput() [all …]
|
/external/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 | 84 avtab_ptr_t prev, cur, newnode; in avtab_insert() local 92 for (prev = NULL, cur = h->htable[hvalue]; in avtab_insert() 93 cur; prev = cur, cur = cur->next) { in avtab_insert() 94 if (key->source_type == cur->key.source_type && in avtab_insert() 95 key->target_type == cur->key.target_type && in avtab_insert() 96 key->target_class == cur->key.target_class && in avtab_insert() 97 (specified & cur->key.specified)) in avtab_insert() 99 if (key->source_type < cur->key.source_type) in avtab_insert() 101 if (key->source_type == cur->key.source_type && in avtab_insert() 102 key->target_type < cur->key.target_type) in avtab_insert() [all …]
|
/external/chromium_org/ui/base/ |
D | ui_base_paths.cc | 24 base::FilePath cur; in PathProvider() local 27 if (!PathService::Get(base::DIR_MODULE, &cur)) in PathProvider() 32 cur = cur.DirName(); in PathProvider() 33 cur = cur.Append(FILE_PATH_LITERAL("Resources")); in PathProvider() 35 if (!PathService::Get(DIR_RESOURCE_PAKS_ANDROID, &cur)) in PathProvider() 38 cur = cur.Append(FILE_PATH_LITERAL("locales")); in PathProvider() 46 if (!PathService::Get(base::DIR_SOURCE_ROOT, &cur)) in PathProvider() 48 cur = cur.Append(FILE_PATH_LITERAL("ui")); in PathProvider() 49 cur = cur.Append(FILE_PATH_LITERAL("base")); in PathProvider() 50 cur = cur.Append(FILE_PATH_LITERAL("test")); in PathProvider() [all …]
|
/external/chromium_org/third_party/freetype/src/psaux/ |
D | psobjs.c | 294 FT_Byte* cur = *acur; in skip_comment() local 297 while ( cur < limit ) in skip_comment() 299 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment() 301 cur++; in skip_comment() 304 *acur = cur; in skip_comment() 312 FT_Byte* cur = *acur; in skip_spaces() local 315 while ( cur < limit ) in skip_spaces() 317 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces() 319 if ( *cur == '%' ) in skip_spaces() 321 skip_comment( &cur, limit ); in skip_spaces() [all …]
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/psaux/ |
D | psobjs.c | 294 FT_Byte* cur = *acur; in skip_comment() local 297 while ( cur < limit ) in skip_comment() 299 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment() 301 cur++; in skip_comment() 304 *acur = cur; in skip_comment() 312 FT_Byte* cur = *acur; in skip_spaces() local 315 while ( cur < limit ) in skip_spaces() 317 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces() 319 if ( *cur == '%' ) in skip_spaces() 321 skip_comment( &cur, limit ); in skip_spaces() [all …]
|
/external/freetype/src/psaux/ |
D | psobjs.c | 294 FT_Byte* cur = *acur; in skip_comment() local 297 while ( cur < limit ) in skip_comment() 299 if ( IS_PS_NEWLINE( *cur ) ) in skip_comment() 301 cur++; in skip_comment() 304 *acur = cur; in skip_comment() 312 FT_Byte* cur = *acur; in skip_spaces() local 315 while ( cur < limit ) in skip_spaces() 317 if ( !IS_PS_SPACE( *cur ) ) in skip_spaces() 319 if ( *cur == '%' ) in skip_spaces() 321 skip_comment( &cur, limit ); in skip_spaces() [all …]
|
/external/chromium_org/third_party/libxslt/libxslt/ |
D | attrvt.c | 64 xsltAttrVTPtr cur; in xsltNewAttrVT() local 66 cur = (xsltAttrVTPtr) xmlMalloc(sizeof(xsltAttrVT)); in xsltNewAttrVT() 67 if (cur == NULL) { in xsltNewAttrVT() 73 memset(cur, 0, sizeof(xsltAttrVT)); in xsltNewAttrVT() 75 cur->nb_seg = 0; in xsltNewAttrVT() 76 cur->max_seg = MAX_AVT_SEG; in xsltNewAttrVT() 77 cur->strstart = 0; in xsltNewAttrVT() 78 cur->next = style->attVTs; in xsltNewAttrVT() 83 style->attVTs = (xsltAttrVTPtr) cur; in xsltNewAttrVT() 85 return(cur); in xsltNewAttrVT() [all …]
|
/external/fio/lib/ |
D | prio_tree.c | 171 struct prio_tree_node *cur, *res = node; in prio_tree_insert() local 182 cur = root->prio_tree_node; in prio_tree_insert() 186 get_index(cur, &r_index, &h_index); in prio_tree_insert() 189 return cur; in prio_tree_insert() 194 node = prio_tree_replace(root, cur, node); in prio_tree_insert() 195 cur = tmp; in prio_tree_insert() 211 if (prio_tree_right_empty(cur)) { in prio_tree_insert() 213 cur->right = node; in prio_tree_insert() 214 node->parent = cur; in prio_tree_insert() 217 cur = cur->right; in prio_tree_insert() [all …]
|
/external/chromium_org/third_party/lzma_sdk/ |
D | LzHash.h | 15 #define HASH2_CALC hashValue = cur[0] | ((UInt32)cur[1] << 8); 18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 20 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; } 23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 25 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ 26 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)) & p->hashMask; } 29 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 31 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ 32 hash4Value = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)); \ 33 hashValue = (hash4Value ^ (p->crc[cur[4]] << 3)) & p->hashMask; \ [all …]
|
/external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
D | LzHash.h | 16 #define HASH2_CALC hashValue = cur[0] | ((UInt32)cur[1] << 8); 19 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 21 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; } 24 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 26 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ 27 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)) & p->hashMask; } 30 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 32 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ 33 hash4Value = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)); \ 34 hashValue = (hash4Value ^ (p->crc[cur[4]] << 3)) & p->hashMask; \ [all …]
|
/external/lzma/C/ |
D | LzHash.h | 15 #define HASH2_CALC hashValue = cur[0] | ((UInt32)cur[1] << 8); 18 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 20 hashValue = (temp ^ ((UInt32)cur[2] << 8)) & p->hashMask; } 23 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 25 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ 26 hashValue = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)) & p->hashMask; } 29 UInt32 temp = p->crc[cur[0]] ^ cur[1]; \ 31 hash3Value = (temp ^ ((UInt32)cur[2] << 8)) & (kHash3Size - 1); \ 32 hash4Value = (temp ^ ((UInt32)cur[2] << 8) ^ (p->crc[cur[3]] << 5)); \ 33 hashValue = (hash4Value ^ (p->crc[cur[4]] << 3)) & p->hashMask; \ [all …]
|
/external/chromium_org/third_party/boringssl/src/crypto/lhash/ |
D | lhash_test.c | 34 struct dummy_lhash_node *cur, *next; in dummy_lh_free() local 36 for (cur = lh->head; cur != NULL; cur = next) { in dummy_lh_free() 37 next = cur->next; in dummy_lh_free() 38 free(cur->s); in dummy_lh_free() 39 free(cur); in dummy_lh_free() 45 struct dummy_lhash_node *cur; in dummy_lh_num_items() local 47 for (cur = lh->head; cur != NULL; cur = cur->next) { in dummy_lh_num_items() 55 struct dummy_lhash_node *cur; in dummy_lh_retrieve() local 57 for (cur = lh->head; cur != NULL; cur = cur->next) { in dummy_lh_retrieve() 58 if (strcmp(cur->s, s) == 0) { in dummy_lh_retrieve() [all …]
|
/external/bison/lib/ |
D | mbuiter.h | 119 struct mbchar cur; /* the current character: member 136 if (is_basic (*iter->cur.ptr)) in mbuiter_multi_next() 141 iter->cur.bytes = 1; in mbuiter_multi_next() 142 iter->cur.wc = *iter->cur.ptr; in mbuiter_multi_next() 143 iter->cur.wc_valid = true; in mbuiter_multi_next() 150 iter->cur.bytes = mbrtowc (&iter->cur.wc, iter->cur.ptr, in mbuiter_multi_next() 151 strnlen1 (iter->cur.ptr, MB_CUR_MAX), in mbuiter_multi_next() 153 if (iter->cur.bytes == (size_t) -1) in mbuiter_multi_next() 156 iter->cur.bytes = 1; in mbuiter_multi_next() 157 iter->cur.wc_valid = false; in mbuiter_multi_next() [all …]
|