/external/chromium_org/chrome/browser/history/ |
url_utils.cc | 34 const std::string::value_type* ch1 = s1.c_str(); local 36 while (*ch1 && *ch2 && *ch1 == *ch2) { 37 ++ch1; 40 int pri_diff = GetURLCharPriority(*ch1) - GetURLCharPriority(*ch2); 42 return (pri_diff != 0) ? pri_diff < 0 : *ch1 < *ch2;
|
/frameworks/av/media/libmedia/ |
MediaScannerClient.cpp | 100 uint8_t ch1, ch2; local 103 while ((ch1 = *chp++)) { 104 if (ch1 & 0x80) { 106 ch1 = ((ch1 << 6) & 0xC0) | (ch2 & 0x3F); 107 // ch1 is now the first byte of the potential native char 113 int ch = (int)ch1 << 8 | (int)ch2;
|
/frameworks/av/media/mtp/ |
MtpStringBuffer.cpp | 150 uint16_t ch1 = *src++; local 151 if ((ch1 & 0x80) == 0) { 153 ch = ch1; 154 } else if ((ch1 & 0xE0) == 0xC0) { 157 ch = ((ch1 & 0x1F) << 6) | (ch2 & 0x3F); 162 ch = ((ch1 & 0x0F) << 12) | ((ch2 & 0x3F) << 6) | (ch3 & 0x3F);
|
/packages/inputmethods/PinyinIME/jni/include/ |
spellingtrie.h | 162 inline static bool is_same_spl_char(char ch1, char ch2) { 163 return ch1 == ch2 || ch1 - ch2 == 'a' - 'A' || ch2 - ch1 == 'a' - 'A';
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
EncodingInfo.java | 187 public boolean isInEncoding(char ch1) { 189 int codePoint = Encodings.toCodePoint(ch1); 202 ret = m_before.isInEncoding(ch1); 215 ret = m_after.isInEncoding(ch1); 226 ret = inEncoding(ch1, m_encoding);
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/opentype/ |
OpenTypeTypes.h | 66 #define OT_MAKE_TAG(ch1, ch2, ch3, ch4) ((((uint32_t)(ch4)) << 24) | (((uint32_t)(ch3)) << 16) | (((uint32_t)(ch2)) << 8) | ((uint32_t)(ch1)))
|
/external/e2fsprogs/misc/ |
util.c | 39 int ch1 = *s1++, ch2 = *s2++; local 40 if (isupper (ch1)) 41 ch1 = tolower (ch1); 44 if (ch1 != ch2) 45 return ch1 - ch2;
|
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/ |
port_unittest.cc | 600 TestChannel ch1(port1, port2); 602 EXPECT_EQ(0, ch1.complete_count()); 606 ch1.Start(); 608 ASSERT_EQ_WAIT(1, ch1.complete_count(), kTimeout); 612 ch1.CreateConnection(); 613 ASSERT_TRUE(ch1.conn() != NULL); 614 EXPECT_TRUE_WAIT(ch1.conn()->connected(), kTimeout); // for TCP connect 615 ch1.Ping(); 621 EXPECT_TRUE(ch1.remote_address().IsNil()); 638 EXPECT_TRUE(ch1.remote_address().IsNil()) [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/callback/ |
ChoiceCallbackTest.java | 121 String[] ch1 = {""}; local 124 cb = new ChoiceCallback(prompt, ch1, 5, true);
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
IsoTypeReader.java | 25 long ch1 = readUInt8(bb); local 29 return ((ch4 << 24) + (ch3 << 16) + (ch2 << 8) + (ch1 << 0));
|
/external/srec/srec/include/ |
sample.h | 71 #define MAKEFOURCC(ch0, ch1, ch2, ch3) ((DWORD)(BYTE)(ch0) | ((DWORD)(BYTE)(ch1) << 8) | ((DWORD)(BYTE)(ch2) << 16) | ((DWORD)(BYTE)(ch3) << 24 ))
|
/external/jpeg/ |
rdswitch.c | 308 char ch1, ch2; local 313 if (sscanf(arg, "%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3) 315 if ((ch1 != 'x' && ch1 != 'X') || ch2 != ',') /* syntax check */
|
/external/qemu/distrib/jpeg-6b/ |
rdswitch.c | 308 char ch1, ch2; local 313 if (sscanf(arg, "%d%c%d%c", &val1, &ch1, &val2, &ch2) < 3) 315 if ((ch1 != 'x' && ch1 != 'X') || ch2 != ',') /* syntax check */
|
/hardware/ti/omap3/omx/ti_omx_config_parser/src/ |
ti_video_config_parser.cpp | 44 #define MAKEFOURCC_WMC(ch0, ch1, ch2, ch3) \ 45 ((uint32)(uint8)(ch0) | ((uint32)(uint8)(ch1) << 8) | \ 48 #define mmioFOURCC_WMC(ch0, ch1, ch2, ch3) MAKEFOURCC_WMC(ch0, ch1, ch2, ch3)
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
HTMLScanner.java | 428 char ch1 = (char)ch; local 429 // System.out.println("Got " + ch1 + " in state " + ((theState == S_ENT) ? "S_ENT" : ((theState == S_NCR) ? "S_NCR" : "UNK"))); 430 if (theState == S_ENT && ch1 == '#') { 435 else if (theState == S_NCR && (ch1 == 'x' || ch1 == 'X')) { 440 else if (theState == S_ENT && Character.isLetterOrDigit(ch1)) { 444 else if (theState == S_NCR && Character.isDigit(ch1)) { 448 else if (theState == S_XNCR && (Character.isDigit(ch1) || "abcdefABCDEF".indexOf(ch1) != -1)) {
|
/system/core/sh/ |
nodes.h | 36 union node *ch1; member in struct:nbinary
|
nodes.c | 130 calcsize(n->nbinary.ch1); 226 new->nbinary.ch1 = copynode(n->nbinary.ch1);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1InputStream.java | 402 int ch1 = defIn.read(); local 403 if (ch1 < 0) 412 buf[totalRead++] = (char)((ch1 << 8) | (ch2 & 0xff));
|
/external/ceres-solver/examples/ |
pgm_image.h | 237 char ch1, ch2; 238 inputfile >> ch1 >> ch2; 239 if (!inputfile || ch1 != 'P' || (ch2 != '2' && ch2 != '5')) {
|
/external/grub/lib/ |
getopt.c | 286 # define SWAP_FLAGS(ch1, ch2) \ 289 char __tmp = __getopt_nonoption_flags[ch1]; \ 290 __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ 294 # define SWAP_FLAGS(ch1, ch2)
|
/ndk/sources/host-tools/make-3.81/ |
getopt.c | 277 # define SWAP_FLAGS(ch1, ch2) \ 280 char __tmp = __getopt_nonoption_flags[ch1]; \ 281 __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \ 285 # define SWAP_FLAGS(ch1, ch2)
|
/external/chromium_org/third_party/libxml/src/ |
xpath.c | 561 int ch1; /* First child */ member in struct:_xmlXPathStepOp 705 * @ch1: first child index 719 xmlXPathCompExprAdd(xmlXPathCompExprPtr comp, int ch1, int ch2, 737 comp->steps[comp->nbStep].ch1 = ch1; 787 tmp = op->ch1; 788 op->ch1 = op->ch2; 805 #define PUSH_BINARY_EXPR(op, ch1, ch2, val, val2) \ 806 xmlXPathCompExprAdd(ctxt->comp, (ch1), (ch2), (op), \ [all...] |
/external/libxml2/ |
xpath.c | 562 int ch1; /* First child */ member in struct:_xmlXPathStepOp 706 * @ch1: first child index 720 xmlXPathCompExprAdd(xmlXPathCompExprPtr comp, int ch1, int ch2, 738 comp->steps[comp->nbStep].ch1 = ch1; 788 tmp = op->ch1; 789 op->ch1 = op->ch2; 806 #define PUSH_BINARY_EXPR(op, ch1, ch2, val, val2) \ 807 xmlXPathCompExprAdd(ctxt->comp, (ch1), (ch2), (op), \ [all...] |
/external/chromium_org/third_party/icu/source/tools/dumpce/ |
dumpce.cpp | 751 UChar *ch1 = ((ScriptElement *)elem1)->ch; local 758 int result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2); 761 result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2); 764 result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2); 1112 UChar *ch1 = ((ScriptElement *)elem1)->ch; \/\/ key local 1123 UChar *ch1 = se.ch; local [all...] |
/external/icu4c/tools/dumpce/ |
dumpce.cpp | 751 UChar *ch1 = ((ScriptElement *)elem1)->ch; local 758 int result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2); 761 result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2); 764 result = ucol_strcoll(COLLATOR_, ch1, size1, ch2, size2); 1111 UChar *ch1 = ((ScriptElement *)elem1)->ch; \/\/ key local 1122 UChar *ch1 = se.ch; local [all...] |