Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 1705) sorted by relevance

12345678910>>...69

/external/vboot_reference/firmware/lib/
Dvboot_nvstorage.c63 uint8_t *raw = context->raw; in VbNvSetup() local
70 if ((HEADER_SIGNATURE != (raw[HEADER_OFFSET] & HEADER_MASK)) in VbNvSetup()
71 || (Crc8(raw, CRC_OFFSET) != raw[CRC_OFFSET])) { in VbNvSetup()
73 Memset(raw, 0, VBNV_BLOCK_SIZE); in VbNvSetup()
74 raw[HEADER_OFFSET] = (HEADER_SIGNATURE | in VbNvSetup()
88 context->raw[CRC_OFFSET] = Crc8(context->raw, CRC_OFFSET); in VbNvTeardown()
98 const uint8_t *raw = context->raw; in VbNvGet() local
102 *dest = (raw[HEADER_OFFSET] & HEADER_FIRMWARE_SETTINGS_RESET ? in VbNvGet()
107 *dest = (raw[HEADER_OFFSET] & HEADER_KERNEL_SETTINGS_RESET ? in VbNvGet()
112 *dest = (raw[BOOT_OFFSET] & BOOT_DEBUG_RESET_MODE ? 1 : 0); in VbNvGet()
[all …]
/external/eigen/test/
Dbasicstuff.cpp197 Scalar raw[4]; in fixedSizeMatrixConstruction() local
199 raw[k] = internal::random<Scalar>(); in fixedSizeMatrixConstruction()
202 Matrix<Scalar,4,1> m(raw); in fixedSizeMatrixConstruction()
203 Array<Scalar,4,1> a(raw); in fixedSizeMatrixConstruction()
204 for(int k=0; k<4; ++k) VERIFY(m(k) == raw[k]); in fixedSizeMatrixConstruction()
205 for(int k=0; k<4; ++k) VERIFY(a(k) == raw[k]); in fixedSizeMatrixConstruction()
206 VERIFY_IS_EQUAL(m,(Matrix<Scalar,4,1>(raw[0],raw[1],raw[2],raw[3]))); in fixedSizeMatrixConstruction()
207 VERIFY((a==(Array<Scalar,4,1>(raw[0],raw[1],raw[2],raw[3]))).all()); in fixedSizeMatrixConstruction()
210 Matrix<Scalar,3,1> m(raw); in fixedSizeMatrixConstruction()
211 Array<Scalar,3,1> a(raw); in fixedSizeMatrixConstruction()
[all …]
/external/python/cpython3/Modules/_ctypes/libffi/src/
Djava_raw_api.c73 ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) in ffi_java_raw_to_ptrarray() argument
86 *args = (void*) ((char*)(raw++) + 3); in ffi_java_raw_to_ptrarray()
91 *args = (void*) ((char*)(raw++) + 2); in ffi_java_raw_to_ptrarray()
98 *args = (void *)raw; in ffi_java_raw_to_ptrarray()
99 raw += 2; in ffi_java_raw_to_ptrarray()
104 *args = (void*) &(raw++)->ptr; in ffi_java_raw_to_ptrarray()
108 *args = raw; in ffi_java_raw_to_ptrarray()
109 raw += in ffi_java_raw_to_ptrarray()
126 *args = (void*) raw; in ffi_java_raw_to_ptrarray()
127 raw += 2; in ffi_java_raw_to_ptrarray()
[all …]
Draw_api.c57 ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args) in ffi_raw_to_ptrarray() argument
70 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 1); in ffi_raw_to_ptrarray()
75 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 2); in ffi_raw_to_ptrarray()
81 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 4); in ffi_raw_to_ptrarray()
87 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
92 *args = (void*) &(raw++)->ptr; in ffi_raw_to_ptrarray()
96 *args = raw; in ffi_raw_to_ptrarray()
97 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_raw_to_ptrarray()
111 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
116 *args = (void*) raw; in ffi_raw_to_ptrarray()
[all …]
/external/libffi/src/
Djava_raw_api.c76 ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) in ffi_java_raw_to_ptrarray() argument
89 *args = (void*) ((char*)(raw++) + 3); in ffi_java_raw_to_ptrarray()
94 *args = (void*) ((char*)(raw++) + 2); in ffi_java_raw_to_ptrarray()
101 *args = (void *)raw; in ffi_java_raw_to_ptrarray()
102 raw += 2; in ffi_java_raw_to_ptrarray()
107 *args = (void*) &(raw++)->ptr; in ffi_java_raw_to_ptrarray()
115 *args = raw; in ffi_java_raw_to_ptrarray()
116 raw += in ffi_java_raw_to_ptrarray()
133 *args = (void*) raw; in ffi_java_raw_to_ptrarray()
134 raw += 2; in ffi_java_raw_to_ptrarray()
[all …]
Draw_api.c57 ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args) in ffi_raw_to_ptrarray() argument
70 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 1); in ffi_raw_to_ptrarray()
75 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 2); in ffi_raw_to_ptrarray()
81 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 4); in ffi_raw_to_ptrarray()
87 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
92 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
96 *args = (void*) &(raw++)->ptr; in ffi_raw_to_ptrarray()
100 *args = raw; in ffi_raw_to_ptrarray()
101 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_raw_to_ptrarray()
115 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/
Djava_raw_api.c73 ffi_java_raw_to_ptrarray (ffi_cif *cif, ffi_java_raw *raw, void **args) in ffi_java_raw_to_ptrarray() argument
86 *args = (void*) ((char*)(raw++) + 3); in ffi_java_raw_to_ptrarray()
91 *args = (void*) ((char*)(raw++) + 2); in ffi_java_raw_to_ptrarray()
98 *args = (void *)raw; in ffi_java_raw_to_ptrarray()
99 raw += 2; in ffi_java_raw_to_ptrarray()
104 *args = (void*) &(raw++)->ptr; in ffi_java_raw_to_ptrarray()
108 *args = raw; in ffi_java_raw_to_ptrarray()
109 raw += in ffi_java_raw_to_ptrarray()
126 *args = (void*) raw; in ffi_java_raw_to_ptrarray()
127 raw += 2; in ffi_java_raw_to_ptrarray()
[all …]
Draw_api.c57 ffi_raw_to_ptrarray (ffi_cif *cif, ffi_raw *raw, void **args) in ffi_raw_to_ptrarray() argument
70 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 1); in ffi_raw_to_ptrarray()
75 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 2); in ffi_raw_to_ptrarray()
81 *args = (void*) ((char*)(raw++) + FFI_SIZEOF_ARG - 4); in ffi_raw_to_ptrarray()
87 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
92 *args = (void*) &(raw++)->ptr; in ffi_raw_to_ptrarray()
96 *args = raw; in ffi_raw_to_ptrarray()
97 raw += ALIGN ((*tp)->size, FFI_SIZEOF_ARG) / FFI_SIZEOF_ARG; in ffi_raw_to_ptrarray()
111 *args = (raw++)->ptr; in ffi_raw_to_ptrarray()
116 *args = (void*) raw; in ffi_raw_to_ptrarray()
[all …]
/external/chromium-trace/catapult/devil/devil/utils/
Dmarkdown_test.py21 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/google-breakpad/src/processor/
Dfast_source_line_resolver_types.h58 const char *raw = reinterpret_cast<const char*>(line_ptr); in CopyFrom() local
59 CopyFrom(raw); in CopyFrom()
63 void CopyFrom(const char *raw) { in CopyFrom()
64 address = *(reinterpret_cast<const MemAddr*>(raw)); in CopyFrom()
65 size = *(reinterpret_cast<const MemAddr*>(raw + sizeof(address))); in CopyFrom()
67 raw + 2 * sizeof(address))); in CopyFrom()
69 raw + 2 * sizeof(address) + sizeof(source_file_id))); in CopyFrom()
76 const char *raw = reinterpret_cast<const char*>(func_ptr); in CopyFrom() local
77 CopyFrom(raw); in CopyFrom()
81 void CopyFrom(const char *raw) { in CopyFrom()
[all …]
/external/pdfium/core/fpdfapi/font/
Dcfx_cttgsubtable.cpp175 void CFX_CTTGSUBTable::ParseScriptList(FT_Bytes raw) { in ParseScriptList() argument
176 FT_Bytes sp = raw; in ParseScriptList()
180 ParseScript(&raw[GetUInt16(sp)], &scriptRec); in ParseScriptList()
184 void CFX_CTTGSUBTable::ParseScript(FT_Bytes raw, TScriptRecord* rec) { in ParseScript() argument
185 FT_Bytes sp = raw; in ParseScript()
190 ParseLangSys(&raw[GetUInt16(sp)], &sysRecord); in ParseScript()
194 void CFX_CTTGSUBTable::ParseLangSys(FT_Bytes raw, TLangSysRecord* rec) { in ParseLangSys() argument
195 FT_Bytes sp = raw; in ParseLangSys()
203 void CFX_CTTGSUBTable::ParseFeatureList(FT_Bytes raw) { in ParseFeatureList() argument
204 FT_Bytes sp = raw; in ParseFeatureList()
[all …]
/external/apache-http/src/org/apache/commons/codec/binary/
DBinaryCodec.java85 public byte[] encode(byte[] raw) { in encode() argument
86 return toAsciiBytes(raw); in encode()
99 public Object encode(Object raw) throws EncoderException { in encode() argument
100 if (!(raw instanceof byte[])) { in encode()
103 return toAsciiChars((byte[]) raw); in encode()
227 public static byte[] toAsciiBytes(byte[] raw) { in toAsciiBytes() argument
228 if (raw == null || raw.length == 0) { in toAsciiBytes()
232 byte[] l_ascii = new byte[raw.length << 3]; in toAsciiBytes()
237 for (int ii = 0, jj = l_ascii.length - 1; ii < raw.length; ii++, jj -= 8) { in toAsciiBytes()
239 if ((raw[ii] & BITS[bits]) == 0) { in toAsciiBytes()
[all …]
/external/scapy/scapy/contrib/
Dmodbus.uts9 raw(ModbusADURequest()) == b'\x00\x00\x00\x00\x00\x01\xff'
12 raw(ModbusADURequest() / b'\x00\x01\x02') == b'\x00\x00\x00\x00\x00\x04\xff\x00\x01\x02'
45 assert(raw(ModbusPDU02ReadDiscreteInputsResponse()), b'\x02\x01\x00')
47 assert(raw(ModbusPDU02ReadDiscreteInputsResponse(inputStatus=[0x02, 0x01])), b'\x02\x02\x02\x01')
53 raw(ModbusPDU02ReadDiscreteInputsError()) == b'\x82\x01'
78 raw(ModbusPDU01ReadCoilsRequest()) == b'\x01\x00\x00\x00\x01'
80 raw(ModbusPDU01ReadCoilsRequest(startAddr=16, quantity=2)) == b'\x01\x00\x10\x00\x02'
87 raw(ModbusPDU01ReadCoilsResponse()) == b'\x01\x01\x00'
89 raw(ModbusPDU01ReadCoilsResponse(coilStatus=[0x10]*3)) == b'\x01\x03\x10\x10\x10'
96 raw(ModbusPDU01ReadCoilsError()) == b'\x81\x01'
[all …]
Ddiameter.uts15 raw(a1) == b'\x00\x00\x02/@\x00\x00\x0c\x00\x00\x00\x0f'
20 raw(a1b) == raw(a1)
25 raw(a1c) == raw(a1)
30 raw(a2) == b'\x00\x00\x01\x07@\x00\x00)aaa.test.orange.fr;1428128;644587\x00\x00\x00'
35 raw(a3) == b'\x00\x00\x01\x15@\x00\x00\x0c\x00\x00\x00\x01'
40 raw(a4v4) == b'\x00\x00\x03N\xc0\x00\x00\x12\x00\x00(\xaf\x00\x01\xc0\xa8\x00\x01\x00\x00'
44 raw(a4v6) == b'\x00\x00\x03N\xc0\x00\x00\x1e\x00\x00(\xaf\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x…
48 assert raw(a4error) == raw(AVP("CG-Address"))
58 raw(a6) == b'\x00\x00\x01\x02@\x00\x00\x0c\x00\x00\x00\x00'
63 raw(a7) == b'\x00\x00\x02\xbd\xc0\x00\x00\x0e\x00\x00(\xaf\x01\xf1\x00\x00'
[all …]
/external/icu/icu4c/source/i18n/
Dcollationruleparser.cpp291 UnicodeString empty, raw; in parseStarredCharacters() local
292 i = parseString(skipWhiteSpace(i), raw, errorCode); in parseStarredCharacters()
294 if(raw.isEmpty()) { in parseStarredCharacters()
301 while(j < raw.length()) { in parseStarredCharacters()
302 UChar32 c = raw.char32At(j); in parseStarredCharacters()
322 i = parseString(i + 1, raw, errorCode); in parseStarredCharacters()
324 if(raw.isEmpty()) { in parseStarredCharacters()
328 UChar32 c = raw.char32At(0); in parseStarredCharacters()
362 CollationRuleParser::parseTailoringString(int32_t i, UnicodeString &raw, UErrorCode &errorCode) { in parseTailoringString() argument
363 i = parseString(skipWhiteSpace(i), raw, errorCode); in parseTailoringString()
[all …]
/external/libvpx/libvpx/vpx_ports/
Dmem_ops_aligned.h30 #define swap_endian_16(val, raw) \ argument
32 val = (uint16_t)(((raw >> 8) & 0x00ff) | ((raw << 8) & 0xff00)); \
34 #define swap_endian_32(val, raw) \ argument
36 val = ((raw >> 24) & 0x000000ff) | ((raw >> 8) & 0x0000ff00) | \
37 ((raw << 8) & 0x00ff0000) | ((raw << 24) & 0xff000000); \
39 #define swap_endian_16_se(val, raw) \ argument
41 swap_endian_16(val, raw); \
44 #define swap_endian_32_se(val, raw) swap_endian_32(val, raw) argument
64 unsigned MEM_VALUE_T val, raw = *mem; \
65 swap_endian_##sz(val, raw); \
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationRuleParser.java400 private int parseTailoringString(int i, StringBuilder raw) throws ParseException { in parseTailoringString() argument
401 i = parseString(skipWhiteSpace(i), raw); in parseTailoringString()
402 if(raw.length() == 0) { in parseTailoringString()
408 private int parseString(int i, StringBuilder raw) throws ParseException { in parseString() argument
409 raw.setLength(0); in parseString()
416 raw.append((char)0x27); in parseString()
436 raw.append(c); in parseString()
444 raw.appendCodePoint(cp); in parseString()
456 raw.append(c); in parseString()
459 for(int j = 0; j < raw.length();) { in parseString()
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java396 private int parseTailoringString(int i, StringBuilder raw) throws ParseException { in parseTailoringString() argument
397 i = parseString(skipWhiteSpace(i), raw); in parseTailoringString()
398 if(raw.length() == 0) { in parseTailoringString()
404 private int parseString(int i, StringBuilder raw) throws ParseException { in parseString() argument
405 raw.setLength(0); in parseString()
412 raw.append((char)0x27); in parseString()
432 raw.append(c); in parseString()
440 raw.appendCodePoint(cp); in parseString()
452 raw.append(c); in parseString()
455 for(int j = 0; j < raw.length();) { in parseString()
[all …]
/external/valgrind/none/tests/ppc32/
Dtest_isa_2_06_part1.stdout.exp74 fcfids 0010000000000001 => (raw sp) 59800000)
75 fcfids 00100094e0000359 => (raw sp) 598004a7)
76 fcfids 3fe0000000000001 => (raw sp) 5e7f8000)
77 fcfids 3fe00094e0000359 => (raw sp) 5e7f8002)
78 fcfids 8010000000000001 => (raw sp) deffe000)
79 fcfids 80100094e0000359 => (raw sp) deffdfff)
80 fcfids bfe0000000000001 => (raw sp) de804000)
81 fcfids bfe00094e0000359 => (raw sp) de803fff)
82 fcfids 0020000000000b01 => (raw sp) 5a000000)
83 fcfids 00000000203f0b3d => (raw sp) 4e00fc2d)
[all …]
/external/valgrind/none/tests/ppc64/
Dtest_isa_2_06_part1.stdout.exp82 fcfids 0010000000000001 => (raw sp) 59800000)
83 fcfids 00100094e0000359 => (raw sp) 598004a7)
84 fcfids 3fe0000000000001 => (raw sp) 5e7f8000)
85 fcfids 3fe00094e0000359 => (raw sp) 5e7f8002)
86 fcfids 8010000000000001 => (raw sp) deffe000)
87 fcfids 80100094e0000359 => (raw sp) deffdfff)
88 fcfids bfe0000000000001 => (raw sp) de804000)
89 fcfids bfe00094e0000359 => (raw sp) de803fff)
90 fcfids 0020000000000b01 => (raw sp) 5a000000)
91 fcfids 00000000203f0b3d => (raw sp) 4e00fc2d)
[all …]
/external/python/cpython2/Lib/ctypes/test/
Dtest_strings.py12 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")
42 buf.raw = memoryview("Hello, World")
95 self.assertEqual(cs.raw, "abcdef\000")
96 self.assertEqual(c_string("abc\000def").raw, "abc\000def\000")
101 self.assertEqual(cs.raw, "ab\000\000\000\000\000")
103 cs.raw = "XY"
105 self.assertEqual(cs.raw, "XY\000\000\000\000\000")
[all …]
/external/python/cpython3/Lib/ctypes/test/
Dtest_strings.py11 self.assertEqual(buf.raw, b"abc\000")
15 self.assertEqual(buf.raw, b"ABCD")
19 self.assertEqual(buf.raw, b"x\000CD")
23 self.assertEqual(buf.raw, b"xZCD")
41 buf.raw = memoryview(b"Hello, World")
95 self.assertEqual(cs.raw, "abcdef\000")
96 self.assertEqual(c_string("abc\000def").raw, "abc\000def\000")
101 self.assertEqual(cs.raw, "ab\000\000\000\000\000")
103 cs.raw = "XY"
105 self.assertEqual(cs.raw, "XY\000\000\000\000\000")
[all …]
/external/curl/tests/libtest/
Dlib1537.c34 char *raw; in test() local
57 raw = curl_easy_unescape(NULL, ptr, (int)strlen(ptr), &outlen); in test()
60 memcmp(raw, a, outlen) ? "no" : "YES"); in test()
61 if(raw) in test()
62 curl_free(raw); in test()
65 raw = curl_unescape(ptr, (int)strlen(ptr)); in test()
66 if(!raw) { in test()
70 outlen = (int)strlen(raw); in test()
73 memcmp(raw, a, outlen) ? "no" : "YES"); in test()
74 if(raw) in test()
[all …]
/external/selinux/mcstrans/src/
Dmcstrans.c53 char *raw; member
178 parse_category(ebitmap_t *e, const char *raw, int allowinverse) in parse_category() argument
182 while (*raw) { in parse_category()
183 if (allowinverse && *raw == '~') { in parse_category()
185 raw++; in parse_category()
188 if (sscanf(raw,"c%u", &low) != 1) in parse_category()
190 raw += numdigits(low) + 1; in parse_category()
191 if (*raw == '.') { in parse_category()
192 raw++; in parse_category()
193 if (sscanf(raw,"c%u", &high) != 1) in parse_category()
[all …]
/external/libpng/contrib/pngminus/
Dpng2pnm.sh23 ./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 ../pngsuite/basn3p04.png rawn3p04.ppm
[all …]

12345678910>>...69