/external/libdrm/radeon/ |
D | radeon_bo.c | 45 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 …]
|
D | radeon_bo_gem.c | 60 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() 142 drmIoctl(boi->bom->fd, DRM_IOCTL_GEM_CLOSE, &args); in bo_unref() 169 r = drmCommandWriteRead(boi->bom->fd, in bo_map() 178 ptr = drm_mmap(0, args.size, PROT_READ|PROT_WRITE, MAP_SHARED, boi->bom->fd, args.addr_ptr); in bo_map() 211 ret = drmCommandWrite(boi->bom->fd, DRM_RADEON_GEM_WAIT_IDLE, in bo_wait() 225 ret = drmCommandWriteRead(boi->bom->fd, DRM_RADEON_GEM_BUSY, in bo_is_busy() 242 r = drmCommandWriteRead(boi->bom->fd, in bo_set_tiling() [all …]
|
D | radeon_bo_gem.h | 38 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,
|
D | radeon_bo_int.h | 18 struct radeon_bo_manager *bom; member 25 struct radeon_bo *(*bo_open)(struct radeon_bo_manager *bom,
|
D | radeon_bo.h | 55 struct radeon_bo *radeon_bo_open(struct radeon_bo_manager *bom,
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/reader/ |
D | UnicodeReader.java | 88 byte bom[] = new byte[BOM_SIZE]; in init() 90 n = internalIn.read(bom, 0, bom.length); in init() 92 if ((bom[0] == (byte) 0xEF) && (bom[1] == (byte) 0xBB) && (bom[2] == (byte) 0xBF)) { in init() 95 } else if ((bom[0] == (byte) 0xFE) && (bom[1] == (byte) 0xFF)) { in init() 98 } else if ((bom[0] == (byte) 0xFF) && (bom[1] == (byte) 0xFE)) { in init() 108 internalIn.unread(bom, (n - unread), unread); in init()
|
/external/pdfium/core/fxcrt/ |
D | cfx_seekablestreamproxy.cpp | 153 uint32_t bom = 0; in CFX_SeekableStreamProxy() local 154 ReadData(reinterpret_cast<uint8_t*>(&bom), 3); in CFX_SeekableStreamProxy() 156 bom &= BOM_MASK; in CFX_SeekableStreamProxy() 157 if (bom == BOM_UTF8) { in CFX_SeekableStreamProxy() 161 bom &= BOM_UTF16_MASK; in CFX_SeekableStreamProxy() 162 if (bom == BOM_UTF16_BE) { in CFX_SeekableStreamProxy() 165 } else if (bom == BOM_UTF16_LE) { in CFX_SeekableStreamProxy()
|
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
D | CharsetUTF32.java | 38 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()
|
D | CharsetUTF16.java | 39 private byte[] bom; field in CharsetUTF16 59 this.bom = BOM_BE; in CharsetUTF16() 63 this.bom = BOM_LE; in CharsetUTF16() 267 cr = fromUWriteBytes(this, bom, 0, bom.length, target, offsets, -1); in encodeLoop()
|
/external/python/cpython3/PC/ |
D | launcher.c | 1026 BOM *bom; in find_BOM() local 1028 for (bom = BOMs; bom->length; bom++) { in find_BOM() 1029 if (strncmp(bom->sequence, buffer, bom->length) == 0) { in find_BOM() 1030 result = bom; in find_BOM() 1038 find_terminator(char * buffer, int len, BOM *bom) in find_terminator() argument 1058 cp = bom->code_page; in find_terminator() 1180 BOM* bom; in maybe_handle_shebang() local 1205 bom = find_BOM(buffer); in maybe_handle_shebang() 1206 if (bom == NULL) { in maybe_handle_shebang() 1209 bom = BOMs; /* points to UTF-8 entry - the default */ in maybe_handle_shebang() [all …]
|
/external/icu/icu4c/as_is/ |
D | bomlist.py | 24 bom=codecs.BOM_UTF8 variable 38 if bytes and (bytes == bom):
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_screen.c | 228 image->bo = radeon_bo_open(radeonScreen->bom, in radeon_create_image_from_name() 328 image->bo = radeon_bo_open(radeonScreen->bom, in radeon_create_image() 590 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2() 591 if (screen->bom == NULL) { in radeonCreateScreen2() 609 radeon_tracker_print(&screen->bom->tracker, stderr); in radeonDestroyScreen() 611 radeon_bo_manager_gem_dtor(screen->bom); in radeonDestroyScreen()
|
D | radeon_screen.h | 101 struct radeon_bo_manager *bom; member
|
D | radeon_pixel_read.c | 142 …dst_buffer = radeon_bo_open(radeon->radeonScreen->bom, 0, dst_imagesize, 1024, RADEON_GEM_DOMAIN_G… in do_blit_readpixels()
|
D | radeon_buffer_objects.c | 107 radeon_obj->bo = radeon_bo_open(radeon->radeonScreen->bom, in radeonBufferData()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_screen.c | 228 image->bo = radeon_bo_open(radeonScreen->bom, in radeon_create_image_from_name() 328 image->bo = radeon_bo_open(radeonScreen->bom, in radeon_create_image() 590 screen->bom = radeon_bo_manager_gem_ctor(sPriv->fd); in radeonCreateScreen2() 591 if (screen->bom == NULL) { in radeonCreateScreen2() 609 radeon_tracker_print(&screen->bom->tracker, stderr); in radeonDestroyScreen() 611 radeon_bo_manager_gem_dtor(screen->bom); in radeonDestroyScreen()
|
D | radeon_screen.h | 101 struct radeon_bo_manager *bom; member
|
D | radeon_pixel_read.c | 142 …dst_buffer = radeon_bo_open(radeon->radeonScreen->bom, 0, dst_imagesize, 1024, RADEON_GEM_DOMAIN_G… in do_blit_readpixels()
|
/external/icu/icu4c/source/common/ |
D | ucnv_u32.cpp | 231 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()
|
D | ucnv_u16.cpp | 74 static const char bom[]={ (char)0xfeu, (char)0xffu }; in _UTF16BEFromUnicodeWithOffsets() local 76 bom, 2, in _UTF16BEFromUnicodeWithOffsets() 675 static const char bom[]={ (char)0xffu, (char)0xfeu }; in _UTF16LEFromUnicodeWithOffsets() local 677 bom, 2, in _UTF16LEFromUnicodeWithOffsets()
|
/external/python/cpython3/Lib/test/test_json/ |
D | test_unicode.py | 56 for encoding, bom in [ 65 self.assertEqual(self.loads(bom + encoded), data)
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
D | apiviewer.js | 175 …bom.client.Feature",f="CSS1Compat",d="label",c="http://www.mozilla.org/keymaster/gatekeeper/there.…
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Other/ |
D | ResponseFile.ll | 14 ; RUN: llvm-as @%S/Inputs/utf8-bom-response > /dev/null
|
/external/llvm/test/Other/ |
D | ResponseFile.ll | 14 ; RUN: llvm-as @%S/Inputs/utf8-bom-response > /dev/null
|
/external/icu/icu4c/source/test/thaitest/ |
D | thaitest.cpp | 409 UChar bom = 0xFEFF; in generateFile() local 411 printf("%s", u_strToUTF8(outbuf, sizeof(outbuf), &strlength, &bom, 1, &status)); in generateFile()
|