/external/pdfium/third_party/libopenjpeg20/ |
H A D | raw.c | 52 opj_raw_t *raw = (opj_raw_t*)opj_malloc(sizeof(opj_raw_t)); local 53 return raw; 56 void opj_raw_destroy(opj_raw_t *raw) { argument 57 if(raw) { 58 opj_free(raw); 62 OPJ_UINT32 opj_raw_numbytes(opj_raw_t *raw) { argument 63 const ptrdiff_t diff = raw->bp - raw->start; 68 void opj_raw_init_dec(opj_raw_t *raw, OPJ_BYTE *bp, OPJ_UINT32 len) { argument 69 raw 76 opj_raw_decode(opj_raw_t *raw) argument [all...] |
H A D | raw.h | 39 @file raw.h 40 @brief Implementation of operations for raw encoding (RAW) 42 The functions in RAW.C have for goal to realize the operation of raw encoding linked 46 /** @defgroup RAW RAW - Implementation of operations for raw encoding */ 79 @param raw RAW handle to destroy 81 void opj_raw_destroy(opj_raw_t *raw); 84 @param raw RAW handle to destroy 87 OPJ_UINT32 opj_raw_numbytes(opj_raw_t *raw); 90 @param raw RAW handle 94 void opj_raw_init_dec(opj_raw_t *raw, OPJ_BYT [all...] |
/external/vboot_reference/firmware/lib/ |
H A D | vboot_nvstorage.c | 63 uint8_t *raw = context->raw; local 70 if ((HEADER_SIGNATURE != (raw[HEADER_OFFSET] & HEADER_MASK)) 71 || (Crc8(raw, CRC_OFFSET) != raw[CRC_OFFSET])) { 73 Memset(raw, 0, VBNV_BLOCK_SIZE); 74 raw[HEADER_OFFSET] = (HEADER_SIGNATURE | 88 context->raw[CRC_OFFSET] = Crc8(context->raw, CRC_OFFSET); 98 const uint8_t *raw local 201 uint8_t *raw = context->raw; local [all...] |
H A D | mocked_rollback_index.c | 74 uint32_t RollbackBackupRead(uint8_t *raw) argument 76 Memcpy(raw, rollback_backup, BACKUP_NV_SIZE); 80 uint32_t RollbackBackupWrite(uint8_t *raw) argument 82 Memcpy(rollback_backup, raw, BACKUP_NV_SIZE);
|
/external/chromium-trace/catapult/devil/devil/utils/ |
H A D | markdown_test.py | 21 raw = 'foo' 22 self.assertEquals('**foo**', markdown.md_bold(raw)) 25 raw = '*foo*' 26 self.assertEquals('**\\*foo\\***', markdown.md_bold(raw)) 29 raw = textwrap.dedent("""\ 41 actual = markdown.md_code(raw, language='python') 45 raw = textwrap.dedent("""\ 65 actual = markdown.md_code(raw, language=None) 69 raw = 'text_with_underscores *and stars*' 71 actual = markdown.md_escape(raw) [all...] |
/external/clang/bindings/python/tests/cindex/ |
H A D | test_comment.py | 23 raw = test1.raw_comment 25 assert raw == """/// Aaa.""" 29 raw = test2.raw_comment 31 assert raw == """/// Bbb.\n/// x""" 35 raw = f.raw_comment 37 assert raw is None
|
/external/libcxx/test/support/test.support/ |
H A D | test_demangle.pass.cpp | 20 const char* raw; member in struct:__anon10411 29 const char* raw = TestCases[i].raw; local 32 assert(demangle(raw) == raw); 35 assert(demangle(raw) == expect);
|
/external/google-breakpad/src/processor/ |
H A D | fast_source_line_resolver_types.h | 58 const char *raw = reinterpret_cast<const char*>(line_ptr); local 59 CopyFrom(raw); 63 void CopyFrom(const char *raw) { argument 64 address = *(reinterpret_cast<const MemAddr*>(raw)); 65 size = *(reinterpret_cast<const MemAddr*>(raw + sizeof(address))); 67 raw + 2 * sizeof(address))); 69 raw + 2 * sizeof(address) + sizeof(source_file_id))); 76 const char *raw = reinterpret_cast<const char*>(func_ptr); local 77 CopyFrom(raw); 81 void CopyFrom(const char *raw) { argument 99 const char *raw = reinterpret_cast<const char*>(public_symbol_ptr); local 104 CopyFrom(const char *raw) argument [all...] |
/external/vixl/src/aarch64/ |
H A D | cpu-aarch64.h | 56 uint64_t raw = (uint64_t)pointer; local 57 VIXL_STATIC_ASSERT(sizeof(pointer) == sizeof(raw)); 59 raw = (raw & ~kAddressTagMask) | (tag << kAddressTagOffset); 60 return (T)raw; 68 uint64_t raw = (uint64_t)pointer; local 69 VIXL_STATIC_ASSERT(sizeof(pointer) == sizeof(raw)); 71 return (raw & kAddressTagMask) >> kAddressTagOffset;
|
/external/toybox/scripts/ |
H A D | minicom.sh | 15 stty raw -echo -ctlecho -F "$1" 16 stty raw -echo # Need to do it on stdin, too.
|
/external/python/cpython2/Modules/_ctypes/libffi/src/ |
H A D | raw_api.c | 27 /* This file defines generic functions for use with the raw api. */ 57 ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args) argument 70 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 1); 75 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 2); 81 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 4); 87 *args = (raw++)->ptr; 92 *args = (void*) &(raw++)->ptr; 96 *args = raw; 97 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; 111 *args = (raw 129 ffi_ptrarray_to_raw(ffi_cif *cif, void **args, ffi_raw *raw) argument 191 ffi_raw_call(ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_raw *raw) argument 204 ffi_raw *raw = (ffi_raw*)alloca (ffi_raw_size (cif)); local [all...] |
H A D | java_raw_api.c | 32 /* This defines a Java- and 64-bit specific variant of the raw API. */ 33 /* It assumes that "raw" argument blocks look like Java stacks on a */ 73 ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) argument 86 *args = (void*) ((char*)(raw++) + 3); 91 *args = (void*) ((char*)(raw++) + 2); 98 *args = (void *)raw; 99 raw += 2; 104 *args = (void*) &(raw++)->ptr; 108 *args = raw; 109 raw 147 ffi_java_ptrarray_to_raw(ffi_cif *cif, void **args, ffi_java_raw *raw) argument 295 ffi_java_raw_call(ffi_cif *cif, void (*fn)(void), void *rvalue, ffi_java_raw *raw) argument 310 ffi_java_raw *raw = (ffi_java_raw*)alloca (ffi_java_raw_size (cif)); local [all...] |
/external/selinux/mcstrans/share/util/ |
H A D | mlstrans-test | 11 (rc, raw) = selinux_trans_to_raw_context(trans) 12 if raw != val: 13 print "untrans: '%s' -> '%s' != '%s' FAILED" % (trans, raw, val) 17 print "untrans: %s -> %s != %s SUCCESS" % (trans, raw, val) 20 def trans(raw, val): 22 (rc, trans) = selinux_raw_to_trans_context(raw) 24 print "trans: '%s' -> '%s' != '%s' FAILED" % (raw, trans, val) 28 print "trans: %s -> %s != %s SUCCESS" % (raw, trans, val)
|
/external/syslinux/gpxe/src/include/gpxe/ |
H A D | base64.h | 24 extern void base64_encode ( const char *raw, char *encoded );
|
/external/v8/tools/turbolizer/ |
H A D | monkey.js | 24 Math.alignUp = function(raw, multiple) { 25 return Math.floor((raw + multiple - 1) / multiple) * multiple;
|
/external/syslinux/gpxe/src/core/ |
H A D | base64.c | 38 * @v raw Raw string 44 * char buf[ base64_encoded_len ( strlen ( raw ) ) + 1 ]; 49 void base64_encode ( const char *raw, char *encoded ) { argument 50 const uint8_t *raw_bytes = ( ( const uint8_t * ) raw ); 52 size_t raw_bit_len = ( 8 * strlen ( raw ) ); 66 DBG ( "Base64-encoded \"%s\" as \"%s\"\n", raw, encoded ); 67 assert ( strlen ( encoded ) == base64_encoded_len ( strlen ( raw ) ) );
|
/external/apache-http/src/org/apache/commons/codec/binary/ |
H A D | BinaryCodec.java | 78 * Converts an array of raw binary data into an array of ascii 0 and 1 characters. 80 * @param raw 81 * the raw binary data to convert 85 public byte[] encode(byte[] raw) { argument 86 return toAsciiBytes(raw); 90 * Converts an array of raw binary data into an array of ascii 0 and 1 chars. 92 * @param raw 93 * the raw binary data to convert 99 public Object encode(Object raw) throws EncoderException { argument 100 if (!(raw instanceo 227 toAsciiBytes(byte[] raw) argument 257 toAsciiChars(byte[] raw) argument 287 toAsciiString(byte[] raw) argument [all...] |
/external/eigen/test/ |
H A D | basicstuff.cpp | 197 Scalar raw[4]; local 199 raw[k] = internal::random<Scalar>(); 202 Matrix<Scalar,4,1> m(raw); 203 Array<Scalar,4,1> a(raw); 204 for(int k=0; k<4; ++k) VERIFY(m(k) == raw[k]); 205 for(int k=0; k<4; ++k) VERIFY(a(k) == raw[k]); 206 VERIFY_IS_EQUAL(m,(Matrix<Scalar,4,1>(raw[0],raw[1],raw[2],raw[ [all...] |
/external/libpng/contrib/pngminus/ |
H A D | png2pnm.sh | 23 ./png2pnm -raw ../pngsuite/basn0g01.png rawn0g01.pgm 24 ./png2pnm -raw ../pngsuite/basn0g02.png rawn0g02.pgm 25 ./png2pnm -raw ../pngsuite/basn0g04.png rawn0g04.pgm 26 ./png2pnm -raw ../pngsuite/basn0g08.png rawn0g08.pgm 27 ./png2pnm -raw ../pngsuite/basn0g16.png rawn0g16.pgm 29 ./png2pnm -raw ../pngsuite/basn2c08.png rawn2c08.ppm 30 ./png2pnm -raw ../pngsuite/basn2c16.png rawn2c16.ppm 32 ./png2pnm -raw ../pngsuite/basn3p01.png rawn3p01.ppm 33 ./png2pnm -raw ../pngsuite/basn3p02.png rawn3p02.ppm 34 ./png2pnm -raw [all...] |
/external/python/cpython2/Lib/ctypes/test/ |
H A D | test_strings.py | 12 self.assertEqual(buf.raw, "abc\000") 16 self.assertEqual(buf.raw, "ABCD") 20 self.assertEqual(buf.raw, "x\000CD") 24 self.assertEqual(buf.raw, "xZCD") 37 self.assertRaises(ValueError, setattr, buf, "raw", memoryview("x" * 100)) 42 buf.raw = memoryview("Hello, World") 45 self.assertRaises(ValueError, setattr, buf, "raw", memoryview("x" * 100)) 94 # The raw property is the total buffer contents: 95 self.assertEqual(cs.raw, "abcdef\000") 96 self.assertEqual(c_string("abc\000def").raw, "ab [all...] |
/external/pdfium/core/fpdfapi/font/ |
H A D | ttgsubtable.cpp | 239 void CFX_CTTGSUBTable::ParseScriptList(FT_Bytes raw, TScriptList* rec) { argument 240 FT_Bytes sp = raw; 244 ParseScript(&raw[GetUInt16(sp)], &scriptRec.Script); 248 void CFX_CTTGSUBTable::ParseScript(FT_Bytes raw, TScript* rec) { argument 249 FT_Bytes sp = raw; 254 ParseLangSys(&raw[GetUInt16(sp)], &sysRecord.LangSys); 258 void CFX_CTTGSUBTable::ParseLangSys(FT_Bytes raw, TLangSys* rec) { argument 259 FT_Bytes sp = raw; 267 void CFX_CTTGSUBTable::ParseFeatureList(FT_Bytes raw, TFeatureList* rec) { argument 268 FT_Bytes sp = raw; 276 ParseFeature(FT_Bytes raw, TFeature* rec) argument 284 ParseLookupList(FT_Bytes raw, TLookupList* rec) argument 291 ParseLookup(FT_Bytes raw, TLookup* rec) argument 303 ParseCoverage( FT_Bytes raw) argument 318 ParseCoverageFormat1(FT_Bytes raw, TCoverageFormat1* rec) argument 327 ParseCoverageFormat2(FT_Bytes raw, TCoverageFormat2* rec) argument 339 ParseSingleSubst(FT_Bytes raw, std::unique_ptr<TSubTableBase>* rec) argument 357 ParseSingleSubstFormat1(FT_Bytes raw, TSingleSubstFormat1* rec) argument 366 ParseSingleSubstFormat2(FT_Bytes raw, TSingleSubstFormat2* rec) argument [all...] |
/external/deqp/framework/referencerenderer/ |
H A D | rrMultisamplePixelBufferAccess.cpp | 76 : m_access(msAccess.raw()) 107 return MultisamplePixelBufferAccess::fromMultisampleAccess(tcu::getSubregion(access.raw(), 0, x, y, access.getNumSamples(), width, height)); 112 return MultisampleConstPixelBufferAccess::fromMultisampleAccess(tcu::getSubregion(access.raw(), 0, x, y, access.getNumSamples(), width, height)); 117 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); 118 DE_ASSERT(dst.getHeight() == src.raw().getDepth()); 133 for (int s = 0; s < src.raw().getWidth(); s++) 134 sum += src.raw().getPixel(s, x, y); 143 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); 144 DE_ASSERT(dst.getHeight() == src.raw().getDepth()); 146 const tcu::ConstPixelBufferAccess effectiveSrc = tcu::getEffectiveDepthStencilAccess(src.raw(), tc [all...] |
/external/libvpx/libvpx/vpx_ports/ |
H A D | mem_ops_aligned.h | 30 #define swap_endian_16(val, raw) \ 32 val = (uint16_t)(((raw >> 8) & 0x00ff) | ((raw << 8) & 0xff00)); \ 34 #define swap_endian_32(val, raw) \ 36 val = ((raw >> 24) & 0x000000ff) | ((raw >> 8) & 0x0000ff00) | \ 37 ((raw << 8) & 0x00ff0000) | ((raw << 24) & 0xff000000); \ 39 #define swap_endian_16_se(val, raw) \ 41 swap_endian_16(val, raw); \ [all...] |
/external/libnl/src/ |
H A D | nl-classid-lookup.c | 23 " --raw Print the raw classid, not pretty printed.\n" 37 int err, reverse = 0, raw = 0; local 48 { "raw", 0, 0, ARG_RAW }, 60 case ARG_RAW: raw = 1; break; 81 } else if (raw)
|
/external/xmlrpcpp/test/ |
H A D | TestXml.cpp | 28 std::string raw("<>&'\"");
29 assert(XmlRpcUtil::xmlDecode(XmlRpcUtil::xmlEncode(raw)) == raw);
36 std::cout << "\nEnter line of raw text to encode:\n";
|