Home
last modified time | relevance | path

Searched refs:bom (Results 1 – 25 of 63) sorted by relevance

123

/third_party/libdrm/radeon/
Dradeon_bo.c45 radeon_bo_open(struct radeon_bo_manager *bom, uint32_t handle, uint32_t size, in radeon_bo_open() argument
49 bo = bom->funcs->bo_open(bom, handle, size, alignment, domains, flags); in radeon_bo_open()
57 boi->bom->funcs->bo_ref(boi); in radeon_bo_ref()
67 return boi->bom->funcs->bo_unref(boi); in radeon_bo_unref()
73 return boi->bom->funcs->bo_map(boi, write); in radeon_bo_map()
79 return boi->bom->funcs->bo_unmap(boi); in radeon_bo_unmap()
85 if (!boi->bom->funcs->bo_wait) in radeon_bo_wait()
87 return boi->bom->funcs->bo_wait(boi); in radeon_bo_wait()
93 return boi->bom->funcs->bo_is_busy(boi, domain); in radeon_bo_is_busy()
101 return boi->bom->funcs->bo_set_tiling(boi, tiling_flags, pitch); in radeon_bo_set_tiling()
[all …]
Dradeon_bo_gem.c60 static struct radeon_bo *bo_open(struct radeon_bo_manager *bom, in bo_open() argument
75 bo->base.bom = bom; in bo_open()
89 r = drmIoctl(bom->fd, DRM_IOCTL_GEM_OPEN, &open_arg); in bo_open()
105 r = drmCommandWriteRead(bom->fd, DRM_RADEON_GEM_CREATE, in bo_open()
137 drmCloseBufferHandle(boi->bom->fd, boi->handle); in bo_unref()
164 r = drmCommandWriteRead(boi->bom->fd, in bo_map()
173 ptr = drm_mmap(0, args.size, PROT_READ|PROT_WRITE, MAP_SHARED, boi->bom->fd, args.addr_ptr); in bo_map()
206 ret = drmCommandWrite(boi->bom->fd, DRM_RADEON_GEM_WAIT_IDLE, in bo_wait()
220 ret = drmCommandWriteRead(boi->bom->fd, DRM_RADEON_GEM_BUSY, in bo_is_busy()
237 r = drmCommandWriteRead(boi->bom->fd, in bo_set_tiling()
[all …]
Dradeon_bo_gem.h38 void radeon_bo_manager_gem_dtor(struct radeon_bo_manager *bom);
45 struct radeon_bo *radeon_gem_bo_open_prime(struct radeon_bo_manager *bom,
Dradeon_bo_int.h18 struct radeon_bo_manager *bom; member
25 struct radeon_bo *(*bo_open)(struct radeon_bo_manager *bom,
/third_party/node/test/fixtures/wpt/encoding/
Dtextdecoder-byte-order-marks.any.js6 bom: [0xEF, 0xBB, 0xBF], property
11 bom: [0xff, 0xfe], property
16 bom: [0xfe, 0xff], property
30 assert_equals(decoder.decode(new Uint8Array(t.bom.concat(t.bytes))), string,
37 assert_not_equals(decoder.decode(new Uint8Array(o.bom.concat(t.bytes))), string,
/third_party/json/test/src/
Dunit-deserialization.cpp844 std::string bom = "\xEF\xBB\xBF"; variable
849 CHECK_THROWS_AS(_ = json::parse(bom), json::parse_error&);
850 CHECK_THROWS_WITH(_ = json::parse(bom),
853 CHECK_THROWS_AS(_ = json::parse(std::istringstream(bom)), json::parse_error&);
854 CHECK_THROWS_WITH(_ = json::parse(std::istringstream(bom)),
858 CHECK(!json::sax_parse(bom, &l));
868 CHECK(json::parse(bom + "1") == 1);
869 CHECK(json::parse(std::istringstream(bom + "1")) == 1);
873 CHECK(json::sax_parse(std::istringstream(bom + "1"), &l1));
874 CHECK(json::sax_parse(bom + "1", &l2));
[all …]
/third_party/typescript/tests/baselines/reference/
DduplicateLocalVariable1.js125 return fb.bom === 'none' && fb.encoding === 'utf8';
130 return fb.bom === 'utf8' && fb.encoding === 'utf8';
135 return fb.bom === 'utf16be' && fb.encoding === 'utf16be';
140 return fb.bom === 'utf16le' && fb.encoding === 'utf16le';
145 return fb.bom === 'none' && fb.encoding === 'utf8';
150 return fb.bom === 'none' && fb.encoding === 'utf8';
465 return fb.bom === 'none' && fb.encoding === 'utf8';
469 return fb.bom === 'utf8' && fb.encoding === 'utf8';
473 return fb.bom === 'utf16be' && fb.encoding === 'utf16be';
477 return fb.bom === 'utf16le' && fb.encoding === 'utf16le';
[all …]
Dbom-utf16le.symbols1 === tests/cases/compiler/bom-utf16le.ts ===
3 >x : Symbol(x, Decl(bom-utf16le.ts, 0, 3))
Dbom-utf8.symbols1 === tests/cases/compiler/bom-utf8.ts ===
3 >x : Symbol(x, Decl(bom-utf8.ts, 0, 3))
Dbom-utf16be.symbols1 === tests/cases/compiler/bom-utf16be.ts ===
3 >x : Symbol(x, Decl(bom-utf16be.ts, 0, 3))
DduplicateLocalVariable1.types206bom === 'none' && fb.encoding === 'utf8'; })); testRunner.addTest(new TestCase("Check en…
207bom === 'none' && fb.encoding === 'utf8'; })); testRunner.addTest(new TestCase("Check en…
208bom === 'none' && fb.encoding === 'utf8'; })); testRunner.addTest(new TestCase("Check en…
635 … FileManager.FileBuffer(TestFileDir + "\\noBOM.txt"); return fb.bom === 'none' && fb.en…
639 … FileManager.FileBuffer(TestFileDir + "\\noBOM.txt"); return fb.bom === 'none' && fb.en…
644 … FileManager.FileBuffer(TestFileDir + "\\noBOM.txt"); return fb.bom === 'none' && fb.en…
656 return fb.bom === 'none' && fb.encoding === 'utf8';
657 >fb.bom === 'none' && fb.encoding === 'utf8' : boolean
658 >fb.bom === 'none' : boolean
659 >fb.bom : any
[all …]
DduplicateLocalVariable1.errors.txt130 return fb.bom === 'none' && fb.encoding === 'utf8';
135 return fb.bom === 'utf8' && fb.encoding === 'utf8';
140 return fb.bom === 'utf16be' && fb.encoding === 'utf16be';
145 return fb.bom === 'utf16le' && fb.encoding === 'utf16le';
150 return fb.bom === 'none' && fb.encoding === 'utf8';
155 return fb.bom === 'none' && fb.encoding === 'utf8';
/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetUTF32.java38 private byte[] bom; field in CharsetUTF32
48 this.bom = BOM_BE; in CharsetUTF32()
52 this.bom = BOM_LE; in CharsetUTF32()
192 cr = fromUWriteBytes(this, bom, 0, bom.length, target, offsets, -1); in encodeLoop()
DCharsetUTF16.java38 private byte[] bom; field in CharsetUTF16
58 this.bom = BOM_BE; in CharsetUTF16()
62 this.bom = BOM_LE; in CharsetUTF16()
263 cr = fromUWriteBytes(this, bom, 0, bom.length, target, offsets, -1); in encodeLoop()
/third_party/typescript/tests/cases/compiler/
DduplicateLocalVariable1.ts127 return fb.bom === 'none' && fb.encoding === 'utf8';
132 return fb.bom === 'utf8' && fb.encoding === 'utf8';
137 return fb.bom === 'utf16be' && fb.encoding === 'utf16be';
142 return fb.bom === 'utf16le' && fb.encoding === 'utf16le';
147 return fb.bom === 'none' && fb.encoding === 'utf8';
152 return fb.bom === 'none' && fb.encoding === 'utf8';
/third_party/typescript/src/harness/
DloggedIO.ts6 bom?: string; property
29 bom: boolean;
149 …result.contents = (result.bom || "") + host.readFile(ts.combinePaths(baseName, result.contentsPath…
193 result.bom = "\ufeff";
196 result.bom = "\ufffe";
199 result.bom = "\uefbb\xbf";
346 …ord(underlying.writeFile(path, contents), recordLog!.filesWritten, { path, contents, bom: false }),
/third_party/python/PC/
Dlauncher.c1152 BOM *bom; in find_BOM() local
1154 for (bom = BOMs; bom->length; bom++) { in find_BOM()
1155 if (strncmp(bom->sequence, buffer, bom->length) == 0) { in find_BOM()
1156 result = bom; in find_BOM()
1164 find_terminator(char * buffer, int len, BOM *bom) in find_terminator() argument
1184 cp = bom->code_page; in find_terminator()
1308 BOM* bom; in maybe_handle_shebang() local
1333 bom = find_BOM(buffer); in maybe_handle_shebang()
1334 if (bom == NULL) { in maybe_handle_shebang()
1337 bom = BOMs; /* points to UTF-8 entry - the default */ in maybe_handle_shebang()
[all …]
/third_party/icu/icu4c/as_is/
Dbomlist.py26 bom=codecs.BOM_UTF8 variable
40 if bytes and (bytes == bom):
/third_party/ffmpeg/libavformat/
Dbrstm.c103 int bom, major, minor, codec, chunk; in read_header() local
118 bom = avio_rb16(s->pb); in read_header()
119 if (bom != 0xFEFF && bom != 0xFFFE) { in read_header()
120 av_log(s, AV_LOG_ERROR, "invalid byte order: %X\n", bom); in read_header()
124 if (bom == 0xFFFE) in read_header()
/third_party/node/test/es-module/
Dtest-esm-import-meta-resolve.mjs19 await import.meta.resolve('../fixtures/empty-with-bom.txt'),
20 fixtures + 'empty-with-bom.txt');
/third_party/skia/third_party/externals/icu/source/common/
Ducnv_u32.cpp231 static const char bom[]={ 0, 0, (char)0xfeu, (char)0xffu }; in T_UConverter_fromUnicode_UTF32_BE() local
233 bom, 4, in T_UConverter_fromUnicode_UTF32_BE()
334 static const char bom[]={ 0, 0, (char)0xfeu, (char)0xffu }; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
336 bom, 4, in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
709 static const char bom[]={ (char)0xffu, (char)0xfeu, 0, 0 }; in T_UConverter_fromUnicode_UTF32_LE() local
711 bom, 4, in T_UConverter_fromUnicode_UTF32_LE()
820 static const char bom[]={ (char)0xffu, (char)0xfeu, 0, 0 }; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
822 bom, 4, in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
/third_party/node/deps/icu-small/source/common/
Ducnv_u32.cpp231 static const char bom[]={ 0, 0, (char)0xfeu, (char)0xffu }; in T_UConverter_fromUnicode_UTF32_BE() local
233 bom, 4, in T_UConverter_fromUnicode_UTF32_BE()
334 static const char bom[]={ 0, 0, (char)0xfeu, (char)0xffu }; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
336 bom, 4, in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
709 static const char bom[]={ (char)0xffu, (char)0xfeu, 0, 0 }; in T_UConverter_fromUnicode_UTF32_LE() local
711 bom, 4, in T_UConverter_fromUnicode_UTF32_LE()
820 static const char bom[]={ (char)0xffu, (char)0xfeu, 0, 0 }; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
822 bom, 4, in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducnv_u32.cpp231 static const char bom[]={ 0, 0, (char)0xfeu, (char)0xffu }; in T_UConverter_fromUnicode_UTF32_BE() local
233 bom, 4, in T_UConverter_fromUnicode_UTF32_BE()
334 static const char bom[]={ 0, 0, (char)0xfeu, (char)0xffu }; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
336 bom, 4, in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
709 static const char bom[]={ (char)0xffu, (char)0xfeu, 0, 0 }; in T_UConverter_fromUnicode_UTF32_LE() local
711 bom, 4, in T_UConverter_fromUnicode_UTF32_LE()
820 static const char bom[]={ (char)0xffu, (char)0xfeu, 0, 0 }; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
822 bom, 4, in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
/third_party/icu/icu4c/source/common/
Ducnv_u32.cpp231 static const char bom[]={ 0, 0, (char)0xfeu, (char)0xffu }; in T_UConverter_fromUnicode_UTF32_BE() local
233 bom, 4, in T_UConverter_fromUnicode_UTF32_BE()
334 static const char bom[]={ 0, 0, (char)0xfeu, (char)0xffu }; in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC() local
336 bom, 4, in T_UConverter_fromUnicode_UTF32_BE_OFFSET_LOGIC()
709 static const char bom[]={ (char)0xffu, (char)0xfeu, 0, 0 }; in T_UConverter_fromUnicode_UTF32_LE() local
711 bom, 4, in T_UConverter_fromUnicode_UTF32_LE()
820 static const char bom[]={ (char)0xffu, (char)0xfeu, 0, 0 }; in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC() local
822 bom, 4, in T_UConverter_fromUnicode_UTF32_LE_OFFSET_LOGIC()
/third_party/python/Lib/test/test_json/
Dtest_unicode.py56 for encoding, bom in [
65 self.assertEqual(self.loads(bom + encoded), data)

123