/external/clang/test/CodeGen/ |
H A D | 2003-11-20-UnionBitfield.c | 5 char converter; member in struct:printf_spec
|
/external/chromium_org/base/android/ |
H A D | trace_event_binding.cc | 91 TraceEventDataConverter converter(env, jname, jarg); 92 if (converter.arg()) { 93 TRACE_EVENT_COPY_INSTANT1(kJavaCategory, converter.name(), 95 converter.arg_name(), converter.arg()); 97 TRACE_EVENT_COPY_INSTANT0(kJavaCategory, converter.name(), 104 TraceEventDataConverter converter(env, jname, jarg); 105 if (converter.arg()) { 106 TRACE_EVENT_COPY_BEGIN1(kJavaCategory, converter.name(), 107 converter [all...] |
/external/chromium_org/components/cronet/ |
H A D | url_request_context_config.cc | 23 base::JSONValueConverter<URLRequestContextConfig::QuicHint>* converter) { 24 converter->RegisterStringField(REQUEST_CONTEXT_CONFIG_QUIC_HINT_HOST, 26 converter->RegisterIntField( 29 converter->RegisterIntField( 65 base::JSONValueConverter<URLRequestContextConfig>* converter) { 66 converter->RegisterBoolField(REQUEST_CONTEXT_CONFIG_ENABLE_QUIC, 68 converter->RegisterBoolField(REQUEST_CONTEXT_CONFIG_ENABLE_SPDY, 70 converter->RegisterStringField(REQUEST_CONTEXT_CONFIG_HTTP_CACHE, 72 converter->RegisterIntField(REQUEST_CONTEXT_CONFIG_HTTP_CACHE_MAX_SIZE, 74 converter 22 RegisterJSONConverter( base::JSONValueConverter<URLRequestContextConfig::QuicHint>* converter) argument 64 RegisterJSONConverter( base::JSONValueConverter<URLRequestContextConfig>* converter) argument [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/w3c/ |
H A D | test_converter_unittest.py | 54 converter = _W3CTestConverter(DUMMY_PATH, DUMMY_FILENAME) 55 prop_list = converter.prefixed_properties 79 converter = _W3CTestConverter(DUMMY_PATH, DUMMY_FILENAME) 84 converter.feed(test_html) 85 converter.close() 86 converted = converter.output() 101 converter = _W3CTestConverter(fake_dir_path, DUMMY_FILENAME) 102 converter.feed(test_html) 103 converter.close() 104 converted = converter [all...] |
/external/chromium_org/third_party/icu/source/common/ |
H A D | ucnv_cb.c | 46 args->converter, 62 just retry shoving data through the same converter. Note, if you got 81 ucnv_fromUnicode(args->converter, 115 errBuffLen = args->converter->charErrorBufferLength; 118 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen); 120 newTargetLimit = (char *)(args->converter->charErrorBuffer + 121 sizeof(args->converter->charErrorBuffer)); 129 /* We're going to tell the converter that the errbuff len is empty. 131 itself. If the errbuff is needed by the converter this time, 134 args->converter 179 UConverter *converter; local [all...] |
H A D | ustr_cnv.c | 30 /* mutexed access to a shared default converter ----------------------------- */ 37 UConverter *converter = NULL; local 44 converter = gDefaultConverter; 50 /* if the cache was empty, create a converter */ 51 if(converter == NULL) { 52 converter = ucnv_open(NULL, status); 54 ucnv_close(converter); 55 converter = NULL; 59 return converter; 63 u_releaseDefaultConverter(UConverter *converter) argument 86 UConverter *converter = NULL; local [all...] |
H A D | ustr_cnv.h | 24 * Get the default converter. This is a commonly used converter 34 * Release the default converter to the converter cache. 38 u_releaseDefaultConverter(UConverter *converter); 41 * Flush the default converter, if cached.
|
H A D | ucnv_u32.c | 14 * UTF-32 converter implementation. Used to be in ucnv_utf.c. 52 unsigned char *toUBytes = args->converter->toUBytes; 56 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { 57 i = args->converter->toULength; /* restore # of bytes consumed */ 58 args->converter->toULength = 0; 60 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/ 61 args->converter->toUnicodeStatus = 0; 77 args->converter->toUnicodeStatus = ch + 1; 78 args->converter->toULength = (int8_t) i; 99 args->converter [all...] |
H A D | ucnvhz.c | 49 args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) *strToAppend; \ 162 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); 167 /*if ((args->converter == NULL) || (args->targetLimit < args->target) || (mySourceLimit < args->source)){ 178 if(args->converter->mode == UCNV_TILDE) { 180 args->converter->mode=0; 198 args->converter->toUCallbackReason = UCNV_IRREGULAR; 199 args->converter->toUBytes[0] = UCNV_TILDE; 200 args->converter->toUBytes[1] = mySourceChar; 201 args->converter [all...] |
/external/icu/icu4c/source/common/ |
H A D | ucnv_cb.c | 46 args->converter, 62 just retry shoving data through the same converter. Note, if you got 81 ucnv_fromUnicode(args->converter, 115 errBuffLen = args->converter->charErrorBufferLength; 118 newTarget = (char *)(args->converter->charErrorBuffer + errBuffLen); 120 newTargetLimit = (char *)(args->converter->charErrorBuffer + 121 sizeof(args->converter->charErrorBuffer)); 129 /* We're going to tell the converter that the errbuff len is empty. 131 itself. If the errbuff is needed by the converter this time, 134 args->converter 179 UConverter *converter; local [all...] |
H A D | ustr_cnv.c | 30 /* mutexed access to a shared default converter ----------------------------- */ 37 UConverter *converter = NULL; local 44 converter = gDefaultConverter; 50 /* if the cache was empty, create a converter */ 51 if(converter == NULL) { 52 converter = ucnv_open(NULL, status); 54 ucnv_close(converter); 55 converter = NULL; 59 return converter; 63 u_releaseDefaultConverter(UConverter *converter) argument 86 UConverter *converter = NULL; local [all...] |
H A D | ustr_cnv.h | 24 * Get the default converter. This is a commonly used converter 34 * Release the default converter to the converter cache. 38 u_releaseDefaultConverter(UConverter *converter); 41 * Flush the default converter, if cached.
|
H A D | ucnv_u32.c | 14 * UTF-32 converter implementation. Used to be in ucnv_utf.c. 52 unsigned char *toUBytes = args->converter->toUBytes; 56 if (args->converter->toUnicodeStatus && myTarget < targetLimit) { 57 i = args->converter->toULength; /* restore # of bytes consumed */ 58 args->converter->toULength = 0; 60 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/ 61 args->converter->toUnicodeStatus = 0; 77 args->converter->toUnicodeStatus = ch + 1; 78 args->converter->toULength = (int8_t) i; 99 args->converter [all...] |
H A D | ucnvhz.c | 49 args->converter->charErrorBuffer[(int)args->converter->charErrorBufferLength++] = (unsigned char) *strToAppend; \ 162 UConverterDataHZ* myData=(UConverterDataHZ*)(args->converter->extraInfo); 167 /*if ((args->converter == NULL) || (args->targetLimit < args->target) || (mySourceLimit < args->source)){ 178 if(args->converter->mode == UCNV_TILDE) { 180 args->converter->mode=0; 198 args->converter->toUCallbackReason = UCNV_IRREGULAR; 199 args->converter->toUBytes[0] = UCNV_TILDE; 200 args->converter->toUBytes[1] = mySourceChar; 201 args->converter [all...] |
/external/chromium_org/google_apis/drive/ |
H A D | drive_api_parser.cc | 46 base::JSONValueConverter<ParentReference> converter; 51 !converter.Convert(*parent_value, &(*result)[i])) 226 base::JSONValueConverter<AboutResource>* converter) { 227 converter->RegisterCustomField<int64>(kLargestChangeId, 230 converter->RegisterCustomField<int64>(kQuotaBytesTotal, 233 converter->RegisterCustomField<int64>(kQuotaBytesUsed, 236 converter->RegisterStringField(kRootFolderId, 241 base::JSONValueConverter<AboutResource> converter; local 242 if (!converter.Convert(value, this)) { 258 base::JSONValueConverter<DriveAppIcon>* converter) { 225 RegisterJSONConverter( base::JSONValueConverter<AboutResource>* converter) argument 257 RegisterJSONConverter( base::JSONValueConverter<DriveAppIcon>* converter) argument 280 base::JSONValueConverter<DriveAppIcon> converter; local 312 RegisterJSONConverter( base::JSONValueConverter<AppResource>* converter) argument 345 base::JSONValueConverter<AppResource> converter; local 361 RegisterJSONConverter( base::JSONValueConverter<AppList>* converter) argument 379 base::JSONValueConverter<AppList> converter; local 395 RegisterJSONConverter( base::JSONValueConverter<ParentReference>* converter) argument 416 base::JSONValueConverter<ParentReference> converter; local 432 RegisterJSONConverter( base::JSONValueConverter<FileResource>* converter) argument 496 base::JSONValueConverter<FileResource> converter; local 512 RegisterJSONConverter( base::JSONValueConverter<FileList>* converter) argument 537 base::JSONValueConverter<FileList> converter; local 553 RegisterJSONConverter( base::JSONValueConverter<ChangeResource>* converter) argument 579 base::JSONValueConverter<ChangeResource> converter; local 595 RegisterJSONConverter( base::JSONValueConverter<ChangeList>* converter) argument 623 base::JSONValueConverter<ChangeList> converter; local 640 RegisterJSONConverter( base::JSONValueConverter<FileLabels>* converter) argument 656 base::JSONValueConverter<FileLabels> converter; local 675 RegisterJSONConverter( base::JSONValueConverter<ImageMediaMetadata>* converter) argument 697 base::JSONValueConverter<ImageMediaMetadata> converter; local [all...] |
H A D | gdata_wapi_parser.cc | 163 base::JSONValueConverter<Author>* converter) { 164 converter->RegisterStringField(kNameField, &Author::name_); 165 converter->RegisterStringField(kEmailField, &Author::email_); 223 void Link::RegisterJSONConverter(base::JSONValueConverter<Link>* converter) { argument 224 converter->RegisterCustomField<Link::LinkType>(kRelField, 229 converter->RegisterCustomField<std::string>(kRelField, 232 converter->RegisterCustomField(kHrefField, &Link::href_, &GetGURLFromString); 233 converter->RegisterStringField(kTitleField, &Link::title_); 234 converter->RegisterStringField(kTypeField, &Link::mime_type_); 258 base::JSONValueConverter<ResourceLink>* converter) { 162 RegisterJSONConverter( base::JSONValueConverter<Author>* converter) argument 257 RegisterJSONConverter( base::JSONValueConverter<ResourceLink>* converter) argument 285 RegisterJSONConverter( base::JSONValueConverter<Category>* converter) argument 308 RegisterJSONConverter( base::JSONValueConverter<Content>* converter) argument 325 RegisterJSONConverter( base::JSONValueConverter<CommonMetadataDescendant>* converter) argument 378 RegisterJSONConverter( base::JSONValueConverter<ResourceEntry>* converter) argument 463 base::JSONValueConverter<ResourceEntry> converter; local 492 RegisterJSONConverter( base::JSONValueConverter<ResourceList>* converter) argument 510 base::JSONValueConverter<ResourceList> converter; local [all...] |
/external/chromium_org/url/ |
H A D | url_canon_query.cc | 69 // Runs the converter on the given UTF-8 input. Since the converter expects 70 // UTF-16, we have to convert first. The converter must be non-NULL. 73 CharsetConverter* converter, 79 converter->ConvertFromUTF16(utf16.data(), utf16.length(), output); 82 // Runs the converter with the given UTF-16 input. We don't have to do 87 CharsetConverter* converter, 89 converter->ConvertFromUTF16(&spec[query.begin], query.len, output); 95 CharsetConverter* converter, 103 if (converter) { 71 RunConverter(const char* spec, const Component& query, CharsetConverter* converter, CanonOutput* output) argument 85 RunConverter(const base::char16* spec, const Component& query, CharsetConverter* converter, CanonOutput* output) argument 93 DoConvertToQueryEncoding(const CHAR* spec, const Component& query, CharsetConverter* converter, CanonOutput* output) argument 118 DoCanonicalizeQuery(const CHAR* spec, const Component& query, CharsetConverter* converter, CanonOutput* output, Component* out_query) argument 138 CanonicalizeQuery(const char* spec, const Component& query, CharsetConverter* converter, CanonOutput* output, Component* out_query) argument 147 CanonicalizeQuery(const base::char16* spec, const Component& query, CharsetConverter* converter, CanonOutput* output, Component* out_query) argument 156 ConvertUTF16ToQueryEncoding(const base::char16* input, const Component& query, CharsetConverter* converter, CanonOutput* output) argument [all...] |
H A D | url_canon_icu_unittest.cc | 39 // Returns the converter object, may be NULL. 40 UConverter* converter() const { return converter_; } function in class:url::__anon17213::UConvScoper 66 ASSERT_TRUE(conv.converter() != NULL); 67 ICUCharsetConverter converter(conv.converter()); 74 converter.ConvertFromUTF16(input_str.c_str(), input_len, &output); 81 // the converter resizes as needed. 84 ASSERT_TRUE(conv.converter()); 85 ICUCharsetConverter converter(conv.converter()); [all...] |
/external/chromium_org/third_party/icu/source/samples/cal/ |
H A D | uprint.c | 28 /* converter */ 29 UConverter *converter; local 46 /* open a default converter */ 47 converter = ucnv_open(0, status); 58 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, 73 /* close the converter */ 74 ucnv_close(converter);
|
/external/chromium_org/third_party/icu/source/samples/date/ |
H A D | uprint.c | 29 /* converter */ 30 UConverter *converter; local 47 /* open a default converter */ 48 converter = ucnv_open(0, status); 59 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, 74 /* close the converter */ 75 ucnv_close(converter);
|
/external/icu/icu4c/source/samples/cal/ |
H A D | uprint.c | 28 /* converter */ 29 UConverter *converter; local 46 /* open a default converter */ 47 converter = ucnv_open(0, status); 58 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, 73 /* close the converter */ 74 ucnv_close(converter);
|
/external/icu/icu4c/source/samples/date/ |
H A D | uprint.c | 29 /* converter */ 30 UConverter *converter; local 47 /* open a default converter */ 48 converter = ucnv_open(0, status); 59 ucnv_fromUnicode(converter, &myTarget, myTarget + arraySize, 74 /* close the converter */ 75 ucnv_close(converter);
|
/external/chromium_org/base/json/ |
H A D | json_value_converter_unittest.cc | 62 base::JSONValueConverter<SimpleMessage>* converter) { 63 converter->RegisterIntField("foo", &SimpleMessage::foo); 64 converter->RegisterStringField("bar", &SimpleMessage::bar); 65 converter->RegisterBoolField("baz", &SimpleMessage::baz); 66 converter->RegisterCustomField<SimpleEnum>( 68 converter->RegisterRepeatedInt("ints", &SimpleMessage::ints); 69 converter->RegisterCustomValueField<bool>("bstruct", 72 converter->RegisterRepeatedCustomValue<std::string>( 88 base::JSONValueConverter<NestedMessage>* converter) { 89 converter 61 RegisterJSONConverter( base::JSONValueConverter<SimpleMessage>* converter) argument 87 RegisterJSONConverter( base::JSONValueConverter<NestedMessage>* converter) argument 111 base::JSONValueConverter<SimpleMessage> converter; local 153 base::JSONValueConverter<NestedMessage> converter; local 195 base::JSONValueConverter<SimpleMessage> converter; local 211 base::JSONValueConverter<SimpleMessage> converter; local 234 base::JSONValueConverter<SimpleMessage> converter; local 251 base::JSONValueConverter<SimpleMessage> converter; local [all...] |
/external/chromium_org/components/domain_reliability/ |
H A D | config.cc | 60 base::JSONValueConverter<DomainReliabilityConfig::Resource>* converter) { 61 converter->RegisterStringField("resource_name", &Resource::name); 62 converter->RegisterRepeatedString("url_patterns", &Resource::url_patterns); 63 converter->RegisterDoubleField("success_sample_rate", 65 converter->RegisterDoubleField("failure_sample_rate", 80 base::JSONValueConverter<DomainReliabilityConfig::Collector>* converter) { 81 converter->RegisterCustomField<GURL>("upload_url", &Collector::upload_url, 96 base::JSONValueConverter<DomainReliabilityConfig> converter; local 100 if (value && converter.Convert(*value, config) && config->IsValid()) 145 base::JSONValueConverter<DomainReliabilityConfig>* converter) { 59 RegisterJSONConverter( base::JSONValueConverter<DomainReliabilityConfig::Resource>* converter) argument 79 RegisterJSONConverter( base::JSONValueConverter<DomainReliabilityConfig::Collector>* converter) argument 144 RegisterJSONConverter( base::JSONValueConverter<DomainReliabilityConfig>* converter) argument [all...] |
/external/chromium_org/base/i18n/ |
H A D | icu_string_conversions.cc | 81 bool ConvertFromUTF16(UConverter* converter, const UChar* uchar_src, argument 85 ucnv_getMaxCharSize(converter)); 93 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_STOP, 0, 98 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_SKIP, 0, 106 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0], 109 ucnv_close(converter); 118 UConverter* converter, UErrorCode* status) { 121 ucnv_setToUCallBack(converter, UCNV_TO_U_CALLBACK_STOP, 0, 125 ucnv_setToUCallBack(converter, UCNV_TO_U_CALLBACK_SKIP, 0, 129 ucnv_setToUCallBack(converter, ToUnicodeCallbackSubstitut 117 SetUpErrorHandlerForToUChars(OnStringConversionError::Type on_error, UConverter* converter, UErrorCode* status) argument 156 UConverter* converter = ucnv_open(codepage_name, &status); local 171 UConverter* converter = ucnv_open(codepage_name, &status); local [all...] |