Home
last modified time | relevance | path

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

12345678910>>...33

/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/v8/test/mjsunit/es6/
Dstring-raw.js6 assertEquals(1, String.raw.length);
22 callSiteObj.raw = {};
23 assertEquals("", String.raw(callSiteObj));
25 callSiteObj.raw = { lengt: 0 };
26 assertEquals("", String.raw(callSiteObj));
32 callSiteObj.raw = { length: 0 };
33 assertEquals("", String.raw(callSiteObj));
34 assertEquals("", String.raw(callSiteObj, "a", "b", "c"));
36 callSiteObj.raw = [];
37 assertEquals("", String.raw(callSiteObj));
[all …]
Dtemplates.js88 assertEquals(1, s.raw.length);
92 assertEquals("", s.raw[0]);
101 assertEquals(2, s.raw.length);
103 assertEquals("", s.raw[0]);
112 assertEquals(3, s.raw.length);
114 assertEquals("", s.raw[1]);
123 assertEquals(2, s.raw.length);
125 assertEquals("", s.raw[1]);
183 (function(s) { calls++; assertEquals("test", s.raw[0]); })`test`;
189 (function(s) { calls++; assertEquals("test", s.raw[0]); })`test${1}`;
[all …]
/external/pdfium/third_party/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/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationRuleParser.java398 private int parseTailoringString(int i, StringBuilder raw) throws ParseException { in parseTailoringString() argument
399 i = parseString(skipWhiteSpace(i), raw); in parseTailoringString()
400 if(raw.length() == 0) { in parseTailoringString()
406 private int parseString(int i, StringBuilder raw) throws ParseException { in parseString() argument
407 raw.setLength(0); in parseString()
414 raw.append((char)0x27); in parseString()
434 raw.append(c); in parseString()
442 raw.appendCodePoint(cp); in parseString()
454 raw.append(c); in parseString()
457 for(int j = 0; j < raw.length();) { in parseString()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dttgsubtable.cpp199 void CFX_CTTGSUBTable::ParseScriptList(FT_Bytes raw, struct TScriptList* rec) { in ParseScriptList() argument
201 FT_Bytes sp = raw; in ParseScriptList()
210 ParseScript(&raw[offset], &rec->ScriptRecord[i].Script); in ParseScriptList()
213 void CFX_CTTGSUBTable::ParseScript(FT_Bytes raw, struct TScript* rec) { in ParseScript() argument
215 FT_Bytes sp = raw; in ParseScript()
225 ParseLangSys(&raw[offset], &rec->LangSysRecord[i].LangSys); in ParseScript()
228 void CFX_CTTGSUBTable::ParseLangSys(FT_Bytes raw, struct TLangSys* rec) { in ParseLangSys() argument
229 FT_Bytes sp = raw; in ParseLangSys()
242 void CFX_CTTGSUBTable::ParseFeatureList(FT_Bytes raw, TFeatureList* rec) { in ParseFeatureList() argument
244 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/v8/test/cctest/compiler/
Dtest-run-native-calls.cc337 Node* MakeConstant(RawMachineAssembler& raw, int32_t value) { in MakeConstant() argument
338 return raw.Int32Constant(value); in MakeConstant()
341 Node* MakeConstant(RawMachineAssembler& raw, int64_t value) { in MakeConstant() argument
342 return raw.Int64Constant(value); in MakeConstant()
345 Node* MakeConstant(RawMachineAssembler& raw, float32 value) { in MakeConstant() argument
346 return raw.Float32Constant(value); in MakeConstant()
349 Node* MakeConstant(RawMachineAssembler& raw, float64 value) { in MakeConstant() argument
350 return raw.Float64Constant(value); in MakeConstant()
353 Node* LoadInput(RawMachineAssembler& raw, Node* base, int index) { in LoadInput() argument
354 Node* offset = raw.Int32Constant(index * sizeof(CType)); in LoadInput()
[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/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()
143 DE_ASSERT(dst.getWidth() == src.raw().getHeight()); in resolveMultisampleDepthBuffer()
144 DE_ASSERT(dst.getHeight() == src.raw().getDepth()); in resolveMultisampleDepthBuffer()
146 …const tcu::ConstPixelBufferAccess effectiveSrc = tcu::getEffectiveDepthStencilAccess(src.raw(), tc… in resolveMultisampleDepthBuffer()
[all …]
/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/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/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()
331 int selinux_raw_to_trans_context(const char * raw, in hidden_def()
334 if (!raw) { in hidden_def()
343 *transp = strdup(raw); in hidden_def()
347 if (prev_r2t_raw && strcmp(prev_r2t_raw, raw) == 0) { in hidden_def()
354 if (raw_to_trans_context(raw, transp)) in hidden_def()
355 *transp = strdup(raw); in hidden_def()
[all …]
/external/boringssl/src/ssl/test/runner/
Dhandshake_messages.go10 raw []byte member
44 return bytes.Equal(m.raw, m1.raw) &&
74 if m.raw != nil {
75 return m.raw
394 m.raw = x
403 m.raw = data
632 raw []byte member
657 if m.raw != nil {
658 return m.raw
863 m.raw = x
[all …]
/external/selinux/policycoreutils/mcstrans/share/util/
Dmlstrans-test11 (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/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/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

12345678910>>...33