Home
last modified time | relevance | path

Searched refs:encode (Results 1 – 25 of 860) sorted by relevance

12345678910>>...35

/external/chromium_org/third_party/WebKit/Source/platform/
DDecimalTest.cpp83 Decimal encode(uint64_t coefficient, int exponent, Sign sign) in encode() function in DecimalTest
126 EXPECT_EQ(encode(0, 0, Positive), encode(0, 0, Positive).abs()); in TEST_F()
127 EXPECT_EQ(encode(0, 0, Positive), encode(0, 0, Negative).abs()); in TEST_F()
129 EXPECT_EQ(encode(0, 10, Positive), encode(0, 10, Positive).abs()); in TEST_F()
130 EXPECT_EQ(encode(0, 10, Positive), encode(0, 10, Negative).abs()); in TEST_F()
132 EXPECT_EQ(encode(0, -10, Positive), encode(0, -10, Positive).abs()); in TEST_F()
133 EXPECT_EQ(encode(0, -10, Positive), encode(0, -10, Negative).abs()); in TEST_F()
135 EXPECT_EQ(encode(1, 0, Positive), encode(1, 0, Positive).abs()); in TEST_F()
136 EXPECT_EQ(encode(1, 0, Positive), encode(1, 0, Negative).abs()); in TEST_F()
138 EXPECT_EQ(encode(1, 10, Positive), encode(1, 10, Positive).abs()); in TEST_F()
[all …]
/external/nanopb-c/tests/alltypes_callback/
Dencode_alltypes_callback.c208 alltypes.req_int32.funcs.encode = &write_varint; in main()
211 alltypes.req_int64.funcs.encode = &write_varint; in main()
214 alltypes.req_uint32.funcs.encode = &write_varint; in main()
217 alltypes.req_uint32.funcs.encode = &write_varint; in main()
220 alltypes.req_uint64.funcs.encode = &write_varint; in main()
223 alltypes.req_sint32.funcs.encode = &write_svarint; in main()
226 alltypes.req_sint64.funcs.encode = &write_svarint; in main()
229 alltypes.req_bool.funcs.encode = &write_varint; in main()
232 alltypes.req_fixed32.funcs.encode = &write_fixed32; in main()
235 alltypes.req_sfixed32.funcs.encode = &write_fixed32; in main()
[all …]
/external/chromium_org/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DEncoder.java142 result.encode(dataHeader); in getEncoderAtDataOffset()
150 public void encode(DataHeader s) { in encode() method in Encoder
152 encode(s.size, DataHeader.SIZE_OFFSET); in encode()
153 encode(s.numFields, DataHeader.NUM_FIELDS_OFFSET); in encode()
159 public void encode(byte v, int offset) { in encode() method in Encoder
166 public void encode(boolean v, int offset, int bit) { in encode() method in Encoder
177 public void encode(short v, int offset) { in encode() method in Encoder
184 public void encode(int v, int offset) { in encode() method in Encoder
191 public void encode(float v, int offset) { in encode() method in Encoder
198 public void encode(long v, int offset) { in encode() method in Encoder
[all …]
/external/clang/test/CodeGenObjC/
Dencode-test-3.m6 const char * inc = @encode(int[]);
9 const char * vla = @encode(int[n]);
15 int a[sizeof(@encode(int)) == 2 ? 1 : -1]; // Type is char[2]
16 const char *B = @encode(int);
17 char (*c)[2] = &@encode(int); // @encode is an lvalue
19 char d[] = @encode(int); // infer size.
20 char e[1] = @encode(int); // truncate
21 char f[2] = @encode(int); // fits
22 char g[3] = @encode(int); // zero fill
Dencode-test.m88 const char *en = @encode(Derived);
89 const char *eb = @encode(B1);
90 const char *es = @encode(const struct S *);
91 const char *ec = @encode(const struct S);
92 const char *ee = @encode(MyObj *const);
96 const char g0[] = @encode(struct Innermost);
99 const char g1[] = @encode(Derived);
102 const char g2[] = @encode(B1);
105 const char g3[] = @encode(const struct S *);
108 const char g4[] = @encode(const struct S);
[all …]
Dencode-test-4.m7 return @encode(int) == @encode(int) &&
8 @encode(Color) == @encode(long) &&
9 @encode(PrintColor) == @encode(int);
Dencode-test-5.m4 char *a = @encode(_Complex int);
7 char *b = @encode(_Complex float);
10 char *c = @encode(_Complex double);
13 char *e = @encode(__int128_t);
16 char *f = @encode(__uint128_t);
/external/chromium_org/sdch/open-vcdiff/src/
Dvcdiff_test.sh55 encode -dictionary $DICTIONARY_FILE \
75 encode -dictionary $DICTIONARY_FILE \
95 encode -dictionary $DICTIONARY_FILE \
114 encode -dictionary $DICTIONARY_FILE \
158 encode -dictionary $TEST_TMPDIR/nonexistent_file \
167 encode -dictionary $DICTIONARY_FILE \
186 encode -dictionary $TEST_TMPDIR/infinite_loop1 \
197 encode -dictionary $DICTIONARY_FILE \
233 encode -dictionary /dev/kmem \
241 encode -dictionary $DICTIONARY_FILE \
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/
DHex.java24 byte[] encoded = encode(data, off, length); in toHexString()
33 public static byte[] encode( in encode() method in Hex
36 return encode(data, 0, data.length); in encode()
44 public static byte[] encode( in encode() method in Hex
53 encoder.encode(data, off, length, bOut); in encode()
68 public static int encode( in encode() method in Hex
73 return encoder.encode(data, 0, data.length, out); in encode()
81 public static int encode( in encode() method in Hex
88 return encoder.encode(data, off, length, out); in encode()
DBase64.java24 byte[] encoded = encode(data, off, length); in toBase64String()
33 public static byte[] encode( in encode() method in Base64
36 return encode(data, 0, data.length); in encode()
44 public static byte[] encode( in encode() method in Base64
54 encoder.encode(data, off, length, bOut); in encode()
69 public static int encode( in encode() method in Base64
74 return encoder.encode(data, 0, data.length, out); in encode()
82 public static int encode( in encode() method in Base64
89 return encoder.encode(data, off, length, out); in encode()
/external/skia/src/utils/
DSkBase64.cpp113 const char* encode; in Encode() local
115 encode = default_encode; in Encode()
117 encode = encodeMap; in Encode()
132 *dst++ = encode[a]; in Encode()
133 *dst++ = encode[b]; in Encode()
134 *dst++ = encode[c]; in Encode()
135 *dst++ = encode[d]; in Encode()
147 *dst++ = encode[a >> 2]; in Encode()
148 *dst++ = encode[(k1 | a << 4) & 0x3F]; in Encode()
149 *dst++ = encode[k2]; in Encode()
[all …]
/external/chromium_org/third_party/skia/src/utils/
DSkBase64.cpp113 const char* encode; in Encode() local
115 encode = default_encode; in Encode()
117 encode = encodeMap; in Encode()
132 *dst++ = encode[a]; in Encode()
133 *dst++ = encode[b]; in Encode()
134 *dst++ = encode[c]; in Encode()
135 *dst++ = encode[d]; in Encode()
147 *dst++ = encode[a >> 2]; in Encode()
148 *dst++ = encode[(k1 | a << 4) & 0x3F]; in Encode()
149 *dst++ = encode[k2]; in Encode()
[all …]
/external/nanopb-c/tests/callbacks/
Dencode_callbacks.c71 testmessage.stringvalue.funcs.encode = &encode_string; in main()
72 testmessage.int32value.funcs.encode = &encode_int32; in main()
73 testmessage.fixed32value.funcs.encode = &encode_fixed32; in main()
74 testmessage.fixed64value.funcs.encode = &encode_fixed64; in main()
77 testmessage.submsg.stringvalue.funcs.encode = &encode_string; in main()
78 testmessage.submsg.int32value.funcs.encode = &encode_int32; in main()
79 testmessage.submsg.fixed32value.funcs.encode = &encode_fixed32; in main()
80 testmessage.submsg.fixed64value.funcs.encode = &encode_fixed64; in main()
82 testmessage.repeatedstring.funcs.encode = &encode_repeatedstring; in main()
/external/lldb/test/
Dprogress.py18 light_block = unichr(0x2591).encode("utf-8")
19 solid_block = unichr(0x2588).encode("utf-8")
20 solid_right_arrow = unichr(0x25BA).encode("utf-8")
26 fill=unichr(0x25C9).encode("utf-8"),
27 blank=unichr(0x25CC).encode("utf-8"),
28 marker=unichr(0x25CE).encode("utf-8"),
82 fill=unichr(0x25C9).encode("utf-8"),
83 blank=unichr(0x25CC).encode("utf-8"),
84 marker=unichr(0x25CE).encode("utf-8"),
108 fill=unichr(0x25C9).encode("utf-8"),
[all …]
/external/lzma/CPP/7zip/Compress/
DCodecExports.cpp33 static HRESULT SetClassID(CMethodId id, bool encode, PROPVARIANT *value) in SetClassID() argument
38 if (encode) in SetClassID()
43 static HRESULT FindCodecClassId(const GUID *clsID, UInt32 isCoder2, bool isFilter, bool &encode, in… in FindCodecClassId() argument
50 encode = (clsID->Data3 != kDecodeId); in FindCodecClassId()
57 if (id != codec.Id || encode && !codec.CreateEncoder || !encode && !codec.CreateDecoder) in FindCodecClassId()
68 STDAPI CreateCoder2(bool encode, UInt32 index, const GUID *iid, void **outObject) in CreateCoder2() argument
79 if (encode) in CreateCoder2()
109 bool encode; in CreateCoder() local
111 HRESULT res = FindCodecClassId(clsid, isCoder2, isFilter, encode, codecIndex); in CreateCoder()
116 return CreateCoder2(encode, codecIndex, iid, outObject); in CreateCoder()
/external/nanopb-c/examples/using_union_messages/
DMakefile8 all: encode decode
9 ./encode 1 | ./decode
10 ./encode 2 | ./decode
11 ./encode 3 | ./decode
16 rm -f encode unionproto.pb.h unionproto.pb.c
/external/chromium_org/mojo/public/js/bindings/
Dcodec.js304 Uint8.encode(this, byte);
310 cls.encode(this, val[i]);
315 return cls.encode(this, val);
325 cls.encode(encoder, val);
417 cls.encode(this.createEncoder(cls.encodedSize), val);
487 Int8.encode = function(encoder, val) { function
491 Uint8.encode = function(encoder, val) { function
504 Uint8.encode = function(encoder, val) {
517 Int16.encode = function(encoder, val) { function
530 Uint16.encode = function(encoder, val) { function
[all …]
/external/elfutils/0.153/libelf/
Dversion_xlate.h58 elf_cvt_Verdef (void *dest, const void *src, size_t len, int encode) in elf_cvt_Verdef() argument
93 if (! encode) in elf_cvt_Verdef()
120 if (encode) in elf_cvt_Verdef()
126 if (! encode) in elf_cvt_Verdef()
132 if (encode) in elf_cvt_Verdef()
152 elf_cvt_Verneed (void *dest, const void *src, size_t len, int encode) in elf_cvt_Verneed() argument
187 if (! encode) in elf_cvt_Verneed()
212 if (encode) in elf_cvt_Verneed()
221 if (! encode) in elf_cvt_Verneed()
227 if (encode) in elf_cvt_Verneed()
Delf32_xlatetof.c67 elfw2(LIBELFBITS, xlatetof) (dest, src, encode)
70 unsigned int encode; variable
96 if (encode != ELFDATA2LSB && encode != ELFDATA2MSB)
113 if ((__BYTE_ORDER == __LITTLE_ENDIAN && encode == ELFDATA2LSB)
114 || (__BYTE_ORDER == __BIG_ENDIAN && encode == ELFDATA2MSB))
Delf32_xlatetom.c67 elfw2(LIBELFBITS, xlatetom) (dest, src, encode)
70 unsigned int encode; variable
97 if (encode != ELFDATA2LSB && encode != ELFDATA2MSB)
114 if ((BYTE_ORDER == LITTLE_ENDIAN && encode == ELFDATA2LSB)
115 || (BYTE_ORDER == BIG_ENDIAN && encode == ELFDATA2MSB))
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/
DInstructionCodec.java40 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_00X() method
55 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_10X() method
72 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_12X() method
91 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_11N() method
109 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_11X() method
125 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_10T() method
143 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_20T() method
161 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_20BC() method
180 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_22X() method
200 @Override public void encode(DecodedInstruction insn, CodeOutput out) { in FORMAT_21T() method
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.apache.commons.codec_1.3.0.v20100518-1140.jar ... .codec.Encoder { public abstract byte[] encode (byte[]) throws org.apache. ...
/external/nist-sip/java/gov/nist/javax/sip/address/
DAuthority.java58 public String encode() { in encode() method in Authority
59 return encode(new StringBuffer()).toString(); in encode()
62 public StringBuffer encode(StringBuffer buffer) { in encode() method in Authority
64 userInfo.encode(buffer); in encode()
66 hostPort.encode(buffer); in encode()
68 hostPort.encode(buffer); in encode()
234 return this.hostPort.encode().hashCode(); in hashCode()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DURLEncoderTest.java39 URLEncoder.encode(URL)).equals(URL)); in test_encodeLjava_lang_String()
41 URLEncoder.encode(URL2)).equals(URL2)); in test_encodeLjava_lang_String()
43 URLEncoder.encode(URL3)).equals(URL3)); in test_encodeLjava_lang_String()
53 URLEncoder.encode("str", "unknown_enc"); in test_encodeLjava_lang_StringLjava_lang_String()
61 URLEncoder.encode(null, "harmony"); in test_encodeLjava_lang_StringLjava_lang_String()
/external/clang/test/SemaObjC/
Dexprs.m20 …if (@encode(int) == "foo") { } // expected-warning {{result of comparison against @encode is unsp…
40 (void)@encode(Incomplete_ObjC_class); // expected-error {{incomplete type}}
41 (void)@encode(struct Incomplete_struct); // expected-error {{incomplete type}}
42 (void)@encode(Incomplete_ObjC_class*);
43 (void)@encode(id);

12345678910>>...35