Home
last modified time | relevance | path

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

12345678910>>...26

/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/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Draw.c52 opj_raw_t *raw = (opj_raw_t*)opj_malloc(sizeof(opj_raw_t)); in opj_raw_create() local
53 return raw; in opj_raw_create()
56 void opj_raw_destroy(opj_raw_t *raw) { in opj_raw_destroy() argument
57 if(raw) { in opj_raw_destroy()
58 opj_free(raw); in opj_raw_destroy()
62 OPJ_UINT32 opj_raw_numbytes(opj_raw_t *raw) { in opj_raw_numbytes() argument
63 const ptrdiff_t diff = raw->bp - raw->start; in opj_raw_numbytes()
68 void opj_raw_init_dec(opj_raw_t *raw, OPJ_BYTE *bp, OPJ_UINT32 len) { in opj_raw_init_dec() argument
69 raw->start = bp; in opj_raw_init_dec()
70 raw->lenmax = len; in opj_raw_init_dec()
[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/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/icu/icu4c/source/i18n/
Dcollationruleparser.cpp289 UnicodeString empty, raw; in parseStarredCharacters() local
290 i = parseString(skipWhiteSpace(i), raw, errorCode); in parseStarredCharacters()
292 if(raw.isEmpty()) { in parseStarredCharacters()
299 while(j < raw.length()) { in parseStarredCharacters()
300 UChar32 c = raw.char32At(j); in parseStarredCharacters()
320 i = parseString(i + 1, raw, errorCode); in parseStarredCharacters()
322 if(raw.isEmpty()) { in parseStarredCharacters()
326 UChar32 c = raw.char32At(0); in parseStarredCharacters()
360 CollationRuleParser::parseTailoringString(int32_t i, UnicodeString &raw, UErrorCode &errorCode) { in parseTailoringString() argument
361 i = parseString(skipWhiteSpace(i), raw, errorCode); in parseTailoringString()
[all …]
/external/libvpx/libvpx/vpx_ports/
Dmem_ops_aligned.h30 #define swap_endian_16(val,raw) do {\ argument
31 val = ((raw>>8) & 0x00ff) \
32 | ((raw<<8) & 0xff00);\
34 #define swap_endian_32(val,raw) do {\ argument
35 val = ((raw>>24) & 0x000000ff) \
36 | ((raw>>8) & 0x0000ff00) \
37 | ((raw<<8) & 0x00ff0000) \
38 | ((raw<<24) & 0xff000000); \
40 #define swap_endian_16_se(val,raw) do {\ argument
41 swap_endian_16(val,raw);\
[all …]
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationRuleParser.java394 private int parseTailoringString(int i, StringBuilder raw) throws ParseException { in parseTailoringString() argument
395 i = parseString(skipWhiteSpace(i), raw); in parseTailoringString()
396 if(raw.length() == 0) { in parseTailoringString()
402 private int parseString(int i, StringBuilder raw) throws ParseException { in parseString() argument
403 raw.setLength(0); in parseString()
410 raw.append((char)0x27); in parseString()
430 raw.append(c); in parseString()
438 raw.appendCodePoint(cp); in parseString()
450 raw.append(c); in parseString()
453 for(int j = 0; j < raw.length();) { in parseString()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dttgsubtable.cpp212 void CFX_CTTGSUBTable::ParseScriptList(FT_Bytes raw, struct TScriptList *rec) in ParseScriptList() argument
215 FT_Bytes sp = raw; in ParseScriptList()
225 &raw[offset], in ParseScriptList()
229 void CFX_CTTGSUBTable::ParseScript(FT_Bytes raw, struct TScript *rec) in ParseScript() argument
232 FT_Bytes sp = raw; in ParseScript()
243 &raw[offset], in ParseScript()
247 void CFX_CTTGSUBTable::ParseLangSys(FT_Bytes raw, struct TLangSys *rec) in ParseLangSys() argument
249 FT_Bytes sp = raw; in ParseLangSys()
262 void CFX_CTTGSUBTable::ParseFeatureList(FT_Bytes raw, TFeatureList *rec) in ParseFeatureList() argument
265 FT_Bytes sp = raw; in ParseFeatureList()
[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/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/boringssl/src/ssl/test/runner/
Dhandshake_messages.go10 raw []byte member
43 return bytes.Equal(m.raw, m1.raw) &&
72 if m.raw != nil {
73 return m.raw
380 m.raw = x
389 m.raw = data
615 raw []byte member
642 return bytes.Equal(m.raw, m1.raw) &&
665 if m.raw != nil {
666 return m.raw
[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 …]
Dpng2pnm.bat22 png2pnm.exe -raw ..\pngsuite\basn0g01.png rawn0g01.pgm
23 png2pnm.exe -raw ..\pngsuite\basn0g02.png rawn0g02.pgm
24 png2pnm.exe -raw ..\pngsuite\basn0g04.png rawn0g04.pgm
25 png2pnm.exe -raw ..\pngsuite\basn0g08.png rawn0g08.pgm
26 png2pnm.exe -raw ..\pngsuite\basn0g16.png rawn0g16.pgm
28 png2pnm.exe -raw ..\pngsuite\basn2c08.png rawn2c08.ppm
29 png2pnm.exe -raw ..\pngsuite\basn2c16.png rawn2c16.ppm
31 png2pnm.exe -raw ..\pngsuite\basn3p01.png rawn3p01.ppm
32 png2pnm.exe -raw ..\pngsuite\basn3p02.png rawn3p02.ppm
33 png2pnm.exe -raw ..\pngsuite\basn3p04.png rawn3p04.ppm
[all …]
Dpng2pnm.c55 BOOL png2pnm (FILE *png_file, FILE *pnm_file, FILE *alpha_file, BOOL raw,
67 BOOL raw = TRUE; in main() local
78 raw = FALSE; in main()
81 raw = TRUE; in main()
140 if ((raw) && (fp_wr == stdout)) in main()
147 if (png2pnm (fp_rd, fp_wr, fp_al, raw, alpha) == FALSE) in main()
194 volatile BOOL raw, BOOL alpha) in png2pnm() argument
293 raw = FALSE; in png2pnm()
356 fprintf (pnm_file, "%s\n", (raw) ? "P5" : "P2"); in png2pnm()
363 fprintf (pnm_file, "%s\n", (raw) ? "P6" : "P3"); in png2pnm()
[all …]
/external/vixl/src/vixl/a64/
Dcpu-a64.h54 uint64_t raw = (uint64_t)pointer; in SetPointerTag() local
55 VIXL_STATIC_ASSERT(sizeof(pointer) == sizeof(raw)); in SetPointerTag()
57 raw = (raw & ~kAddressTagMask) | (tag << kAddressTagOffset); in SetPointerTag()
58 return (T)raw; in SetPointerTag()
66 uint64_t raw = (uint64_t)pointer; in GetPointerTag() local
67 VIXL_STATIC_ASSERT(sizeof(pointer) == sizeof(raw)); in GetPointerTag()
69 return (raw & kAddressTagMask) >> kAddressTagOffset; in GetPointerTag()
/external/selinux/policycoreutils/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/selinux/policycoreutils/mcstrans/share/util/
Dmlstrans-test8 (rc, raw) = selinux_trans_to_raw_context(trans)
9 if raw != val:
10 print "untrans: '%s' -> '%s' != '%s' FAILED" % (trans, raw, val)
14 print "untrans: %s -> %s != %s SUCCESS" % (trans, raw, val)
16 def trans(raw, val):
18 (rc, trans) = selinux_raw_to_trans_context(raw)
20 print "trans: '%s' -> '%s' != '%s' FAILED" % (raw,trans, val)
24 print "trans: %s -> %s != %s SUCCESS" % (raw, trans, val)
/external/selinux/libselinux/src/
Dsetrans_client.c175 static int raw_to_trans_context(const char *raw, char **transp) in raw_to_trans_context() argument
187 ret = send_request(fd, RAW_TO_TRANS_CONTEXT, raw, NULL); in raw_to_trans_context()
226 static int raw_context_to_color(const char *raw, char **colors) in raw_context_to_color() argument
236 ret = send_request(fd, RAW_CONTEXT_TO_COLOR, raw, NULL); in raw_context_to_color()
326 int selinux_raw_to_trans_context(const char * raw, in hidden_def()
329 if (!raw) { in hidden_def()
338 *transp = strdup(raw); in hidden_def()
342 if (prev_r2t_raw && strcmp(prev_r2t_raw, raw) == 0) { in hidden_def()
349 if (raw_to_trans_context(raw, transp)) in hidden_def()
350 *transp = strdup(raw); in hidden_def()
[all …]
/external/vboot_reference/tests/
Dvboot_nvstorage_test.c60 TEST_EQ(c.raw[0], 0x70, "VbNvSetup() reset header byte"); in VbNvStorageTest()
63 TEST_NEQ(c.raw[15], 0, "VbNvTeardown() CRC"); in VbNvStorageTest()
65 goodcrc = c.raw[15]; in VbNvStorageTest()
70 TEST_EQ(c.raw[15], goodcrc, "VbNvTeardown() CRC same"); in VbNvStorageTest()
73 c.raw[0] ^= 0x40; in VbNvStorageTest()
75 TEST_EQ(c.raw[0], 0x70, "VbNvSetup() reset header byte again"); in VbNvStorageTest()
79 TEST_EQ(c.raw[15], goodcrc, "VbNvTeardown() CRC same again"); in VbNvStorageTest()
82 TEST_EQ(c.raw[11], 0, "Kernel byte starts at 0"); in VbNvStorageTest()
83 c.raw[11] = 12; in VbNvStorageTest()
85 TEST_EQ(c.raw[11], 0, "VbNvSetup() reset kernel byte"); in VbNvStorageTest()
[all …]
/external/deqp/framework/referencerenderer/
DrrMultisamplePixelBufferAccess.cpp76 : m_access(msAccess.raw()) in MultisampleConstPixelBufferAccess()
107 …return MultisamplePixelBufferAccess::fromMultisampleAccess(tcu::getSubregion(access.raw(), 0, x, y… in getSubregion()
112 …return MultisampleConstPixelBufferAccess::fromMultisampleAccess(tcu::getSubregion(access.raw(), 0,… in getSubregion()
117 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); in resolveMultisampleColorBuffer()
118 DE_ASSERT(dst.getHeight() == src.raw().getDepth()); in resolveMultisampleColorBuffer()
133 for (int s = 0; s < src.raw().getWidth(); s++) in resolveMultisampleColorBuffer()
134 sum += src.raw().getPixel(s, x, y); in resolveMultisampleColorBuffer()
145 sum += access.raw().getPixel(s, x, y); in resolveMultisamplePixel()
152 tcu::clear(access.raw(), color); in clear()
157 tcu::clear(access.raw(), color); in clear()
[all …]
/external/e2fsprogs/tests/i_e2image/
Di_e2image.md53 bbef4e50d7237546c7d9c521d3df5b68 _image.raw
5 bbef4e50d7237546c7d9c521d3df5b68 _image.qcow2.raw
8 e6f8410d0690ef551bee0c2c0c642d8c _image.raw
10 e6f8410d0690ef551bee0c2c0c642d8c _image.qcow2.raw
13 734119dd8f240a33704139f8cdd8127c _image.raw
15 734119dd8f240a33704139f8cdd8127c _image.qcow2.raw
/external/clang/bindings/python/tests/cindex/
Dtest_comment.py23 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/v8/src/compiler/
Dsource-position.h19 explicit SourcePosition(int raw = kUnknownPosition) : raw_(raw) {} in raw_() argument
22 bool IsUnknown() const { return raw() == kUnknownPosition; } in IsUnknown()
25 bool IsInvalid() const { return raw() == kInvalidPosition; } in IsInvalid()
27 int raw() const { return raw_; } in raw() function
38 return lhs.raw() == rhs.raw();
/external/libvpx/libvpx/examples/
Dvp8_multi_resolution_encoder.c328 vpx_image_t raw[NUM_ENCODERS]; in main() local
515 if(!vpx_img_alloc(&raw[i], VPX_IMG_FMT_I420, cfg[i].g_w, cfg[i].g_h, 32)) in main()
518 if (raw[0].stride[VPX_PLANE_Y] == raw[0].d_w) in main()
596 frame_avail = read_frame_p(infile, &raw[0]); in main()
604 I420Scale(raw[i-1].planes[VPX_PLANE_Y], raw[i-1].stride[VPX_PLANE_Y], in main()
605 raw[i-1].planes[VPX_PLANE_U], raw[i-1].stride[VPX_PLANE_U], in main()
606 raw[i-1].planes[VPX_PLANE_V], raw[i-1].stride[VPX_PLANE_V], in main()
607 raw[i-1].d_w, raw[i-1].d_h, in main()
608 raw[i].planes[VPX_PLANE_Y], raw[i].stride[VPX_PLANE_Y], in main()
609 raw[i].planes[VPX_PLANE_U], raw[i].stride[VPX_PLANE_U], in main()
[all …]
/external/llvm/docs/
DCodeGenerator.rst5 .. role:: raw-html(raw)
8 .. raw:: html
83 target-specific backends. The two most important interfaces (:raw-html:`<tt>`
84 `TargetMachine`_ :raw-html:`</tt>` and :raw-html:`<tt>` `DataLayout`_
85 :raw-html:`</tt>`) are the only ones that are required to be defined for a
123 ordering of the instructions, then emits the instructions as :raw-html:`<tt>`
124 `MachineInstr`_\s :raw-html:`</tt>` with that ordering. Note that we
200 All of the target description classes (except the :raw-html:`<tt>` `DataLayout`_
201 :raw-html:`</tt>` class) are designed to be subclassed by the concrete target
203 implementations, the :raw-html:`<tt>` `TargetMachine`_ :raw-html:`</tt>` class
[all …]

12345678910>>...26