/external/tensorflow/tensorflow/python/util/ |
compat.py | 49 def as_bytes(bytes_or_text, encoding='utf-8'): 50 """Converts either bytes or unicode to `bytes`, using utf-8 encoding for text. 54 encoding: A string indicating the charset for encoding unicode. 63 return bytes_or_text.encode(encoding) 72 def as_text(bytes_or_text, encoding='utf-8'): 77 encoding: A string indicating the charset for decoding unicode. 88 return bytes_or_text.decode(encoding)
|
/libcore/luni/src/main/java/org/w3c/dom/ls/ |
LSOutput.java | 19 * stream (possibly with a specified encoding), a base URI, and/or a 88 * The character encoding to use for the output. The encoding must be a 89 * string acceptable for an XML encoding declaration ([<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>] section 90 * 4.3.3 "Character Encoding in Entities"), it is recommended that 97 * The character encoding to use for the output. The encoding must be a 98 * string acceptable for an XML encoding declaration ([<a href='http://www.w3.org/TR/2004/REC-xml-20040204'>XML 1.0</a>] section 99 * 4.3.3 "Character Encoding in Entities"), it is recommended that 104 public void setEncoding(String encoding); [all...] |
/prebuilts/clang/host/darwin-x86/clang-4579689/share/clang/ |
clang-format.py | 52 def get_buffer(encoding): 55 return [ line.decode(encoding) for line in vim.current.buffer ] 59 encoding = vim.eval("&encoding") 60 buf = get_buffer(encoding) 104 stdout, stderr = p.communicate(input=text.encode(encoding)) 116 lines = stdout.decode(encoding).split('\n')
|
/prebuilts/clang/host/darwin-x86/clang-4630689/share/clang/ |
clang-format.py | 52 def get_buffer(encoding): 55 return [ line.decode(encoding) for line in vim.current.buffer ] 59 encoding = vim.eval("&encoding") 60 buf = get_buffer(encoding) 104 stdout, stderr = p.communicate(input=text.encode(encoding)) 116 lines = stdout.decode(encoding).split('\n')
|
/prebuilts/clang/host/darwin-x86/clang-4639204/share/clang/ |
clang-format.py | 52 def get_buffer(encoding): 55 return [ line.decode(encoding) for line in vim.current.buffer ] 59 encoding = vim.eval("&encoding") 60 buf = get_buffer(encoding) 104 stdout, stderr = p.communicate(input=text.encode(encoding)) 116 lines = stdout.decode(encoding).split('\n')
|
/prebuilts/clang/host/darwin-x86/clang-4691093/share/clang/ |
clang-format.py | 52 def get_buffer(encoding): 55 return [ line.decode(encoding) for line in vim.current.buffer ] 59 encoding = vim.eval("&encoding") 60 buf = get_buffer(encoding) 104 stdout, stderr = p.communicate(input=text.encode(encoding)) 116 lines = stdout.decode(encoding).split('\n')
|
/prebuilts/clang/host/linux-x86/clang-4579689/share/clang/ |
clang-format.py | 52 def get_buffer(encoding): 55 return [ line.decode(encoding) for line in vim.current.buffer ] 59 encoding = vim.eval("&encoding") 60 buf = get_buffer(encoding) 104 stdout, stderr = p.communicate(input=text.encode(encoding)) 116 lines = stdout.decode(encoding).split('\n')
|
/prebuilts/clang/host/linux-x86/clang-4630689/share/clang/ |
clang-format.py | 52 def get_buffer(encoding): 55 return [ line.decode(encoding) for line in vim.current.buffer ] 59 encoding = vim.eval("&encoding") 60 buf = get_buffer(encoding) 104 stdout, stderr = p.communicate(input=text.encode(encoding)) 116 lines = stdout.decode(encoding).split('\n')
|
/prebuilts/clang/host/linux-x86/clang-4639204/share/clang/ |
clang-format.py | 52 def get_buffer(encoding): 55 return [ line.decode(encoding) for line in vim.current.buffer ] 59 encoding = vim.eval("&encoding") 60 buf = get_buffer(encoding) 104 stdout, stderr = p.communicate(input=text.encode(encoding)) 116 lines = stdout.decode(encoding).split('\n')
|
/prebuilts/clang/host/linux-x86/clang-4691093/share/clang/ |
clang-format.py | 52 def get_buffer(encoding): 55 return [ line.decode(encoding) for line in vim.current.buffer ] 59 encoding = vim.eval("&encoding") 60 buf = get_buffer(encoding) 104 stdout, stderr = p.communicate(input=text.encode(encoding)) 116 lines = stdout.decode(encoding).split('\n')
|
/prebuilts/gdb/darwin-x86/lib/python2.7/json/ |
scanner.py | 20 encoding = context.encoding 35 return parse_string(string, idx + 1, encoding, strict) 37 return parse_object((string, idx + 1), encoding, strict,
|
/prebuilts/gdb/linux-x86/lib/python2.7/json/ |
scanner.py | 20 encoding = context.encoding 35 return parse_string(string, idx + 1, encoding, strict) 37 return parse_object((string, idx + 1), encoding, strict,
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/json/ |
scanner.py | 20 encoding = context.encoding 35 return parse_string(string, idx + 1, encoding, strict) 37 return parse_object((string, idx + 1), encoding, strict,
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/json/ |
scanner.py | 20 encoding = context.encoding 35 return parse_string(string, idx + 1, encoding, strict) 37 return parse_object((string, idx + 1), encoding, strict,
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-aarch64/ |
limit-b.s | 1 # Test maximum encoding range of b
|
limit-bl.s | 1 # Test maximum encoding range of bl
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/LzmaCompress/Sdk/C/ |
Bra86.c | 10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding)
54 if (encoding)
64 if (encoding)
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
Bra86.c | 10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding)
54 if (encoding)
64 if (encoding)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Library/LzmaCustomDecompressLib/Sdk/C/ |
Bra86.c | 10 SizeT x86_Convert(Byte *data, SizeT size, UInt32 ip, UInt32 *state, int encoding)
54 if (encoding)
64 if (encoding)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
ASN1Object.java | 15 * Return the default BER or DER encoding for this object. 18 * @throws java.io.IOException on encoding error. 32 * Return either the default for "BER" or a DER encoding if "DER" is specified. 34 * @param encoding name of encoding to use. 36 * @throws IOException on encoding error. 39 String encoding) 42 if (encoding.equals(ASN1Encoding.DER)) 51 else if (encoding.equals(ASN1Encoding.DL)) 101 * @return true if obj is a byte encoding starting with the given tag value, false otherwise [all...] |
/external/elfutils/backends/ |
i386_retval.c | 107 Dwarf_Word encoding; local 110 &encoding) != 0) 112 if (encoding == DW_ATE_float)
|
sh_retval.c | 110 Dwarf_Word encoding; local 114 &encoding) != 0) 116 if (encoding == DW_ATE_float)
|
/external/freetype/src/base/ |
ftbdf.c | 34 const char* encoding = NULL; local 46 error = service->get_charset_id( face, &encoding, ®istry ); 51 *acharset_encoding = encoding;
|
/external/google-breakpad/src/common/dwarf/ |
bytereader.h | 209 // four axes(!) to the encoding: 212 // the DWARF LEB128 encoding. 252 // pointers. (This encoding does not seem to be used by the GNU 257 // a DW_EH_PE_funcrel encoding is an error. 260 // Return true if ENCODING is a valid pointer encoding. 261 bool ValidEncoding(DwarfPointerEncoding encoding) const; 264 // pointer that uses ENCODING. This checks that the appropriate 265 // SetFooBase function for ENCODING has been called. 266 bool UsableEncoding(DwarfPointerEncoding encoding) const [all...] |
/external/llvm/test/MC/MachO/ARM/ |
relax-thumb2-branches.s | 1 @ RUN: llvm-mc -triple=thumbv7-apple-darwin -show-encoding %s -filetype=obj -o - | llvm-readobj -s -sd | FileCheck %s 3 ble Lfoo @ wide encoding 9 ble Lbaz @ narrow encoding
|