Searched refs:converter (Results 1 - 25 of 235) sorted by relevance

12345678910

/external/clang/test/CodeGen/
H A D2003-11-20-UnionBitfield.c5 char converter; member in struct:printf_spec
/external/chromium_org/content/common/android/
H A Dtrace_event_binding.cc68 TraceEventDataConverter converter(env, jname, jarg);
69 if (converter.arg()) {
70 TRACE_EVENT_COPY_INSTANT1(kJavaCategory, converter.name(),
72 converter.arg_name(), converter.arg());
74 TRACE_EVENT_COPY_INSTANT0(kJavaCategory, converter.name(),
81 TraceEventDataConverter converter(env, jname, jarg);
82 if (converter.arg()) {
83 TRACE_EVENT_COPY_BEGIN1(kJavaCategory, converter.name(),
84 converter
[all...]
/external/chromium_org/google_apis/drive/
H A Ddrive_api_parser.cc222 base::JSONValueConverter<AboutResource>* converter) {
223 converter->RegisterCustomField<int64>(kLargestChangeId,
226 converter->RegisterCustomField<int64>(kQuotaBytesTotal,
229 converter->RegisterCustomField<int64>(kQuotaBytesUsed,
232 converter->RegisterStringField(kRootFolderId,
237 base::JSONValueConverter<AboutResource> converter; local
238 if (!converter.Convert(value, this)) {
254 base::JSONValueConverter<DriveAppIcon>* converter) {
255 converter->RegisterCustomField<IconCategory>(
259 converter
221 RegisterJSONConverter( base::JSONValueConverter<AboutResource>* converter) argument
253 RegisterJSONConverter( base::JSONValueConverter<DriveAppIcon>* converter) argument
276 base::JSONValueConverter<DriveAppIcon> converter; local
310 RegisterJSONConverter( base::JSONValueConverter<AppResource>* converter) argument
344 base::JSONValueConverter<AppResource> converter; local
360 RegisterJSONConverter( base::JSONValueConverter<AppList>* converter) argument
378 base::JSONValueConverter<AppList> converter; local
394 RegisterJSONConverter( base::JSONValueConverter<ParentReference>* converter) argument
416 base::JSONValueConverter<ParentReference> converter; local
432 RegisterJSONConverter( base::JSONValueConverter<FileResource>* converter) argument
509 base::JSONValueConverter<FileResource> converter; local
525 RegisterJSONConverter( base::JSONValueConverter<FileList>* converter) argument
552 base::JSONValueConverter<FileList> converter; local
568 RegisterJSONConverter( base::JSONValueConverter<ChangeResource>* converter) argument
591 base::JSONValueConverter<ChangeResource> converter; local
607 RegisterJSONConverter( base::JSONValueConverter<ChangeList>* converter) argument
637 base::JSONValueConverter<ChangeList> converter; local
659 RegisterJSONConverter( base::JSONValueConverter<FileLabels>* converter) argument
679 base::JSONValueConverter<FileLabels> converter; local
698 RegisterJSONConverter( base::JSONValueConverter<ImageMediaMetadata>* converter) argument
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Ducnv_cb.c46 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 Dustr_cnv.c30 /* 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 Dustr_cnv.h24 * 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 Ducnv_u32.c14 * UTF-32 converter implementation. Used to be in ucnv_utf.c.
51 unsigned char *toUBytes = args->converter->toUBytes;
55 if (args->converter->toUnicodeStatus && myTarget < targetLimit) {
56 i = args->converter->toULength; /* restore # of bytes consumed */
57 args->converter->toULength = 0;
59 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/
60 args->converter->toUnicodeStatus = 0;
76 args->converter->toUnicodeStatus = ch + 1;
77 args->converter->toULength = (int8_t) i;
98 args->converter
[all...]
H A Ducnvhz.c48 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/icu4c/common/
H A Ducnv_cb.c46 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 Dustr_cnv.c30 /* 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 Dustr_cnv.h24 * 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 Ducnv_u32.c14 * 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 Ducnvhz.c49 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/third_party/WebKit/Tools/Scripts/webkitpy/w3c/
H A Dtest_converter_unittest.py56 converter = _W3CTestConverter(DUMMY_PATH, DUMMY_FILENAME)
57 prop_list = converter.prefixed_properties
81 converter = _W3CTestConverter(DUMMY_PATH, DUMMY_FILENAME)
86 converter.feed(test_html)
87 converter.close()
88 converted = converter.output()
103 converter = _W3CTestConverter(fake_dir_path, DUMMY_FILENAME)
104 converter.feed(test_html)
105 converter.close()
106 converted = converter
[all...]
/external/icu4c/samples/cal/
H A Duprint.c28 /* 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/icu4c/samples/date/
H A Duprint.c29 /* 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/ppapi/cpp/extensions/
H A Ddict_field.h40 internal::ToVarConverter<T> converter(value_);
41 return dict->Set(Var(key_), converter.var());
49 internal::FromVarConverter<T> converter(value_var.pp_var());
50 value_ = converter.value();
81 internal::ToVarConverter<T> converter(*value_);
82 return dict->Set(Var(key_), converter.var());
87 internal::FromVarConverter<Optional<T> > converter(value_var.pp_var());
88 value_.Swap(&converter.value());
/external/chromium_org/base/json/
H A Djson_value_converter_unittest.cc62 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/googleurl/src/
H A Durl_canon_query.cc94 // Runs the converter on the given UTF-8 input. Since the converter expects
95 // UTF-16, we have to convert first. The converter must be non-NULL.
98 CharsetConverter* converter,
104 converter->ConvertFromUTF16(utf16.data(), utf16.length(), output);
107 // Runs the converter with the given UTF-16 input. We don't have to do
112 CharsetConverter* converter,
114 converter->ConvertFromUTF16(&spec[query.begin], query.len, output);
120 CharsetConverter* converter,
128 if (converter) {
96 RunConverter(const char* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output) argument
110 RunConverter(const char16* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output) argument
118 DoConvertToQueryEncoding(const CHAR* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output) argument
143 DoCanonicalizeQuery(const CHAR* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output, url_parse::Component* out_query) argument
163 CanonicalizeQuery(const char* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output, url_parse::Component* out_query) argument
172 CanonicalizeQuery(const char16* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output, url_parse::Component* out_query) argument
181 ConvertUTF16ToQueryEncoding(const char16* input, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output) argument
[all...]
/external/chromium_org/url/
H A Durl_canon_query.cc69 // 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 url_parse::Component& query, CharsetConverter* converter, CanonOutput* output) argument
85 RunConverter(const base::char16* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output) argument
93 DoConvertToQueryEncoding(const CHAR* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output) argument
118 DoCanonicalizeQuery(const CHAR* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output, url_parse::Component* out_query) argument
138 CanonicalizeQuery(const char* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output, url_parse::Component* out_query) argument
147 CanonicalizeQuery(const base::char16* spec, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output, url_parse::Component* out_query) argument
156 ConvertUTF16ToQueryEncoding(const base::char16* input, const url_parse::Component& query, CharsetConverter* converter, CanonOutput* output) argument
[all...]
/external/chromium_org/third_party/icu/source/tools/genrb/
H A Dderb.c62 static void printOutBundle(FILE *out, UConverter *converter, UResourceBundle *resource, int32_t indent, const char *pname, UErrorCode *status);
63 static void printString(FILE *out, UConverter *converter, const UChar *str, int32_t len);
64 static void printCString(FILE *out, UConverter *converter, const char *str, int32_t len);
65 static void printIndent(FILE *out, UConverter *converter, int32_t indent);
66 static void printHex(FILE *out, UConverter *converter, uint8_t what);
100 UConverter *converter; local
189 converter = ucnv_open(encoding, &status);
191 fprintf(stderr, "%s: couldn't create %s converter for encoding\n", pname, encoding ? encoding : ucnv_getDefaultName());
194 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_C, 0, 0, &status);
196 fprintf(stderr, "%s: couldn't configure converter fo
410 printString(FILE *out, UConverter *converter, const UChar *str, int32_t len) argument
430 printCString(FILE *out, UConverter *converter, const char *str, int32_t len) argument
450 printIndent(FILE *out, UConverter *converter, int32_t indent) argument
461 printHex(FILE *out, UConverter *converter, uint8_t what) argument
471 printOutAlias(FILE *out, UConverter *converter, UResourceBundle *parent, Resource r, const char *key, int32_t indent, const char *pname, UErrorCode *status) argument
504 printOutBundle(FILE *out, UConverter *converter, UResourceBundle *resource, int32_t indent, const char *pname, UErrorCode *status) argument
[all...]
/external/icu4c/tools/genrb/
H A Dderb.c62 static void printOutBundle(FILE *out, UConverter *converter, UResourceBundle *resource, int32_t indent, const char *pname, UErrorCode *status);
63 static void printString(FILE *out, UConverter *converter, const UChar *str, int32_t len);
64 static void printCString(FILE *out, UConverter *converter, const char *str, int32_t len);
65 static void printIndent(FILE *out, UConverter *converter, int32_t indent);
66 static void printHex(FILE *out, UConverter *converter, uint8_t what);
100 UConverter *converter; local
189 converter = ucnv_open(encoding, &status);
191 fprintf(stderr, "%s: couldn't create %s converter for encoding\n", pname, encoding ? encoding : ucnv_getDefaultName());
194 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_ESCAPE, UCNV_ESCAPE_C, 0, 0, &status);
196 fprintf(stderr, "%s: couldn't configure converter fo
410 printString(FILE *out, UConverter *converter, const UChar *str, int32_t len) argument
430 printCString(FILE *out, UConverter *converter, const char *str, int32_t len) argument
450 printIndent(FILE *out, UConverter *converter, int32_t indent) argument
461 printHex(FILE *out, UConverter *converter, uint8_t what) argument
471 printOutAlias(FILE *out, UConverter *converter, UResourceBundle *parent, Resource r, const char *key, int32_t indent, const char *pname, UErrorCode *status) argument
504 printOutBundle(FILE *out, UConverter *converter, UResourceBundle *resource, int32_t indent, const char *pname, UErrorCode *status) argument
[all...]
/external/chromium/base/i18n/
H A Dicu_string_conversions.cc80 bool ConvertFromUTF16(UConverter* converter, const UChar* uchar_src, argument
84 ucnv_getMaxCharSize(converter));
92 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_STOP, 0,
97 ucnv_setFromUCallBack(converter, UCNV_FROM_U_CALLBACK_SKIP, 0,
105 int actual_size = ucnv_fromUChars(converter, &(*encoded)[0],
108 ucnv_close(converter);
117 UConverter* converter, UErrorCode* status) {
120 ucnv_setToUCallBack(converter, UCNV_TO_U_CALLBACK_STOP, 0,
124 ucnv_setToUCallBack(converter, UCNV_TO_U_CALLBACK_SKIP, 0,
128 ucnv_setToUCallBack(converter, ToUnicodeCallbackSubstitut
116 SetUpErrorHandlerForToUChars(OnStringConversionError::Type on_error, UConverter* converter, UErrorCode* status) argument
160 UConverter* converter = ucnv_open(codepage_name, &status); local
175 UConverter* converter = ucnv_open(codepage_name, &status); local
[all...]
/external/chromium_org/base/i18n/
H A Dicu_string_conversions.cc81 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...]
/external/chromium_org/media/base/
H A Daudio_converter_perftest.cc37 AudioConverter converter(in_params, out_params, !fifo);
38 converter.AddInput(&fake_input1);
39 converter.AddInput(&fake_input2);
40 converter.AddInput(&fake_input3);
44 converter.Convert(output_bus.get());

Completed in 794 milliseconds

12345678910