/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/ |
memorybuffer.h | 38 typedef char Ch; // byte 42 void Put(Ch c) { *stack_.template Push<Ch>() = c; } 47 Ch* Push(size_t count) { return stack_.template Push<Ch>(count); } 48 void Pop(size_t count) { stack_.template Pop<Ch>(count); } 50 const Ch* GetBuffer() const { 51 return stack_.template Bottom<Ch>();
|
memorystream.h | 35 typedef char Ch; // byte 37 MemoryStream(const Ch *src, size_t size) : src_(src), begin_(src), end_(src + size), size_(size) {} 39 Ch Peek() const { return (src_ == end_) ? '\0' : *src_; } 40 Ch Take() { return (src_ == end_) ? '\0' : *src_++; } 43 Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } 44 void Put(Ch) { RAPIDJSON_ASSERT(false); } 46 size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } 49 const Ch* Peek4() const { 53 const Ch* src_; //!< Current read position. 54 const Ch* begin_; //!< Original head of the string [all...] |
stringbuffer.h | 37 typedef typename Encoding::Ch Ch;
50 void Put(Ch c) { *stack_.template Push<Ch>() = c; }
56 *stack_.template Push<Ch>() = '\0';
58 stack_.template Pop<Ch>(1);
60 Ch* Push(size_t count) { return stack_.template Push<Ch>(count); }
61 void Pop(size_t count) { stack_.template Pop<Ch>(count); }
63 const Ch* GetString() const { [all...] |
filewritestream.h | 29 typedef char Ch; //!< Character type. Only support char.
|
filereadstream.h | 29 typedef char Ch; //!< Character type (byte).
43 Ch Peek() const { return *current_; }
44 Ch Take() { Ch c = *current_; Read(); return c; }
48 void Put(Ch) { RAPIDJSON_ASSERT(false); }
50 Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; }
51 size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; }
54 const Ch* Peek4() const {
77 Ch *buffer_;
79 Ch *bufferLast_; [all...] |
prettywriter.h | 38 typedef typename Base::Ch Ch;
53 PrettyWriter& SetIndent(Ch indentChar, unsigned indentCharCount) {
73 bool String(const Ch* str, SizeType length, bool copy = false) {
80 bool String(const std::basic_string<Ch>& str) {
91 bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
141 bool String(const Ch* str) { return String(str, internal::StrLen(str)); }
142 bool Key(const Ch* str) { return Key(str, internal::StrLen(str)); }
192 Ch indentChar_;
|
encodedstream.h | 34 RAPIDJSON_STATIC_ASSERT(sizeof(typename InputByteStream::Ch) == 1);
36 typedef typename Encoding::Ch Ch;
42 Ch Peek() const { return current_; }
43 Ch Take() { Ch c = current_; current_ = Encoding::Take(is_); return c; }
47 void Put(Ch) { RAPIDJSON_ASSERT(false); }
49 Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; }
50 size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; }
57 Ch current_; [all...] |
encodings.h | 40 typename Ch; //! Type of character. A "character" is actually a code unit in unicode's definition.
73 static Ch Take(InputByteStream& is);
81 static void Put(OutputByteStream& os, Ch c);
97 typedef CharType Ch;
104 os.Put(static_cast<Ch>(codepoint & 0xFF));
106 os.Put(static_cast<Ch>(0xC0 | ((codepoint >> 6) & 0xFF)));
107 os.Put(static_cast<Ch>(0x80 | ((codepoint & 0x3F))));
110 os.Put(static_cast<Ch>(0xE0 | ((codepoint >> 12) & 0xFF)));
111 os.Put(static_cast<Ch>(0x80 | ((codepoint >> 6) & 0x3F)));
112 os.Put(static_cast<Ch>(0x80 | (codepoint & 0x3F))); [all...] |
writer.h | 56 typedef typename SourceEncoding::Ch Ch;
122 bool String(const Ch* str, SizeType length, bool copy = false) {
129 bool String(const std::basic_string<Ch>& str) {
140 bool Key(const Ch* str, SizeType length, bool copy = false) { return String(str, length, copy); }
175 bool String(const Ch* str) { return String(str, internal::StrLen(str)); }
176 bool Key(const Ch* str) { return Key(str, internal::StrLen(str)); }
244 bool WriteString(const Ch* str, SizeType length) {
261 const Ch c = is.Peek();
293 else if ((sizeof(Ch) == 1 || (unsigned)c < 256) && escape[(unsigned char)c]) { [all...] |
/external/dhcpcd-6.8.2/crypt/ |
sha256.c | 75 #define Ch(x, y, z) ((x & (y ^ z)) ^ z) 86 t0 = h + S1(e) + Ch(e, f, g) + k; \
|
/external/llvm/lib/MC/ |
SubtargetFeature.cpp | 34 char Ch = Feature[0]; 36 return Ch == '+' || Ch =='-'; 50 char Ch = Feature[0]; 52 return Ch == '+';
|
/external/wpa_supplicant_8/src/crypto/ |
sha256-internal.c | 71 #define Ch(x,y,z) (z ^ (x & (y ^ z))) 107 t0 = h + Sigma1(e) + Ch(e, f, g) + K[i] + W[i]; \
|
sha512-internal.c | 92 #define Ch(x,y,z) (z ^ (x & (y ^ z))) 132 t0 = S[7] + Sigma1(S[4]) + Ch(S[4], S[5], S[6]) + K[i] + W[i];
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
prettywritertest.cpp | 102 typedef char Ch; 106 Ch Peek() const { assert(false); return '\0'; } 107 Ch Take() { assert(false); return '\0'; } 110 Ch* PutBegin() { assert(false); return 0; } 111 void Put(Ch c) { os_.put(c); } 113 size_t PutEnd(Ch*) { assert(false); return 0; }
|
writertest.cpp | 145 typedef char Ch;
149 Ch Peek() const { assert(false); return '\0'; }
150 Ch Take() { assert(false); return '\0'; }
153 Ch* PutBegin() { assert(false); return 0; }
154 void Put(Ch c) { os_.put(c); }
156 size_t PutEnd(Ch*) { assert(false); return 0; }
337 static const UTF32<>::Ch s[] = { 0x110000, 0 }; // Out of U+0000 to U+10FFFF
345 static const UTF32<>::Ch s[] = { 0x110000, 0 }; // Out of U+0000 to U+10FFFF
|
/external/clang/lib/AST/ |
TemplateBase.cpp | 59 const char Ch = Val.getZExtValue(); 60 Out << ((Ch == '\'') ? "'\\" : "'"); 61 Out.write_escaped(StringRef(&Ch, 1), /*UseHexEscapes=*/ true);
|
/external/lzma/C/ |
Sha256.c | 35 #define Ch(x,y,z) (z^(x&(y^z)))
50 #define R(a,b,c,d,e,f,g,h, i) h += S1(e) + Ch(e,f,g) + K[i+j] + (j?blk2(i):blk0(i));\
65 #define R(i) h(i) += S1(e(i)) + Ch(e(i),f(i),g(i)) + K[i+j] + (j?blk2(i):blk0(i));\
|
/external/ImageMagick/MagickCore/ |
signature.c | 596 static inline unsigned int Ch(unsigned int x,unsigned int y,unsigned int z) 724 T1=Trunc32(H+Suma1(E)+Ch(E,F,G)+K[j]+W[j]);
|
/external/boringssl/src/crypto/sha/ |
sha256.c | 217 #define Ch(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) 222 T1 += h + Sigma1(e) + Ch(e, f, g) + K256[i]; \
|
sha512.c | 441 #define Ch(x, y, z) (((x) & (y)) ^ ((~(x)) & (z))) 472 T += F[7] + Sigma1(E) + Ch(E, F[5], F[6]) + K512[i]; 485 T += F[7] + Sigma1(E) + Ch(E, F[5], F[6]) + K512[i]; 507 T1 += h + Sigma1(e) + Ch(e, f, g) + K512[i]; \
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
LongDigest.java | 282 h += Sum1(e) + Ch(e, f, g) + K[t] + W[t++]; 287 g += Sum1(d) + Ch(d, e, f) + K[t] + W[t++]; 292 f += Sum1(c) + Ch(c, d, e) + K[t] + W[t++]; 297 e += Sum1(b) + Ch(b, c, d) + K[t] + W[t++]; 302 d += Sum1(a) + Ch(a, b, c) + K[t] + W[t++]; 307 c += Sum1(h) + Ch(h, a, b) + K[t] + W[t++]; 312 b += Sum1(g) + Ch(g, h, a) + K[t] + W[t++]; 317 a += Sum1(f) + Ch(f, g, h) + K[t] + W[t++]; 342 private long Ch(
|
SHA224Digest.java | 198 h += Sum1(e) + Ch(e, f, g) + K[t] + X[t]; 204 g += Sum1(d) + Ch(d, e, f) + K[t] + X[t]; 210 f += Sum1(c) + Ch(c, d, e) + K[t] + X[t]; 216 e += Sum1(b) + Ch(b, c, d) + K[t] + X[t]; 222 d += Sum1(a) + Ch(a, b, c) + K[t] + X[t]; 228 c += Sum1(h) + Ch(h, a, b) + K[t] + X[t]; 234 b += Sum1(g) + Ch(g, h, a) + K[t] + X[t]; 240 a += Sum1(f) + Ch(f, g, h) + K[t] + X[t]; 266 private int Ch(
|
SHA256Digest.java | 201 h += Sum1(e) + Ch(e, f, g) + K[t] + X[t]; 207 g += Sum1(d) + Ch(d, e, f) + K[t] + X[t]; 213 f += Sum1(c) + Ch(c, d, e) + K[t] + X[t]; 219 e += Sum1(b) + Ch(b, c, d) + K[t] + X[t]; 225 d += Sum1(a) + Ch(a, b, c) + K[t] + X[t]; 231 c += Sum1(h) + Ch(h, a, b) + K[t] + X[t]; 237 b += Sum1(g) + Ch(g, h, a) + K[t] + X[t]; 243 a += Sum1(f) + Ch(f, g, h) + K[t] + X[t]; 269 private int Ch(
|
/external/fio/crc/ |
sha256.c | 28 static inline uint32_t Ch(uint32_t x, uint32_t y, uint32_t z) 86 t1 = h + e1(e) + Ch(e,f,g) + 0x428a2f98 + W[ 0]; 88 t1 = g + e1(d) + Ch(d,e,f) + 0x71374491 + W[ 1]; 90 t1 = f + e1(c) + Ch(c,d,e) + 0xb5c0fbcf + W[ 2]; 92 t1 = e + e1(b) + Ch(b,c,d) + 0xe9b5dba5 + W[ 3]; 94 t1 = d + e1(a) + Ch(a,b,c) + 0x3956c25b + W[ 4]; 96 t1 = c + e1(h) + Ch(h,a,b) + 0x59f111f1 + W[ 5]; 98 t1 = b + e1(g) + Ch(g,h,a) + 0x923f82a4 + W[ 6]; 100 t1 = a + e1(f) + Ch(f,g,h) + 0xab1c5ed5 + W[ 7]; 103 t1 = h + e1(e) + Ch(e,f,g) + 0xd807aa98 + W[ 8] [all...] |
sha512.c | 25 static inline uint64_t Ch(uint64_t x, uint64_t y, uint64_t z) 124 t1 = h + e1(e) + Ch(e,f,g) + sha512_K[i ] + W[i ]; 126 t1 = g + e1(d) + Ch(d,e,f) + sha512_K[i+1] + W[i+1]; 128 t1 = f + e1(c) + Ch(c,d,e) + sha512_K[i+2] + W[i+2]; 130 t1 = e + e1(b) + Ch(b,c,d) + sha512_K[i+3] + W[i+3]; 132 t1 = d + e1(a) + Ch(a,b,c) + sha512_K[i+4] + W[i+4]; 134 t1 = c + e1(h) + Ch(h,a,b) + sha512_K[i+5] + W[i+5]; 136 t1 = b + e1(g) + Ch(g,h,a) + sha512_K[i+6] + W[i+6]; 138 t1 = a + e1(f) + Ch(f,g,h) + sha512_K[i+7] + W[i+7];
|