HomeSort by relevance Sort by last modified time
    Searched refs:Ch (Results 1 - 25 of 73) sorted by null

1 2 3

  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
strfunc.h 24 /*! \tparam Ch Character type (e.g. char, wchar_t, short)
29 template <typename Ch>
30 inline SizeType StrLen(const Ch* s) {
31 const Ch* p = s;
  /packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
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...]
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>();
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...]
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...]
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...]
rapidjson.h 511 typename Ch; //!< Character type of the stream.
514 Ch Peek() const;
517 Ch Take();
525 Ch* PutBegin();
528 void Put(Ch c);
536 size_t PutEnd(Ch* begin);
558 template<typename Stream, typename Ch>
559 inline void PutN(Stream& stream, Ch c, size_t n) {
572 typedef typename Encoding::Ch Ch;
    [all...]
pointer.h 74 typedef typename EncodingType::Ch Ch; //!< Character type from Value
90 const Ch* name; //!< Name of the token. It has null character at the end but it can contain null character.
106 explicit GenericPointer(const Ch* source, Allocator* allocator = 0) : allocator_(allocator), ownAllocator_(), nameBuffer_(), tokens_(), tokenCount_(), parseErrorOffset_(), parseErrorCode_(kPointerParseErrorNone) {
117 explicit GenericPointer(const std::basic_string<Ch>& source, Allocator* allocator = 0) : allocator_(allocator), ownAllocator_(), nameBuffer_(), tokens_(), tokenCount_(), parseErrorOffset_(), parseErrorCode_(kPointerParseErrorNone) {
129 GenericPointer(const Ch* source, size_t length, Allocator* allocator = 0) : allocator_(allocator), ownAllocator_(), nameBuffer_(), tokens_(), tokenCount_(), parseErrorOffset_(), parseErrorCode_(kPointerParseErrorNone) {
204 Ch *p = r.CopyFromRaw(*this, 1, token.length + 1);
205 std::memcpy(p, token.name, (token.length + 1) * sizeof(Ch));
219 GenericPointer Append(const Ch* name, SizeType length, Allocator* allocator = 0) const {
226 \param name Name (const Ch*) to be appended
    [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_;
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...]
document.h 260 typedef CharType Ch; //!< character type of the string
322 operator const Ch *() const { return s; }
324 const Ch* const s; //!< plain CharType pointer
427 typedef typename Encoding::Ch Ch; //!< Character type derived from Encoding.
428 typedef GenericStringRef<Ch> StringRefType; //!< Reference to a constant string
552 GenericValue(const Ch* s, SizeType length) RAPIDJSON_NOEXCEPT : data_(), flags_() { SetStringRaw(StringRef(s, length)); }
558 GenericValue(const Ch* s, SizeType length, Allocator& allocator) : data_(), flags_() { SetStringRaw(StringRef(s, length), allocator); }
561 GenericValue(const Ch*s, Allocator& allocator) : data_(), flags_() { SetStringRaw(StringRef(s), allocator); }
567 GenericValue(const std::basic_string<Ch>& s, Allocator& allocator) : data_(), flags_() { SetStringRaw(StringRef(s), allocator); }
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
io_fwd.hpp 28 template < typename Ch, class Tr = ::std::char_traits<Ch> >
30 template < typename Ch, class Tr = ::std::char_traits<Ch> >
32 template < typename Ch, class Tr = ::std::char_traits<Ch> >
34 template < typename Ch, class Tr = ::std::char_traits<Ch> >
36 template < typename Ch, class Tr = ::std::char_traits<Ch> >
    [all...]
  /packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
unittest.h 44 template <typename Ch>
45 inline unsigned StrLen(const Ch* s) {
46 const Ch* p = s;
51 template<typename Ch>
52 inline int StrCmp(const Ch* s1, const Ch* s2) {
57 template <typename Ch>
58 inline Ch* StrDup(const Ch* str) {
59 size_t bufferSize = sizeof(Ch) * (StrLen(str) + 1);
    [all...]
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
readertest.cpp 450 ~ParseStringHandler() { EXPECT_TRUE(str_ != 0); if (copy_) free(const_cast<typename Encoding::Ch*>(str_)); }
456 bool String(const typename Encoding::Ch* str, size_t length, bool copy) {
459 str_ = (typename Encoding::Ch*)malloc((length + 1) * sizeof(typename Encoding::Ch));
460 memcpy(const_cast<typename Encoding::Ch*>(str_), str, (length + 1) * sizeof(typename Encoding::Ch));
469 const typename Encoding::Ch* str_;
477 Encoding::Ch* buffer = StrDup(x); \
482 EXPECT_EQ(0, StrCmp<Encoding::Ch>(e, h.str_)); \
489 EXPECT_EQ(0, StrCmp<Encoding::Ch>(e, h2.str_)); \
    [all...]
  /external/bison/lib/
strtol.c 192 # define L_(Ch) L##Ch
196 # define ISSPACE(Ch) __iswspace_l ((Ch), loc)
197 # define ISALPHA(Ch) __iswalpha_l ((Ch), loc)
198 # define TOUPPER(Ch) __towupper_l ((Ch), loc)
200 # define ISSPACE(Ch) iswspace (Ch)
    [all...]
  /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];
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/io/
ios_state.hpp 109 template < typename Ch, class Tr >
113 typedef ::std::basic_ios<Ch, Tr> state_type;
134 template < typename Ch, class Tr >
138 typedef ::std::basic_ios<Ch, Tr> state_type;
163 template < typename Ch, class Tr >
167 typedef ::std::basic_ios<Ch, Tr> state_type;
168 typedef ::std::basic_ostream<Ch, Tr> * aspect_type;
188 template < typename Ch, class Tr >
192 typedef ::std::basic_ios<Ch, Tr> state_type;
193 typedef ::std::basic_streambuf<Ch, Tr> * aspect_type
    [all...]
  /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/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/
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(
  /toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic54x/
field.s 8 f3: .field 0Ch, 4 ; should be packed in previous word, f3=0x1

Completed in 893 milliseconds

1 2 3