HomeSort by relevance Sort by last modified time
    Searched refs:marshaler (Results 1 - 13 of 13) sorted by null

  /frameworks/base/core/java/android/hardware/camera2/marshal/
MarshalRegistry.java 34 * this is desirable if they support different native types (e.g. marshaler 1 supports
35 * {@code Integer <-> TYPE_INT32}, marshaler 2 supports {@code Integer <-> TYPE_BYTE}.</p>
46 * Lookup a marshaler between {@code T} and {@code nativeType}.
53 * @return marshaler a non-{@code null} marshaler that supports marshaling the type combo
55 * @throws UnsupportedOperationException If no marshaler matching the args could be found
58 public static <T> Marshaler<T> getMarshaler(TypeReference<T> typeToken, int nativeType) {
68 Marshaler<T> marshaler = local
69 (Marshaler<T>) sMarshalerMap.get(marshalToken)
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/marshal/impl/
MarshalQueryableArray.java 18 import android.hardware.camera2.marshal.Marshaler;
31 * <p>To marshal any {@code T} to/from a native type, the marshaler for T to/from that native type
44 private class MarshalerArray extends Marshaler<T> {
46 private final Marshaler<?> mComponentMarshaler;
74 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) {
128 if (elementSize != Marshaler.NATIVE_SIZE_DYNAMIC) {
147 private <TElem> void marshalArrayElement(Marshaler<TElem> marshaler,
149 marshaler.marshal((TElem)Array.get(array, index), buffer);
158 private <TElem> int calculateElementMarshalSize(Marshaler<TElem> marshaler
    [all...]
  /prebuilts/go/darwin-x86/src/hash/
example_test.go 24 marshaler, ok := first.(encoding.BinaryMarshaler)
28 state, err := marshaler.MarshalBinary()
  /prebuilts/go/linux-x86/src/hash/
example_test.go 24 marshaler, ok := first.(encoding.BinaryMarshaler)
28 state, err := marshaler.MarshalBinary()
  /external/golang-protobuf/jsonpb/
jsonpb_test.go 56 marshaler = Marshaler{}
58 marshalerAllOptions = Marshaler{
342 marshaler Marshaler
346 {"simple flat object", marshaler, simpleObject, simpleObjectJSON},
348 {"non-finite floats fields object", marshaler, nonFinites, nonFinitesJSON},
349 {"repeated fields flat object", marshaler, repeatsObject, repeatsObjectJSON},
351 {"nested message/enum flat object", marshaler, complexObject, complexObjectJSON},
353 {"enum-string flat object", Marshaler{},
55 marshaler = Marshaler{} var
    [all...]
  /frameworks/base/core/java/android/hardware/camera2/impl/
CameraMetadataNative.java 27 import android.hardware.camera2.marshal.Marshaler;
530 Marshaler<T> marshaler = getMarshalerForKey(key, nativeType); local
532 return marshaler.unmarshal(buffer);
1069 Marshaler<T> marshaler = getMarshalerForKey(key, nativeType); local
    [all...]
  /prebuilts/go/darwin-x86/src/encoding/xml/
marshal.go 83 // Marshaler is the interface implemented by objects that can marshal
99 type Marshaler interface {
190 // such as Encode or EncodeElement (or a custom Marshaler's MarshalXML invoked
394 marshalerType = reflect.TypeOf((*Marshaler)(nil)).Elem()
426 // Check for marshaler.
428 return p.marshalInterface(val.Interface().(Marshaler), defaultStart(typ, finfo, startTemplate))
433 return p.marshalInterface(pv.Interface().(Marshaler), defaultStart(pv.Type(), finfo, startTemplate))
437 // Check for text marshaler.
642 // since it has the Marshaler methods.
648 // marshalInterface marshals a Marshaler interface value
    [all...]
  /prebuilts/go/linux-x86/src/encoding/xml/
marshal.go 83 // Marshaler is the interface implemented by objects that can marshal
99 type Marshaler interface {
190 // such as Encode or EncodeElement (or a custom Marshaler's MarshalXML invoked
394 marshalerType = reflect.TypeOf((*Marshaler)(nil)).Elem()
426 // Check for marshaler.
428 return p.marshalInterface(val.Interface().(Marshaler), defaultStart(typ, finfo, startTemplate))
433 return p.marshalInterface(pv.Interface().(Marshaler), defaultStart(pv.Type(), finfo, startTemplate))
437 // Check for text marshaler.
642 // since it has the Marshaler methods.
648 // marshalInterface marshals a Marshaler interface value
    [all...]
  /external/golang-protobuf/proto/
text.go 779 // TextMarshaler is a configurable text format marshaler.
  /prebuilts/go/darwin-x86/src/encoding/json/
decode_test.go 697 // versions of Go, even though the custom marshaler was not.
743 // ints work with the marshaler but not the base64 []byte case
    [all...]
  /prebuilts/go/linux-x86/src/encoding/json/
decode_test.go 697 // versions of Go, even though the custom marshaler was not.
743 // ints work with the marshaler but not the base64 []byte case
    [all...]
  /external/golang-protobuf/protoc-gen-go/generator/
generator.go     [all...]
  /prebuilts/tools/common/m2/repository/com/amazonaws/aws-java-sdk-dynamodb/1.11.18/
aws-java-sdk-dynamodb-1.11.18.jar 

Completed in 1415 milliseconds