/external/guava/guava-tests/test/com/google/common/base/ |
AsciiTest.java | 25 * Unit test for {@link Ascii}. 42 assertEquals(LOWER, Ascii.toLowerCase(UPPER)); 43 assertSame(LOWER, Ascii.toLowerCase(LOWER)); 44 assertEquals(IGNORED, Ascii.toLowerCase(IGNORED)); 45 assertEquals("foobar", Ascii.toLowerCase("fOobaR")); 49 assertEquals(UPPER, Ascii.toUpperCase(LOWER)); 50 assertSame(UPPER, Ascii.toUpperCase(UPPER)); 51 assertEquals(IGNORED, Ascii.toUpperCase(IGNORED)); 52 assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr")); 58 assertTrue(str, c == Ascii.toLowerCase(c)) [all...] |
StandardSystemPropertyTest.java | 31 String expected = Ascii.toLowerCase(fieldName).replaceAll("_", ".");
|
/device/linaro/bootloader/edk2/StdLib/PosixLib/GetPass/ |
GetPass.c | 23 BOOLEAN Ascii;
26 Ascii = FALSE;
30 ReturnString = ShellFileHandleReturnLine (gEfiShellParametersProtocol->StdIn, &Ascii);
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ |
boxdraw.c | 23 CHAR8 Ascii; 30 // ASCII. The ASCII mapping we just made up. 106 OUT CHAR8 *Ascii OPTIONAL 120 Asci - Optional pointer to return Ascii equivalent of Graphic. 143 if (Ascii) { 144 *Ascii = Table->Ascii; 154 IN CHAR16 Ascii 157 if ((Ascii >= 0x20) && (Ascii <= 0x7f)) [all...] |
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/ |
Ascii.java | 23 public final class Ascii { 27 return s.getBytes("us-ascii"); 39 return new String(b, "us-ascii");
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Print/ |
BoxDraw.c | 33 CHAR8 Ascii;
40 // ASCII. The ASCII mapping we just made up.
110 OUT CHAR8 *Ascii OPTIONAL
124 Asci - Optional pointer to return Ascii equivalent of Graphic.
148 if (Ascii != NULL) {
149 *Ascii = Table->Ascii;
160 IN CHAR16 Ascii
166 Is it valid ascii char? [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/PrintLite/ |
BoxDraw.c | 33 CHAR8 Ascii;
40 // ASCII. The ASCII mapping we just made up.
110 OUT CHAR8 *Ascii OPTIONAL
124 Asci - Optional pointer to return Ascii equivalent of Graphic.
148 if (Ascii != NULL) {
149 *Ascii = Table->Ascii;
160 IN CHAR16 Ascii
166 Is it valid ascii char? [all...] |
/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/ |
DependentProducerModule.java | 18 import com.google.common.base.Ascii; 32 String.valueOf(numGreetings), greeting, Ascii.toUpperCase(greeting));
|
DependedProducerModule.java | 18 import com.google.common.base.Ascii;
|
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/ |
ShellManParser.h | 68 @param[in] Ascii TRUE if the file is ASCII, FALSE otherwise.
80 IN BOOLEAN Ascii
|
ShellManParser.c | 52 it maps to a valid small-case ASCII character.
55 which maps to a valid small-case ASCII character, i.e.
352 @param[in] Ascii TRUE if the file is ASCII, FALSE otherwise.
364 IN BOOLEAN Ascii
393 Status = ShellFileHandleReadLine(Handle, ReadLine, &Size, TRUE, &Ascii);
700 @param[in, out] Ascii TRUE if the file is ASCII, FALSE otherwise, will be
713 IN OUT BOOLEAN *Ascii
750 Status = ShellFileHandleReadLine(Handle, ReadLine, &Size, TRUE, Ascii);
[all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
DependencyVariableNamer.java | 18 import com.google.common.base.Ascii; 45 ? Ascii.toLowerCase(variableName.charAt(4)) + variableName.substring(5) 57 ? Ascii.toLowerCase(variableName.charAt(8)) + variableName.substring(9)
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
AsciiBenchmark.java | 22 import com.google.common.base.Ascii; 32 * Benchmarks for the ASCII class. 77 ? Ascii.toUpperCase(testString) 82 dummy += Ascii.toUpperCase(string).length(); 121 dummy ^= Ascii.equalsIgnoreCase(lhs[i & 0x3], rhs[i & 0x3]); 133 dummy ^= Ascii.equalsIgnoreCase(lhs, rhs); 157 dummy ^= Ascii.isUpperCase(chars[n]); 167 builder.append(Ascii.toUpperCase(chars.charAt(i)));
|
/external/guava/guava/src/com/google/common/base/ |
CaseFormat.java | 29 * Utility class for converting between various ASCII case formats. Behavior is undefined for 30 * non-ASCII input. 42 return Ascii.toLowerCase(word); 49 return Ascii.toUpperCase(s.replace('-', '_')); 60 return Ascii.toLowerCase(word); 67 return Ascii.toUpperCase(s); 96 return Ascii.toUpperCase(word); 100 return Ascii.toLowerCase(s.replace('_', '-')); 103 return Ascii.toLowerCase(s); 206 return (this == LOWER_CAMEL) ? Ascii.toLowerCase(word) : normalizeWord(word) [all...] |
Ascii.java | 28 * Static methods pertaining to ASCII characters (those in the range of values 32 * <p>ASCII utilities also exist in other classes of this package: 35 * <li>{@link Charsets#US_ASCII} specifies the {@code Charset} of ASCII characters. 36 * <li>{@link CharMatcher#ASCII} matches ASCII characters and provides text processing methods 37 * which operate only on the ASCII characters of a string. 45 public final class Ascii { 47 private Ascii() {} 49 /* The ASCII control characters, per RFC 20. */ 233 * Transmission On: Although originally defined as DC1, this ASCII [all...] |
/device/linaro/bootloader/edk2/EmulatorPkg/Library/SmbiosLib/ |
SmbiosLib.c | 217 CHAR8 *Ascii; 228 Ascii = AllocateZeroPool (StrSize (String)); 229 if (Ascii == NULL) { 232 UnicodeStrToAsciiStr (String, Ascii); 235 Status = gSmbios->UpdateString (gSmbios, &SmbiosHandle, &StringIndex, Ascii); 237 FreePool (Ascii);
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/PeiNt32PeCoffExtraActionLib/ |
PeiNt32PeCoffExtraActionLib.c | 81 Convert the passed in Ascii string to Unicode.
83 This function Convert the passed in Ascii string to Unicode.Optionally return
86 @param AsciiString Pointer to an AscII string
89 @return Pointer to malloc'ed Unicode version of Ascii
94 IN CHAR8 *Ascii,
104 for (Index = 0; Ascii[Index] != '\0'; Index++)
114 for (Index = 0; Ascii[Index] != '\0'; Index++) {
115 Unicode[Index] = (CHAR16) Ascii[Index];
171 // Convert filename from ASCII to Unicode
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/ |
EfiPrintLib.h | 39 Print function for a maximum of EFI_DRIVER_LIB_MAX_PRINT_BUFFER ascii
46 Format - Ascii format string see file header for more details.
151 Print function for a maximum of EFI_DRIVER_LIB_MAX_PRINT_BUFFER ascii
156 Format - Ascii format string see file header for more details.
176 Print function for a maximum of EFI_DRIVER_LIB_MAX_PRINT_BUFFER ascii
181 Format - Ascii format string see file header for more details.
280 IN CHAR16 Ascii
290 Ascii - A char
304 OUT CHAR8 *Ascii OPTIONAL
318 Ascii - Optional pointer to return Ascii equivalent of Graphic. [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
PrimitiveName.java | 18 import com.google.common.base.Ascii; 34 return Ascii.toLowerCase(name());
|
/device/linaro/bootloader/edk2/MdePkg/Library/UefiFileHandleLib/ |
UefiFileHandleLib.c | 884 If the position upon start is 0, then the Ascii Boolean will be set. This should be
888 @param[in, out] Ascii Boolean value for indicating whether the file is Ascii (TRUE) or UCS2 (FALSE);
898 IN OUT BOOLEAN *Ascii
908 Status = FileHandleReadLine(Handle, RetVal, &Size, FALSE, Ascii);
911 Status = FileHandleReadLine(Handle, RetVal, &Size, FALSE, Ascii);
924 If the position upon start is 0, then the Ascii Boolean will be set. This should be
938 @param[in, out] Ascii Boolean value for indicating whether the file is
939 Ascii (TRUE) or UCS2 (FALSE).
956 IN OUT BOOLEAN *Ascii
[all...] |
/external/guava/guava-tests/test/com/google/common/net/ |
HttpHeadersTest.java | 19 import com.google.common.base.Ascii; 83 part = part.charAt(0) + Ascii.toLowerCase(part.substring(1));
|
/device/linaro/bootloader/edk2/MdePkg/Include/Library/ |
FileHandleLib.h | 382 If the position upon start is 0, then the Ascii Boolean will be set. This should be
396 @param[in, out] Ascii Boolean value for indicating whether the file is
397 Ascii (TRUE) or UCS2 (FALSE).
414 IN OUT BOOLEAN *Ascii
421 If the position upon start is 0, then the Ascii Boolean will be set. This should be
425 @param[in, out] Ascii Boolean value for indicating whether the file is
426 Ascii (TRUE) or UCS2 (FALSE).
436 IN OUT BOOLEAN *Ascii
444 If the file is an ASCII file then write the ASCII text. [all...] |
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/ |
FileHandleLib.h | 398 If the position upon start is 0, then the Ascii Boolean will be set. This should be
410 @param[in, out] Ascii Boolean value for indicating whether the file is
411 Ascii (TRUE) or UCS2 (FALSE).
428 IN OUT BOOLEAN *Ascii
435 If the position upon start is 0, then the Ascii Boolean will be set. This should be
439 @param[in, out] Ascii Boolean value for indicating whether the file is
440 Ascii (TRUE) or UCS2 (FALSE).
450 IN OUT BOOLEAN *Ascii
|
/device/linaro/bootloader/edk2/Nt32Pkg/Library/DxeNt32PeCoffExtraActionLib/ |
DxeNt32PeCoffExtraActionLib.c | 90 Convert the passed in Ascii string to Unicode.
92 This function Convert the passed in Ascii string to Unicode.Optionally return
95 @param AsciiString Pointer to an AscII string
98 @return Pointer to malloc'ed Unicode version of Ascii
103 IN CHAR8 *Ascii,
113 for (Index = 0; Ascii[Index] != '\0'; Index++)
123 for (Index = 0; Ascii[Index] != '\0'; Index++) {
124 Unicode[Index] = (CHAR16) Ascii[Index];
306 // Convert filename from ASCII to Unicode
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellLevel3CommandsLib/ |
Type.c | 23 If both Ascii and UCS2 are FALSE attempt to discover the file type.
26 @param[in] Ascii TRUE to force ASCII, FALSE othewise.
35 IN BOOLEAN Ascii,
65 if (!(Ascii|UCS2)) {
69 Ascii = TRUE;
73 if (Ascii) {
77 // The valid range of ASCII characters is 0x20-0x7E.
|