/external/strace/tests/ |
s390_sthyi.c | 129 iconv_t cd = iconv_open("ASCII", "EBCDICUS"); 138 "EBCDIC to ASCII"); 156 "ASCII buffer unexpectedly"); 166 error_msg_and_fail("ebcdic2ascii: ASCII string differs in size " 189 const char *ascii = ebcdic2ascii(addr + offs, size); local 205 print_quoted_memory(ascii, size);
|
/external/strace/tests-m32/ |
s390_sthyi.c | 129 iconv_t cd = iconv_open("ASCII", "EBCDICUS"); 138 "EBCDIC to ASCII"); 156 "ASCII buffer unexpectedly"); 166 error_msg_and_fail("ebcdic2ascii: ASCII string differs in size " 189 const char *ascii = ebcdic2ascii(addr + offs, size); local 205 print_quoted_memory(ascii, size);
|
/external/strace/tests-mx32/ |
s390_sthyi.c | 129 iconv_t cd = iconv_open("ASCII", "EBCDICUS"); 138 "EBCDIC to ASCII"); 156 "ASCII buffer unexpectedly"); 166 error_msg_and_fail("ebcdic2ascii: ASCII string differs in size " 189 const char *ascii = ebcdic2ascii(addr + offs, size); local 205 print_quoted_memory(ascii, size);
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
CharsetEncoderTest.java | 32 Charset ascii = Charset.forName("US-ASCII"); local 33 CharsetEncoder e = ascii.newEncoder(); 36 e.replaceWith("=".getBytes("US-ASCII")); 38 String output = ascii.decode(e.encode(CharBuffer.wrap(input))).toString(); 52 assertReplacementBytesForEncoder("US-ASCII", new byte[] { (byte) '?' });
|
/prebuilts/gdb/darwin-x86/lib/python2.7/curses/ |
ascii.py | 1 """Constants and membership tests for ASCII characters""" 71 def ascii(c): function
|
/prebuilts/gdb/linux-x86/lib/python2.7/curses/ |
ascii.py | 1 """Constants and membership tests for ASCII characters""" 71 def ascii(c): function
|
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/net/idna/ |
idna.go | 96 // StrictDomainName limits the set of permissible ASCII characters to those 195 // ToASCII converts a domain or domain label to its ASCII form. For example, 364 if !ascii(label) { 563 // acePrefix is the ASCII Compatible Encoding prefix. 725 func ascii(s string) bool { func
|
/prebuilts/go/linux-x86/src/vendor/golang_org/x/net/idna/ |
idna.go | 96 // StrictDomainName limits the set of permissible ASCII characters to those 195 // ToASCII converts a domain or domain label to its ASCII form. For example, 364 if !ascii(label) { 563 // acePrefix is the ASCII Compatible Encoding prefix. 725 func ascii(s string) bool { func
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/curses/ |
ascii.py | 1 """Constants and membership tests for ASCII characters""" 71 def ascii(c): function
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/curses/ |
ascii.py | 1 """Constants and membership tests for ASCII characters""" 71 def ascii(c): function
|
/external/libchrome/base/strings/ |
string_util_unittest.cc | 403 // Also, test that a non-ASCII character will be detected regardless of its 483 std::string ascii = UTF16ToASCII(WideToUTF16(wchar_cases[i])); local 484 EXPECT_EQ(char_cases[i], ascii); [all...] |
/external/nos/host/android/manual_tests/ |
test_citadel.c | 56 int ascii; member in struct:option_s 81 {"ascii", 0, NULL, 'a'}, 127 " -a, --ascii Print response as ASCII string\n" 183 if (option.ascii) { 982 option.ascii = 1; 986 option.ascii = 0;
|
/external/python/cpython2/Lib/plat-mac/ |
gensuitemodule.py | 487 fp.write("Package generated from %s\n"%ascii(fname)) 489 fp.write("Resource %s resid %d %s\n"%(ascii(resinfo[1]), resinfo[0], ascii(resinfo[2]))) 498 fp.write(" '%s' : %s,\n"%(ascii(code), modname)) 502 fp.write(" '%s' : ('%s.%s', '%s'),\n"%(ascii(code), packagename, modname, modname)) 652 fp.write('"""Suite %s: %s\n' % (ascii(name), ascii(desc))) 654 fp.write("Generated from %s\n"%ascii(fname)) 743 fp.write(' """%s: %s\n'%(ascii(name), ascii(desc)) 1177 def ascii(str): function [all...] |
/external/skia/samplecode/ |
SampleAll.cpp | 140 char ascii[] = "ascii..."; local 141 int asciiLength = sizeof(ascii) - 1; 255 canvas->drawPosText(ascii, asciiLength, pos.begin(), paint); 256 canvas->drawPosText(ascii, asciiLength, pos2.begin(), paint);
|
/external/skqp/samplecode/ |
SampleAll.cpp | 140 char ascii[] = "ascii..."; local 141 int asciiLength = sizeof(ascii) - 1; 255 canvas->drawPosText(ascii, asciiLength, pos.begin(), paint); 256 canvas->drawPosText(ascii, asciiLength, pos2.begin(), paint);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/ |
gensuitemodule.py | 487 fp.write("Package generated from %s\n"%ascii(fname)) 489 fp.write("Resource %s resid %d %s\n"%(ascii(resinfo[1]), resinfo[0], ascii(resinfo[2]))) 498 fp.write(" '%s' : %s,\n"%(ascii(code), modname)) 502 fp.write(" '%s' : ('%s.%s', '%s'),\n"%(ascii(code), packagename, modname, modname)) 652 fp.write('"""Suite %s: %s\n' % (ascii(name), ascii(desc))) 654 fp.write("Generated from %s\n"%ascii(fname)) 743 fp.write(' """%s: %s\n'%(ascii(name), ascii(desc)) 1177 def ascii(str): function [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
gensuitemodule.py | 487 fp.write("Package generated from %s\n"%ascii(fname)) 489 fp.write("Resource %s resid %d %s\n"%(ascii(resinfo[1]), resinfo[0], ascii(resinfo[2]))) 498 fp.write(" '%s' : %s,\n"%(ascii(code), modname)) 502 fp.write(" '%s' : ('%s.%s', '%s'),\n"%(ascii(code), packagename, modname, modname)) 652 fp.write('"""Suite %s: %s\n' % (ascii(name), ascii(desc))) 654 fp.write("Generated from %s\n"%ascii(fname)) 743 fp.write(' """%s: %s\n'%(ascii(name), ascii(desc)) 1177 def ascii(str): function [all...] |
/external/dng_sdk/source/ |
dng_string.cpp | 783 // Fallback logic to force the string to ASCII. 818 // Fallback logic that just grabs the ASCII characters and 819 // ignores the non-ASCII characters. 900 // Fallback to the ASCII extraction logic. 1960 const char *ascii; member in struct:UnicodeToLowASCIIEntry 2097 const char *ascii = NULL; local [all...] |
/external/guava/guava-tests/test/com/google/common/hash/ |
HashTestUtils.java | 44 * Converts a string, which should contain only ascii-representable characters, to a byte[]. 46 static byte[] ascii(String string) { method in class:HashTestUtils
|
/external/icu/icu4c/source/test/cintltst/ |
bocu1tst.c | 59 * C0 control codes and space are encoded with their US-ASCII bytes. 63 /* initial value for "prev": middle of the ASCII range */ 135 * ASCII-oriented software. 935 static const UChar ascii[]={ 0x61, 0x62, 0x20, 0x63, 0x61 }; variable 955 { ascii, UPRV_LENGTHOF(ascii) },
|
/external/icu/icu4c/source/test/intltest/ |
testidna.cpp | 244 const char *ascii; member in struct:ErrorCases 318 /* wrong ACE-prefix followed by valid ACE-encoded ASCII */ [all...] |
/external/libnl/lib/ |
msg.c | 766 char ascii[21] = {0}; local 776 ascii[a++] = isprint(v) ? v : '.'; 779 fprintf(ofd, "%s\n", ascii); 785 memset(ascii, 0, sizeof(ascii)); 792 fprintf(ofd, "%s\n", ascii);
|
/external/python/cpython3/Include/ |
unicodeobject.h | 123 whitespace in most situations is solely ASCII whitespace, we 197 /* ASCII-only strings created through PyUnicode_New use the PyASCIIObject 198 structure. state.ascii and state.compact are set, and the data 204 - compact ascii: 210 * ascii = 1 214 * (since ASCII is decoded from UTF-8, the utf8 string are the data) 224 * ascii = 0 241 * ascii = 0 258 * utf8 is shared and utf8_length = length with data.any if ascii = 1 299 * if ascii is set, all characters are in the range U+0000-U+007 324 unsigned int ascii:1; member in struct:__anon33193::__anon33194 [all...] |
/external/python/cpython3/Python/ |
traceback.c | 571 PyASCIIObject *ascii = (PyASCIIObject *)text; local 582 size = ascii->length; 583 kind = ascii->state.kind; 590 else if (ascii->state.compact) { 591 if (ascii->state.ascii) 616 /* printable ASCII character */
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
TestIDNA.java | 347 doTestToASCII(new String(errCase.unicode),errCase.ascii,IDNA.DEFAULT,errCase.expected); 348 doTestToASCII(new String(errCase.unicode),errCase.ascii,IDNA.ALLOW_UNASSIGNED,errCase.expected); 350 doTestToASCII(new String(errCase.unicode),errCase.ascii,IDNA.USE_STD3_RULES,errCase.expected); 356 doTestIDNToASCII(new String(errCase.unicode),errCase.ascii,IDNA.DEFAULT,errCase.expected); 357 doTestIDNToASCII(new String(errCase.unicode),errCase.ascii,IDNA.ALLOW_UNASSIGNED,errCase.expected); 360 doTestIDNToASCII(new String(errCase.unicode),errCase.ascii,IDNA.USE_STD3_RULES,errCase.expected); 366 doTestIDNToUnicode(errCase.ascii,new String(errCase.unicode),IDNA.DEFAULT,errCase.expected); 367 doTestIDNToUnicode(errCase.ascii,new String(errCase.unicode),IDNA.ALLOW_UNASSIGNED,errCase.expected); 370 doTestIDNToUnicode(errCase.ascii,new String(errCase.unicode),IDNA.USE_STD3_RULES,errCase.expected); 735 String ascii = IDNA.convertToASCII(in[i],IDNA.DEFAULT).toString(); local 756 String ascii = IDNA.convertToASCII(in[i],IDNA.DEFAULT).toString(); local 779 String ascii = IDNA.convertToASCII("\\u00AD",IDNA.DEFAULT).toString(); local [all...] |