HomeSort by relevance Sort by last modified time
    Searched full:converter (Results 26 - 50 of 1841) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/icu/icu4c/source/common/
ucnv_u32.cpp 16 * UTF-32 converter implementation. Used to be in ucnv_utf.c.
54 unsigned char *toUBytes = args->converter->toUBytes;
58 if (args->converter->toUnicodeStatus && myTarget < targetLimit) {
59 i = args->converter->toULength; /* restore # of bytes consumed */
60 args->converter->toULength = 0;
62 ch = args->converter->toUnicodeStatus - 1;/*Stores the previously calculated ch from a previous call*/
63 args->converter->toUnicodeStatus = 0;
79 args->converter->toUnicodeStatus = ch + 1;
80 args->converter->toULength = (int8_t) i;
101 args->converter->UCharErrorBuffer[0] = (UChar) ch
    [all...]
ucnv_io.h 11 * defines variables and functions pertaining to converter name resolution
87 * Map a converter alias name to a canonical converter name.
88 * The alias is searched for case-insensitively, the converter name
92 * @param containsOption A return value stating whether the returned converter name contains an option (a comma)
94 * @return the converter name in mixed-case, return NULL if the alias is not found.
100 * Return the number of all known converter names (no aliases).
108 * Swap an ICU converter alias table. See implementation for details.
  /external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
Converter.java 20 * A converter can take a String and turn it into an instance of type T (the type parameter to the
21 * converter).
24 public interface Converter<T> {
  /external/libchrome/base/json/
json_value_converter_unittest.cc 61 base::JSONValueConverter<SimpleMessage>* converter) {
62 converter->RegisterIntField("foo", &SimpleMessage::foo);
63 converter->RegisterStringField("bar", &SimpleMessage::bar);
64 converter->RegisterBoolField("baz", &SimpleMessage::baz);
65 converter->RegisterCustomField<SimpleEnum>(
67 converter->RegisterRepeatedInt("ints", &SimpleMessage::ints);
68 converter->RegisterCustomValueField<bool>("bstruct",
71 converter->RegisterRepeatedCustomValue<std::string>(
87 base::JSONValueConverter<NestedMessage>* converter) {
88 converter->RegisterDoubleField("foo", &NestedMessage::foo)
110 base::JSONValueConverter<SimpleMessage> converter; local
152 base::JSONValueConverter<NestedMessage> converter; local
194 base::JSONValueConverter<SimpleMessage> converter; local
210 base::JSONValueConverter<SimpleMessage> converter; local
233 base::JSONValueConverter<SimpleMessage> converter; local
250 base::JSONValueConverter<SimpleMessage> converter; local
    [all...]
  /external/desugar/java/com/google/devtools/common/options/testing/
ConverterTesterMap.java 19 import com.google.devtools.common.options.Converter;
23 * An immutable mapping from {@link Converter} classes to {@link ConverterTester}s which test them.
28 extends ForwardingMap<Class<? extends Converter<?>>, ConverterTester> {
30 private final ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate;
33 ImmutableMap<Class<? extends Converter<?>>, ConverterTester> delegate) {
38 protected Map<Class<? extends Converter<?>>, ConverterTester> delegate() {
44 private final ImmutableMap.Builder<Class<? extends Converter<?>>, ConverterTester> delegate;
51 * Adds a new ConverterTester, mapping it to the class of converter it tests. Only one tester
  /external/icu/icu4c/source/test/cintltst/
cctest.c 19 /* This makes sure that a converter isn't leaked when an error is passed to
24 /* Remove the default converter */
35 log_err("Didn't expect to get a converter on a failure\n");
39 /* Get the default converter. Copy its name. Put it back. */
56 ( for example, if UTF-8 is the fixed converter ).
57 But, if it does cause a change, that change should be reflected when the converter is
71 /* first, flush any extant converter */
91 log_err("Error: u_getDefaultConverter() is still returning %s (expected %s) even though default converter was set back to %s (was %s)\n", nameAfterRestore, nameBeforeSet, defaultName , SET_TO);
  /external/webrtc/webrtc/tools/converter/
converter.cc 17 #include "webrtc/tools/converter/converter.h"
30 Converter::Converter(int width, int height)
35 bool Converter::ConvertRGBAToI420Video(std::string frames_dir,
109 bool Converter::AddYUVToFile(uint8_t* y_plane,
122 bool Converter::AddYUVPlaneToFile(uint8_t* yuv_plane,
135 bool Converter::ReadRGBAFrame(const char* input_file_name, int input_frame_size,
155 std::string Converter::FindFullFileName(std::string dir_name,
160 bool Converter:: FileExists(std::string file_name_to_check)
    [all...]
  /external/jcommander/src/test/java/com/beust/jcommander/args/
ArgsWithSet.java 9 @Parameter(names = "-s", converter = SetConverter.class)
  /external/junit-params/src/main/java/junitparams/converters/
NullableConverter.java 4 public class NullableConverter implements Converter<Nullable, String>{
ParamConverter.java 10 * @deprecated use {@link Converter}
  /external/lzma/C/
Delta.h 1 /* Delta.h -- Delta converter
  /external/mockito/src/main/java/org/mockito/internal/util/collections/
ListUtil.java 29 public static <From, To> LinkedList<To> convert(Collection<From> collection, Converter<From, To> converter) {
32 converted.add(converter.convert(f));
41 public interface Converter<From, To> {
  /external/testng/src/test/java/test/converter/
ConverterSample1.java 1 package test.converter;
  /external/libmojo/mojo/edk/js/
handle.cc 49 v8::Handle<v8::Value> Converter<mojo::Handle>::ToV8(v8::Isolate* isolate,
56 bool Converter<mojo::Handle>::FromV8(v8::Isolate* isolate,
65 if (!Converter<gin::Handle<mojo::edk::js::HandleWrapper>>::FromV8(
73 v8::Handle<v8::Value> Converter<mojo::MessagePipeHandle>::ToV8(
75 return Converter<mojo::Handle>::ToV8(isolate, val);
78 bool Converter<mojo::MessagePipeHandle>::FromV8(v8::Isolate* isolate,
81 return Converter<mojo::Handle>::FromV8(isolate, val, out);
  /frameworks/base/core/java/android/animation/
BidirectionalTypeConverter.java 42 * Returns the inverse of this converter, where the from and to classes are reversed.
43 * The inverted converter uses this convert to call {@link #convertBack(Object)} for
46 * @return The inverse of this converter, where the from and to classes are reversed.
58 public InvertedConverter(BidirectionalTypeConverter<To, From> converter) {
59 super(converter.getTargetType(), converter.getSourceType());
60 mConverter = converter;
  /external/adhd/cras/src/server/
cras_fmt_conv.h 28 /* Creates the format converter for channel remixing. The conversion takes
39 /* Converts nframes of sample from in_buf, using given remix converter.
41 * conv - The format converter.
51 /* Get the input format of the converter. */
55 /* Get the output format of the converter. */
71 * conv - The format converter returned from cras_fmt_conv_create().
86 /* Checks if format conversion is needed for a fmt converter.
95 * converter that handles transforming the input format to the format used by
98 * conv - filled with the new converter if needed.
99 * dir - the stream direction the new converter used for
    [all...]
  /external/icu/icu4c/source/io/
ustream.cpp 44 UConverter *converter; local
47 // use the default converter to convert chunks of text
48 converter = u_getDefaultConverter(&errorCode);
56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, FALSE, &errorCode);
64 u_releaseDefaultConverter(converter);
84 UConverter *converter; local
87 // use the default converter to convert chunks of text
88 converter = u_getDefaultConverter(&errorCode);
117 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode);
161 u_releaseDefaultConverter(converter);
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ConverterTest.java 33 assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asInt(resource)).isEqualTo(100);
39 assertThat(Converter.getConverter(ResType.CHAR_SEQUENCE).asCharSequence(resource)).isEqualTo("Robolectric");
45 assertThat(Converter.getConverter(ResType.COLOR).asInt(resource)).isEqualTo(-5592406);
51 assertThat(Converter.getConverter(ResType.DRAWABLE).asInt(resource)).isEqualTo(-5592406);
57 assertThat(Converter.getConverter(ResType.INTEGER).asInt(resource)).isEqualTo(100);
  /external/icu/icu4c/source/common/unicode/
ucnv.h 28 * from UTF-16. You can open a converter with {@link ucnv_open() }. With that
29 * converter, you can get its properties, set options, convert your data and
30 * close the converter.</p>
32 * <p>Since many software programs recognize different converter names for
34 * iterate over the converter aliases. The functions {@link ucnv_getAvailableName() },
38 * <p>When a converter encounters an illegal, irregular, invalid or unmappable character
41 * or {@link ucnv_setToUCallBack() } on the converter. The header ucnv_err.h defines
77 /** Maximum length of a converter name including the terminating NULL @stable ICU 2.0 */
79 /** Maximum length of a converter name including path and terminating NULL @stable ICU 2.0 */
167 /* Number of converter types for which we have conversion routines. *
    [all...]
  /external/icu/icu4c/source/tools/gencnval/
gencnval.c 19 * converter name alias table to cnvalias.dat .
54 /* The combined tag and converter count can affect the number of lists
62 /* The maximum number of aliases that a standard tag/converter combination can have.
108 uint16_t converter; /* Index into stringStore */ member in struct:__anon21790
110 } Converter;
112 static Converter converters[MAX_CONV_COUNT];
169 addAlias(const char *alias, uint16_t standard, uint16_t converter, UBool defaultName);
172 addConverter(const char *converter);
187 addTaggedAlias(uint16_t tag, const char *alias, uint16_t converter);*/
309 /* write the table of aliases based on a tag/converter name combination *
424 char *converter, *alias; local
    [all...]
  /external/desugar/java/com/google/devtools/common/options/
OptionDefinition.java 61 private Converter<?> converter = null; field in class:OptionDefinition
123 /** {@link Option#converter()} ()} */
125 public Class<? extends Converter> getProvidedConverter() {
126 return optionAnnotation.converter();
209 // The validity of the converter is checked at compile time. We know the type to be
218 * Retrieves the {@link Converter} that will be used for this option, taking into account the
221 * <p>Memoizes the converter-finding logic to avoid repeating the computation.
223 public Converter<?> getConverter() {
224 if (converter != null)
264 Converter<?> converter = getConverter(); local
    [all...]
  /external/swiftshader/third_party/subzero/src/
IceConverter.h 11 /// \brief Declares the LLVM to ICE converter.
28 class Converter : public Translator {
29 Converter() = delete;
30 Converter(const Converter &) = delete;
31 Converter &operator=(const Converter &) = delete;
34 Converter(llvm::Module *Mod, GlobalContext *Ctx)
38 ~Converter() override = default;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/
pcm_rate.h 3 * \brief External Rate-Converter-Plugin SDK
7 * External Rate-Converter-Plugin SDK
11 * ALSA external PCM rate-converter plugin SDK (draft version)
58 /** Callback table of rate-converter */
61 * close the converter; optional
65 * initialize the converter, called at hw_params
69 * free the converter; optional
73 * reset the converter, called at prepare; optional
124 * Define the object entry for external PCM rate-converter plugins
  /external/desugar/java/com/google/devtools/build/android/
Converters.java 16 import com.google.devtools.common.options.Converter;
27 private static final Converter<String> IDENTITY_CONVERTER =
28 new Converter<String>() {
40 /** Validating converter for Paths. A Path is considered valid if it resolves to a file. */
41 public static class PathConverter implements Converter<Path> {
75 * Validating converter for Paths. A Path is considered valid if it resolves to a file and exists.
  /packages/apps/Bluetooth/src/com/android/bluetooth/
Utils.java 90 ByteBuffer converter = ByteBuffer.wrap(valueBuf); local
91 converter.order(ByteOrder.nativeOrder());
92 return converter.getShort();
96 ByteBuffer converter = ByteBuffer.wrap(valueBuf); local
97 converter.order(ByteOrder.nativeOrder());
98 return converter.getInt(offset);
113 ByteBuffer converter = ByteBuffer.allocate(4); local
114 converter.order(ByteOrder.nativeOrder());
115 converter.putInt(value);
116 return converter.array()
121 ByteBuffer converter = ByteBuffer.allocate(length); local
134 ByteBuffer converter = ByteBuffer.allocate(length); local
154 ByteBuffer converter = ByteBuffer.wrap(val); local
    [all...]

Completed in 4122 milliseconds

12 3 4 5 6 7 8 91011>>