Home
last modified time | relevance | path

Searched +refs:entry +refs:buffer (Results 1 – 25 of 1092) sorted by relevance

12345678910>>...44

/third_party/flutter/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp26 Entry(const void* buffer, size_t size, const SkBitmap& bm) in Entry()
32 memcpy(fBuffer, buffer, size); in Entry()
37 bool equals(const void* buffer, size_t size) const { in equals()
38 return (fSize == size) && !memcmp(fBuffer, buffer, size); in equals()
54 Entry* entry = fHead; in ~GrGradientBitmapCache() local
55 while (entry) { in ~GrGradientBitmapCache()
56 Entry* next = entry->fNext; in ~GrGradientBitmapCache()
57 delete entry; in ~GrGradientBitmapCache()
58 entry = next; in ~GrGradientBitmapCache()
62 GrGradientBitmapCache::Entry* GrGradientBitmapCache::release(Entry* entry) const { in release()
[all …]
/third_party/skia/src/gpu/gradients/
DGrGradientBitmapCache.cpp26 Entry(const void* buffer, size_t size, const SkBitmap& bm) in Entry()
32 memcpy(fBuffer, buffer, size); in Entry()
37 bool equals(const void* buffer, size_t size) const { in equals()
38 return (fSize == size) && !memcmp(fBuffer, buffer, size); in equals()
54 Entry* entry = fHead; in ~GrGradientBitmapCache() local
55 while (entry) { in ~GrGradientBitmapCache()
56 Entry* next = entry->fNext; in ~GrGradientBitmapCache()
57 delete entry; in ~GrGradientBitmapCache()
58 entry = next; in ~GrGradientBitmapCache()
62 GrGradientBitmapCache::Entry* GrGradientBitmapCache::release(Entry* entry) const { in release()
[all …]
/third_party/icu/icu4c/source/tools/toolutil/
Dpkg_genc.cpp283 char entry[96]; in writeAssemblyCode() local
287 } buffer; in writeAssemblyCode() local
300 buffer.chars, in writeAssemblyCode()
301 sizeof(buffer.chars), in writeAssemblyCode()
302 entry, in writeAssemblyCode()
303 sizeof(entry), in writeAssemblyCode()
306 out=T_FileStream_open(buffer.chars, "w"); in writeAssemblyCode()
308 fprintf(stderr, "genccode: unable to open output file %s\n", buffer.chars); in writeAssemblyCode()
313 if (uprv_strlen(buffer.chars) >= outFilePathCapacity) { in writeAssemblyCode()
317 uprv_strcpy(outFilePath, buffer.chars); in writeAssemblyCode()
[all …]
/third_party/node/deps/icu-small/source/tools/toolutil/
Dpkg_genc.cpp283 char entry[96]; in writeAssemblyCode() local
287 } buffer; in writeAssemblyCode() local
300 buffer.chars, in writeAssemblyCode()
301 sizeof(buffer.chars), in writeAssemblyCode()
302 entry, in writeAssemblyCode()
303 sizeof(entry), in writeAssemblyCode()
306 out=T_FileStream_open(buffer.chars, "w"); in writeAssemblyCode()
308 fprintf(stderr, "genccode: unable to open output file %s\n", buffer.chars); in writeAssemblyCode()
313 if (uprv_strlen(buffer.chars) >= outFilePathCapacity) { in writeAssemblyCode()
317 uprv_strcpy(outFilePath, buffer.chars); in writeAssemblyCode()
[all …]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
Dpkg_genc.cpp283 char entry[96]; in writeAssemblyCode() local
287 } buffer; in writeAssemblyCode() local
300 buffer.chars, in writeAssemblyCode()
301 sizeof(buffer.chars), in writeAssemblyCode()
302 entry, in writeAssemblyCode()
303 sizeof(entry), in writeAssemblyCode()
306 out=T_FileStream_open(buffer.chars, "w"); in writeAssemblyCode()
308 fprintf(stderr, "genccode: unable to open output file %s\n", buffer.chars); in writeAssemblyCode()
313 if (uprv_strlen(buffer.chars) >= outFilePathCapacity) { in writeAssemblyCode()
317 uprv_strcpy(outFilePath, buffer.chars); in writeAssemblyCode()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindGroup.cpp37 const BindGroupEntry& entry, in ValidateBufferBinding() argument
39 DAWN_INVALID_IF(entry.buffer == nullptr, "Binding entry buffer not set."); in ValidateBufferBinding()
41 DAWN_INVALID_IF(entry.sampler != nullptr || entry.textureView != nullptr, in ValidateBufferBinding()
44 DAWN_INVALID_IF(entry.nextInChain != nullptr, "nextInChain must be nullptr."); in ValidateBufferBinding()
46 DAWN_TRY(device->ValidateObject(entry.buffer)); in ValidateBufferBinding()
53 switch (bindingInfo.buffer.type) { in ValidateBufferBinding()
77 uint64_t bufferSize = entry.buffer->GetSize(); in ValidateBufferBinding()
80 DAWN_INVALID_IF(entry.offset > bufferSize, in ValidateBufferBinding()
81 "Binding offset (%u) is larger than the size (%u) of %s.", entry.offset, in ValidateBufferBinding()
82 bufferSize, entry.buffer); in ValidateBufferBinding()
[all …]
DPipelineLayout.cpp112 modifiedEntry->buffer.type == mergedEntry.buffer.type && in CreateDefault()
120 if (modifiedEntry->buffer.type != wgpu::BufferBindingType::Undefined) { in CreateDefault()
121 compatible = compatible && modifiedEntry->buffer.hasDynamicOffset == in CreateDefault()
122 mergedEntry.buffer.hasDynamicOffset; in CreateDefault()
159 modifiedEntry->buffer.minBindingSize = in CreateDefault()
160 std::max(modifiedEntry->buffer.minBindingSize, mergedEntry.buffer.minBindingSize); in CreateDefault()
173 BindGroupLayoutEntry entry = {}; in CreateDefault() local
176 entry.buffer.type = shaderBinding.buffer.type; in CreateDefault()
177 entry.buffer.hasDynamicOffset = shaderBinding.buffer.hasDynamicOffset; in CreateDefault()
178 entry.buffer.minBindingSize = shaderBinding.buffer.minBindingSize; in CreateDefault()
[all …]
DBindGroupLayout.cpp67 const BindGroupLayoutEntry& entry, in ValidateBindGroupLayoutEntry() argument
69 DAWN_TRY(ValidateShaderStage(entry.visibility)); in ValidateBindGroupLayoutEntry()
75 if (entry.buffer.type != wgpu::BufferBindingType::Undefined) { in ValidateBindGroupLayoutEntry()
78 const BufferBindingLayout& buffer = entry.buffer; in ValidateBindGroupLayoutEntry() local
82 if (buffer.type == kInternalStorageBufferBinding) { in ValidateBindGroupLayoutEntry()
85 DAWN_TRY(ValidateBufferBindingType(buffer.type)); in ValidateBindGroupLayoutEntry()
88 if (buffer.type == wgpu::BufferBindingType::Storage || in ValidateBindGroupLayoutEntry()
89 buffer.type == kInternalStorageBufferBinding) { in ValidateBindGroupLayoutEntry()
93 if (entry.sampler.type != wgpu::SamplerBindingType::Undefined) { in ValidateBindGroupLayoutEntry()
96 DAWN_TRY(ValidateSamplerBindingType(entry.sampler.type)); in ValidateBindGroupLayoutEntry()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/util/windows/
DWindows_system_utils.cpp44 void OnCallstackEntry(CallstackEntryType eType, CallstackEntry &entry) override in OnCallstackEntry() argument
46 char buffer[STACKWALK_MAX_NAMELEN]; in OnCallstackEntry() local
48 if ((eType != lastEntry) && (entry.offset != 0)) in OnCallstackEntry()
50 if (entry.name[0] == 0) in OnCallstackEntry()
51 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, "(function-name not available)", in OnCallstackEntry()
53 if (entry.undName[0] != 0) in OnCallstackEntry()
54 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, entry.undName, _TRUNCATE); in OnCallstackEntry()
55 if (entry.undFullName[0] != 0) in OnCallstackEntry()
56 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, entry.undFullName, _TRUNCATE); in OnCallstackEntry()
57 if (entry.lineFileName[0] == 0) in OnCallstackEntry()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/
Dpkg_genc.cpp268 char entry[64]; in writeAssemblyCode() local
269 uint32_t buffer[1024]; in writeAssemblyCode() local
270 char *bufferStr = (char *)buffer; in writeAssemblyCode()
280 getOutFilename(filename, destdir, bufferStr, entry, ".S", optFilename); in writeAssemblyCode()
297 uprv_strcpy(entry, optEntryPoint); in writeAssemblyCode()
298 uprv_strcat(entry, "_dat"); in writeAssemblyCode()
302 length=uprv_strlen(entry); in writeAssemblyCode()
304 if(entry[i]=='-' || entry[i]=='.') { in writeAssemblyCode()
305 entry[i]='_'; in writeAssemblyCode()
310 entry, entry, entry, entry, in writeAssemblyCode()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-morx-table.hh78 const Entry<EntryData> &entry) in is_actionable()
80 return (entry.flags & Verb) && start < end; in is_actionable()
83 const Entry<EntryData> &entry) in transition()
85 hb_buffer_t *buffer = driver->buffer; in transition() local
86 unsigned int flags = entry.flags; in transition()
89 start = buffer->idx; in transition()
92 end = hb_min (buffer->idx + 1, buffer->len); in transition()
128 buffer->merge_clusters (start, hb_min (buffer->idx + 1, buffer->len)); in transition()
129 buffer->merge_clusters (start, end); in transition()
131 hb_glyph_info_t *info = buffer->info; in transition()
[all …]
/third_party/harfbuzz/src/
Dhb-aat-layout-morx-table.hh77 const Entry<EntryData> &entry) in is_actionable()
79 return (entry.flags & Verb) && start < end; in is_actionable()
82 const Entry<EntryData> &entry) in transition()
84 hb_buffer_t *buffer = driver->buffer; in transition() local
85 unsigned int flags = entry.flags; in transition()
88 start = buffer->idx; in transition()
91 end = hb_min (buffer->idx + 1, buffer->len); in transition()
127 buffer->merge_clusters (start, hb_min (buffer->idx + 1, buffer->len)); in transition()
128 buffer->merge_clusters (start, end); in transition()
130 hb_glyph_info_t *info = buffer->info; in transition()
[all …]
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-aat-layout-morx-table.hh77 const Entry<EntryData> &entry) in is_actionable()
79 return (entry.flags & Verb) && start < end; in is_actionable()
82 const Entry<EntryData> &entry) in transition()
84 hb_buffer_t *buffer = driver->buffer; in transition() local
85 unsigned int flags = entry.flags; in transition()
88 start = buffer->idx; in transition()
91 end = hb_min (buffer->idx + 1, buffer->len); in transition()
127 buffer->merge_clusters (start, hb_min (buffer->idx + 1, buffer->len)); in transition()
128 buffer->merge_clusters (start, end); in transition()
130 hb_glyph_info_t *info = buffer->info; in transition()
[all …]
/third_party/skia/third_party/externals/angle2/util/windows/win32/
Dtest_utils_win32.cpp42 void OnCallstackEntry(CallstackEntryType eType, CallstackEntry &entry) override in OnCallstackEntry() argument
44 char buffer[STACKWALK_MAX_NAMELEN]; in OnCallstackEntry() local
46 if ((eType != lastEntry) && (entry.offset != 0)) in OnCallstackEntry()
48 if (entry.name[0] == 0) in OnCallstackEntry()
49 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, "(function-name not available)", in OnCallstackEntry()
51 if (entry.undName[0] != 0) in OnCallstackEntry()
52 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, entry.undName, _TRUNCATE); in OnCallstackEntry()
53 if (entry.undFullName[0] != 0) in OnCallstackEntry()
54 strncpy_s(entry.name, STACKWALK_MAX_NAMELEN, entry.undFullName, _TRUNCATE); in OnCallstackEntry()
55 if (entry.lineFileName[0] == 0) in OnCallstackEntry()
[all …]
/third_party/FreeBSD/sbin/fsck_msdosfs/
Dfat.c361 struct fat32_cache_entry *entry) in fat_flush_fat32_cache_entry() argument
369 if (!entry->dirty) in fat_flush_fat32_cache_entry()
372 writesize = fat_get_iosize(fat, entry->addr); in fat_flush_fat32_cache_entry()
374 fat_addr = fat->fat32_offset + entry->addr; in fat_flush_fat32_cache_entry()
376 (size_t)write(fd, entry->chunk, writesize) != writesize) { in fat_flush_fat32_cache_entry()
381 entry->dirty = false; in fat_flush_fat32_cache_entry()
390 struct fat32_cache_entry *entry, *first; in fat_get_fat32_cache_entry() local
401 TAILQ_FOREACH(entry, &fat->fat32_cache_head, entries) { in fat_get_fat32_cache_entry()
402 if (entry->addr == addr) { in fat_get_fat32_cache_entry()
404 entry->dirty = true; in fat_get_fat32_cache_entry()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
Ddbus_dict_helpers.c616 DBusMessageIter *iter, struct wpa_dbus_dict_entry *entry) in _wpa_dbus_dict_entry_get_byte_array() argument
620 char *buffer, *nbuffer; in _wpa_dbus_dict_entry_get_byte_array() local
622 entry->bytearray_value = NULL; in _wpa_dbus_dict_entry_get_byte_array()
623 entry->array_type = DBUS_TYPE_BYTE; in _wpa_dbus_dict_entry_get_byte_array()
625 buffer = os_calloc(BYTE_ARRAY_CHUNK_SIZE, BYTE_ARRAY_ITEM_SIZE); in _wpa_dbus_dict_entry_get_byte_array()
626 if (!buffer) in _wpa_dbus_dict_entry_get_byte_array()
629 entry->array_len = 0; in _wpa_dbus_dict_entry_get_byte_array()
635 buffer, count + BYTE_ARRAY_CHUNK_SIZE, in _wpa_dbus_dict_entry_get_byte_array()
638 os_free(buffer); in _wpa_dbus_dict_entry_get_byte_array()
644 buffer = nbuffer; in _wpa_dbus_dict_entry_get_byte_array()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
Ddbus_dict_helpers.c616 DBusMessageIter *iter, struct wpa_dbus_dict_entry *entry) in _wpa_dbus_dict_entry_get_byte_array() argument
620 char *buffer, *nbuffer; in _wpa_dbus_dict_entry_get_byte_array() local
622 entry->bytearray_value = NULL; in _wpa_dbus_dict_entry_get_byte_array()
623 entry->array_type = DBUS_TYPE_BYTE; in _wpa_dbus_dict_entry_get_byte_array()
625 buffer = os_calloc(BYTE_ARRAY_CHUNK_SIZE, BYTE_ARRAY_ITEM_SIZE); in _wpa_dbus_dict_entry_get_byte_array()
626 if (!buffer) in _wpa_dbus_dict_entry_get_byte_array()
629 entry->array_len = 0; in _wpa_dbus_dict_entry_get_byte_array()
635 buffer, count + BYTE_ARRAY_CHUNK_SIZE, in _wpa_dbus_dict_entry_get_byte_array()
638 os_free(buffer); in _wpa_dbus_dict_entry_get_byte_array()
644 buffer = nbuffer; in _wpa_dbus_dict_entry_get_byte_array()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageLiteToString.java59 StringBuilder buffer = new StringBuilder(); in toString() local
60 buffer.append("# ").append(commentString); in toString()
61 reflectivePrintWithIndent(messageLite, buffer, 0); in toString()
62 return buffer.toString(); in toString()
72 MessageLite messageLite, StringBuilder buffer, int indent) { in reflectivePrintWithIndent() argument
104 buffer, in reflectivePrintWithIndent()
128 buffer, in reflectivePrintWithIndent()
162 printField(buffer, indent, camelCaseToSnakeCase(camelCase), value); in reflectivePrintWithIndent()
172 Map.Entry<GeneratedMessageLite.ExtensionDescriptor, Object> entry = iter.next(); in reflectivePrintWithIndent() local
173 printField(buffer, indent, "[" + entry.getKey().getNumber() + "]", entry.getValue()); in reflectivePrintWithIndent()
[all …]
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datoms.c1610 guint8 ** buffer, guint64 * size, guint64 * offset) in common_time_info_copy_data() argument
1615 prop_copy_uint32 ((guint32) ti->creation_time, buffer, size, offset); in common_time_info_copy_data()
1616 prop_copy_uint32 ((guint32) ti->modification_time, buffer, size, offset); in common_time_info_copy_data()
1617 prop_copy_uint32 (ti->timescale, buffer, size, offset); in common_time_info_copy_data()
1618 prop_copy_uint32 ((guint32) ti->duration, buffer, size, offset); in common_time_info_copy_data()
1620 prop_copy_uint64 (ti->creation_time, buffer, size, offset); in common_time_info_copy_data()
1621 prop_copy_uint64 (ti->modification_time, buffer, size, offset); in common_time_info_copy_data()
1622 prop_copy_uint32 (ti->timescale, buffer, size, offset); in common_time_info_copy_data()
1623 prop_copy_uint64 (ti->duration, buffer, size, offset); in common_time_info_copy_data()
1629 atom_write_size (guint8 ** buffer, guint64 * size, guint64 * offset, in atom_write_size() argument
[all …]
Dgstisoff.c48 gst_isoff_qt_parse_sidx_entry (GstSidxBoxEntry * entry, GstByteReader * reader) in gst_isoff_qt_parse_sidx_entry() argument
53 entry->ref_type = aux >> 31; in gst_isoff_qt_parse_sidx_entry()
54 entry->size = aux & 0x7FFFFFFF; in gst_isoff_qt_parse_sidx_entry()
55 entry->duration = gst_byte_reader_get_uint32_be_unchecked (reader); in gst_isoff_qt_parse_sidx_entry()
57 entry->starts_with_sap = aux >> 31; in gst_isoff_qt_parse_sidx_entry()
58 entry->sap_type = ((aux >> 28) & 0x7); in gst_isoff_qt_parse_sidx_entry()
59 entry->sap_delta_time = aux & 0xFFFFFFF; in gst_isoff_qt_parse_sidx_entry()
64 const guint8 * buffer, gint length, guint * consumed) in gst_isoff_qt_sidx_parser_add_data() argument
71 gst_byte_reader_init (&reader, buffer, length); in gst_isoff_qt_sidx_parser_add_data()
147 GstSidxBoxEntry *entry = in gst_isoff_qt_sidx_parser_add_data() local
[all …]
/third_party/skia/third_party/externals/brotli/java/org/brotli/integration/
DBundleHelper.java27 ZipEntry entry; in listEntries() local
29 while ((entry = zis.getNextEntry()) != null) { in listEntries()
30 if (!entry.isDirectory()) { in listEntries()
31 result.add(entry.getName()); in listEntries()
43 byte[] buffer = new byte[65536]; in readStream()
45 while ((bytesRead = input.read(buffer)) != -1) { in readStream()
46 result.write(buffer, 0, bytesRead); in readStream()
53 ZipEntry entry; in readEntry() local
55 while ((entry = zis.getNextEntry()) != null) { in readEntry()
56 if (entry.getName().equals(entryName)) { in readEntry()
[all …]
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_cache.c38 destroy_buffer_locked(struct pb_cache_entry *entry) in destroy_buffer_locked() argument
40 struct pb_cache *mgr = entry->mgr; in destroy_buffer_locked()
41 struct pb_buffer *buf = entry->buffer; in destroy_buffer_locked()
44 if (list_is_linked(&entry->head)) { in destroy_buffer_locked()
45 list_del(&entry->head); in destroy_buffer_locked()
61 struct pb_cache_entry *entry; in release_expired_buffers_locked() local
66 entry = LIST_ENTRY(struct pb_cache_entry, curr, head); in release_expired_buffers_locked()
68 if (!os_time_timeout(entry->start, entry->end, current_time)) in release_expired_buffers_locked()
71 destroy_buffer_locked(entry); in release_expired_buffers_locked()
83 pb_cache_add_buffer(struct pb_cache_entry *entry) in pb_cache_add_buffer() argument
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDeviceLostTests.cpp102 wgpu::BindGroupLayoutEntry entry; in TEST_P() local
103 entry.binding = 0; in TEST_P()
104 entry.visibility = wgpu::ShaderStage::None; in TEST_P()
105 entry.buffer.type = wgpu::BufferBindingType::Uniform; in TEST_P()
108 descriptor.entries = &entry; in TEST_P()
137 wgpu::BindGroupEntry entry; in TEST_P() local
138 entry.binding = 0; in TEST_P()
139 entry.sampler = nullptr; in TEST_P()
140 entry.textureView = nullptr; in TEST_P()
141 entry.buffer = nullptr; in TEST_P()
[all …]
DPipelineLayoutTests.cpp32 wgpu::BindGroupLayoutEntry entry; in TEST_P() local
33 entry.binding = i; in TEST_P()
34 entry.visibility = wgpu::ShaderStage::Compute; in TEST_P()
35 entry.buffer.type = wgpu::BufferBindingType::Storage; in TEST_P()
36 entry.buffer.hasDynamicOffset = true; in TEST_P()
38 entries.push_back(entry); in TEST_P()
52 wgpu::BindGroupLayoutEntry entry; in TEST_P() local
53 entry.binding = 0; in TEST_P()
54 entry.visibility = wgpu::ShaderStage::Fragment; in TEST_P()
55 entry.buffer.type = wgpu::BufferBindingType::Storage; in TEST_P()
[all …]
/third_party/ntfs-3g/ntfsprogs/
Dplaylog.c164 void freeclusterentry(struct STORE *entry) in freeclusterentry() argument
166 if (!entry) { in freeclusterentry()
173 (long long)entry->lcn, in freeclusterentry()
175 if (entry->upper) in freeclusterentry()
176 freeclusterentry(entry->upper); in freeclusterentry()
177 if (entry->lower) in freeclusterentry()
178 freeclusterentry(entry->lower); in freeclusterentry()
179 free(entry); in freeclusterentry()
223 static int sanity_indx_list(const char *buffer, u32 k, u32 end) in sanity_indx_list() argument
233 lth = getle16(buffer,k+8); in sanity_indx_list()
[all …]

12345678910>>...44