/third_party/elfutils/lib/ |
H A D | crc32_file.c | 53 void *mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, fd, 0); in crc32_file() local 54 if (mapped == MAP_FAILED && errno == ENOMEM) in crc32_file() 59 && (mapped = mmap (NULL, mapsize, PROT_READ, MAP_PRIVATE, in crc32_file() 63 if (mapped != MAP_FAILED) in crc32_file() 69 *resp = crc32 (crc, mapped, st.st_size); in crc32_file() 70 munmap (mapped, mapsize); in crc32_file() 73 crc = crc32 (crc, mapped, mapsize); in crc32_file() 76 } while (mmap (mapped, mapsize, PROT_READ, MAP_FIXED|MAP_PRIVATE, in crc32_file() 77 fd, off) == mapped); in crc32_file() 78 munmap (mapped, mapsiz in crc32_file() [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | class-inheritance-builtin-array.js | 51 var mapped = c.map ((x) => x * 2); variable 52 isInstanceofArray (mapped); 54 for (var i = 0; i < mapped.length; i++) { 55 assert (mapped[i] == c[i] * 2); 84 mapped = c.map ((x) => x * 2);
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_transfer.c | 139 trans->mapped + (ptrans->box.z + z) * res_level->layer_stride, in etna_transfer_unmap() 146 util_copy_box(trans->mapped, rsc->base.format, res_level->stride, in etna_transfer_unmap() 167 etna_patch_data(trans->mapped, ptrans); in etna_transfer_unmap() 171 * are not mapped unsynchronized. If they are, must push them back into GPU in etna_transfer_unmap() 220 * being mapped. If we add buffer reallocation to avoid CPU/GPU sync this in etna_transfer_map() 411 trans->mapped = etna_bo_map(rsc->bo); in etna_transfer_map() 412 if (!trans->mapped) in etna_transfer_map() 421 trans->mapped += res_level->offset + in etna_transfer_map() 427 etna_unpatch_data(trans->mapped, ptrans); in etna_transfer_map() 429 return trans->mapped; in etna_transfer_map() [all...] |
/third_party/elfutils/libdwfl/ |
H A D | open.c | 62 void *const mapped = ((*elf)->map_address == NULL ? NULL in decompress() local 68 error = __libdw_gunzip (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 70 error = __libdw_bunzip2 (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 72 error = __libdw_unlzma (fd, offset, mapped, mapped_size, &buffer, &size); in decompress() 74 error = __libdw_unzstd (fd, offset, mapped, mapped_size, &buffer, &size); in decompress()
|
H A D | gzip.c | 180 void *mapped, size_t _mapped_size, in unzip() 196 if (mapped == NULL) in unzip() 209 mapped = state.input_buffer; in unzip() 221 memcmp (mapped, magic, sizeof magic - 1)) in unzip() 236 void *next_in = mapped; in unzip() 305 z_stream z = { .next_in = mapped, .avail_in = state.mapped_size }; in unzip() 179 unzip(int fd, off_t start_offset, void *mapped, size_t _mapped_size, void **_whole, size_t *whole_size) unzip() argument
|
H A D | image-header.c | 62 void *mapped, size_t mapped_size) in __libdw_image_header() 66 const void *header = mapped; in __libdw_image_header() 61 __libdw_image_header(int fd, off_t *start_offset, void *mapped, size_t mapped_size) __libdw_image_header() argument
|
H A D | libdwflP.h | 605 void *mapped, size_t mapped_size, 609 void *mapped, size_t mapped_size, 613 void *mapped, size_t mapped_size, 617 void *mapped, size_t mapped_size, 623 void *mapped, size_t mapped_size)
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
H A D | CaseIterator.java | 229 String mapped = UCharacter.foldCase(cp, defaultmapping); 230 if (mapped.equals(cp)) continue; 232 if (maxLength < mapped.length()) maxLength = mapped.length(); 236 Set s = (Set) fromCaseFold.get(mapped); 239 s.add(mapped); // add the case fold result itself 240 fromCaseFold.put(mapped, s); 243 toCaseFold.put(cp, mapped); 244 toCaseFold.put(mapped, mapped); // ad [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | restInvalidArgumentType.js | 11 var mapped: {[P in "b"]: T[P]}; 34 var {...r6} = mapped_generic; // Error, generic mapped object type 35 var {...r7} = mapped; // OK, non-generic mapped type 81 var mapped;
99 var r6 = __rest(mapped_generic, []); // Error, generic mapped object type
100 var r7 = __rest(mapped, []); // OK, non-generic mapped type
|
H A D | spreadInvalidArgumentType.js | 11 var mapped: {[P in "b"]: T[P]}; 36 var o6 = { ...mapped_generic }; // OK, generic mapped object type 37 var o7 = { ...mapped }; // OK, non-generic mapped type 83 var mapped;
101 var o6 = __assign({}, mapped_generic); // OK, generic mapped object type
102 var o7 = __assign({}, mapped); // OK, non-generic mapped type
|
/third_party/skia/tests/ |
H A D | M44Test.cpp | 204 SkV4 mapped = m.map(p.x, p.y, 0.f, 1.f); in DEF_TEST() 205 REPORTER_ASSERT(reporter, mapped.z == 0.f); in DEF_TEST() 206 REPORTER_ASSERT(reporter, mapped.w == 1.f); in DEF_TEST() 207 return SkV2{mapped.x, mapped.y}; in DEF_TEST() 286 SkV4 mapped = m * corners[i]; in DEF_TEST() 287 if (mapped.w > 0.f) { in DEF_TEST() 289 float x = mapped.x / mapped.w; in DEF_TEST() 290 float y = mapped in DEF_TEST() [all...] |
/third_party/mesa3d/src/panfrost/lib/genxml/ |
H A D | decode_common.c | 134 /* First, search if we already mapped this and are just updating an address */ in pandecode_inject_mmap() 184 struct pandecode_mapped_memory *mapped; in pointer_as_memory_reference() local 187 /* Try to find the corresponding mapped zone */ in pointer_as_memory_reference() 189 mapped = pandecode_find_mapped_gpu_mem_containing_rw(ptr); in pointer_as_memory_reference() 191 if (mapped) { in pointer_as_memory_reference() 192 snprintf(out, 128, "%s + %d", mapped->name, (int) (ptr - mapped->gpu_va)); in pointer_as_memory_reference()
|
/third_party/mesa3d/src/intel/tools/ |
H A D | intel_sanitize_gpu.c | 177 uint8_t *mapped; in padding_is_good() 187 mapped = (uint8_t*) (uintptr_t) mmap_arg.addr_ptr; in padding_is_good() 192 intel_invalidate_range(mapped, PADDING_SIZE); in padding_is_good() 196 if (expected_value != mapped[i]) { in padding_is_good() 197 munmap(mapped, PADDING_SIZE); in padding_is_good() 202 munmap(mapped, PADDING_SIZE); in padding_is_good()
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/src/lsp/protocol/ |
H A D | log.go | 69 type mapped struct { type 75 var maps = &mapped{ 84 func (m *mapped) client(id string, del bool) req { 94 func (m *mapped) server(id string, del bool) req { 104 func (m *mapped) setClient(id string, r req) { 110 func (m *mapped) setServer(id string, r req) {
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/utils/vscode/src/lsp/protocol/ |
H A D | log.go | 69 type mapped struct { type 75 var maps = &mapped{ 84 func (m *mapped) client(id string, del bool) req { 94 func (m *mapped) server(id string, del bool) req { 104 func (m *mapped) setClient(id string, r req) { 110 func (m *mapped) setServer(id string, r req) {
|
/third_party/spirv-tools/utils/vscode/src/lsp/protocol/ |
H A D | log.go | 69 type mapped struct { type 75 var maps = &mapped{ 84 func (m *mapped) client(id string, del bool) req { 94 func (m *mapped) server(id string, del bool) req { 104 func (m *mapped) setClient(id string, r req) { 110 func (m *mapped) setServer(id string, r req) {
|
/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsShaderConstExprTests.cpp | 154 const string mapped = shaderTemplate.specialize(shaderTemplateParams); in createTests() local 165 spec.programs[0].sources << glu::VertexSource(mapped); in createTests() 186 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests() 208 const string mapped = shaderTemplate.specialize(shaderTemplateParams); in createTests() local 219 spec.programs[0].sources << glu::VertexSource(mapped); in createTests() 240 spec.programs[0].sources << glu::FragmentSource(mapped); in createTests()
|
/third_party/mesa3d/src/gallium/winsys/sw/kms-dri/ |
H A D | kms_dri_sw_winsys.c | 84 void *mapped; member 184 kms_sw_dt->mapped = MAP_FAILED; in kms_sw_displaytarget_create() 277 void **ptr = (flags == PIPE_MAP_READ) ? &kms_sw_dt->ro_mapped : &kms_sw_dt->mapped; in kms_sw_displaytarget_map() 286 DEBUG_PRINT("KMS-DEBUG: mapped buffer %u (size %u) at %p\n", in kms_sw_displaytarget_map() 353 kms_sw_dt->mapped = MAP_FAILED; in kms_sw_displaytarget_add_from_prime() 391 DEBUG_PRINT("KMS-DEBUG: unmapped buffer %u (was %p)\n", kms_sw_dt->handle, kms_sw_dt->mapped); in kms_sw_displaytarget_unmap() 394 if (kms_sw_dt->mapped != MAP_FAILED) { in kms_sw_displaytarget_unmap() 395 munmap(kms_sw_dt->mapped, kms_sw_dt->size); in kms_sw_displaytarget_unmap() 396 kms_sw_dt->mapped = MAP_FAILED; in kms_sw_displaytarget_unmap()
|
/third_party/skia/docs/examples/ |
H A D | Matrix_mapRect_3.cpp | 10 SkRect mapped = matrix.mapRect(rect); in REG_FIDDLE() local 15 canvas->drawRect(mapped, paint); in REG_FIDDLE()
|
/third_party/mesa3d/src/gallium/winsys/sw/dri/ |
H A D | dri_sw_winsys.c | 62 void *mapped; member 191 dri_sw_dt->mapped = dri_sw_dt->data; in dri_sw_displaytarget_map() 198 return dri_sw_dt->mapped; in dri_sw_displaytarget_map() 211 dri_sw_dt->mapped = NULL; in dri_sw_displaytarget_unmap()
|
/third_party/glslang/SPIRV/ |
H A D | SPVRemapper.h | 238 std::vector<bits_t> mapped; // which new IDs have been mapped member in spv::spirvbin_t 241 bool isMapped(spv::Id id) const { return id < maxMappedId() && ((mapped[id/mBits] & (1LL<<(id%mBits))) != 0); } in isMapped() 242 void setMapped(spv::Id id) { resizeMapped(id); mapped[id/mBits] |= (1LL<<(id%mBits)); } in setMapped() 243 void resizeMapped(spv::Id id) { if (id >= maxMappedId()) mapped.resize(id/mBits+1, 0); } in resizeMapped() 244 size_t maxMappedId() const { return mapped.size() * mBits; } in maxMappedId() 264 spv::Id largestNewId; // biggest new ID we have mapped anything to
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | node_hash_map_test.cc | 192 EXPECT_EQ(node.mapped(), -7); in TEST() 200 EXPECT_EQ(insert_result.node.mapped(), -7); in TEST() 207 EXPECT_EQ(node.mapped(), -17); in TEST() 210 node.mapped() = 23; in TEST() 262 map["key1"] = "mapped"; in TEST() 268 EXPECT_THAT(map, testing::ElementsAre(Pair("key", "mapped"))); in TEST()
|
/third_party/skia/src/core/ |
H A D | SkImageFilterTypes.cpp | 102 SkRect mapped = matrix.mapRect(SkRect::Make(geom)); in map() local 103 mapped.inset(1e-3f, 1e-3f); in map() 104 return mapped.roundOut(); in map()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | testidn.cpp | 290 int32_t mapped = 0; in testAllCodepoints() local 309 mapped++; in testAllCodepoints() 321 test.logln("Number of Mapped code points : %i \n",mapped); in testAllCodepoints()
|
/third_party/mesa3d/src/gallium/winsys/sw/xlib/ |
H A D | xlib_sw_winsys.c | 66 void *mapped; member 239 xlib_dt->mapped = xlib_dt->data; in xlib_displaytarget_map() 240 return xlib_dt->mapped; in xlib_displaytarget_map() 249 xlib_dt->mapped = NULL; in xlib_displaytarget_unmap()
|