| /third_party/libdrm/tegra/ |
| H A D | pushbuf.c | 54 * drm_tegra_pushbuf_begin() - prepare push buffer for a series of pushes 55 * @pushbuf: push buffer 129 struct drm_tegra_submit_buf *buffers, *buffer; in drm_tegra_pushbuf_relocate() local 133 size = (job->num_buffers + 1) * sizeof(*buffer); in drm_tegra_pushbuf_relocate() 139 buffer = &buffers[job->num_buffers]; in drm_tegra_pushbuf_relocate() 141 memset(buffer, 0, sizeof(*buffer)); in drm_tegra_pushbuf_relocate() 142 buffer->mapping = target->id; in drm_tegra_pushbuf_relocate() 143 buffer->flags = flags; in drm_tegra_pushbuf_relocate() 144 buffer in drm_tegra_pushbuf_relocate() [all...] |
| /third_party/mesa3d/src/gallium/drivers/lima/ |
| H A D | lima_disk_cache.c | 110 void *buffer = disk_cache_get(cache, cache_key, &size); in lima_vs_disk_cache_retrieve() local 113 fprintf(stderr, "%s\n", buffer ? "found" : "missing"); in lima_vs_disk_cache_retrieve() 115 if (!buffer) in lima_vs_disk_cache_retrieve() 123 blob_reader_init(&blob, buffer, size); in lima_vs_disk_cache_retrieve() 135 free(buffer); in lima_vs_disk_cache_retrieve() 162 void *buffer = disk_cache_get(cache, cache_key, &size); in lima_fs_disk_cache_retrieve() local 165 fprintf(stderr, "%s\n", buffer ? "found" : "missing"); in lima_fs_disk_cache_retrieve() 167 if (!buffer) in lima_fs_disk_cache_retrieve() 175 blob_reader_init(&blob, buffer, size); in lima_fs_disk_cache_retrieve() 183 free(buffer); in lima_fs_disk_cache_retrieve() [all...] |
| /third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/enc/ |
| H A D | Encoder.java | 21 private ByteBuffer buffer; field in Encoder 67 * @param inputBufferSize read buffer size 72 throw new IllegalArgumentException("buffer size must be positive"); in Encoder() 96 while (buffer != null) { in pushOutput() 97 if (buffer.hasRemaining()) { in pushOutput() 98 destination.write(buffer); in pushOutput() 100 if (!buffer.hasRemaining()) { in pushOutput() 101 buffer = null; in pushOutput() 126 buffer = encoder.pull(); in encode() 157 * Encodes the given data buffer [all...] |
| /third_party/skia/third_party/externals/dawn/src/dawn_native/ |
| H A D | ProgrammableEncoder.cpp | 136 // BGL creation sorts bindings such that the dynamic buffer bindings are first. in ValidateSetBindGroup() 139 ASSERT(bindingInfo.buffer.hasDynamicOffset); in ValidateSetBindGroup() 142 switch (bindingInfo.buffer.type) { in ValidateSetBindGroup() 162 // <= buffer size. in ValidateSetBindGroup() 163 ASSERT(bufferBinding.buffer->GetSize() >= bufferBinding.size); in ValidateSetBindGroup() 164 ASSERT(bufferBinding.buffer->GetSize() - bufferBinding.size >= bufferBinding.offset); in ValidateSetBindGroup() 167 bufferBinding.buffer->GetSize() - bufferBinding.offset - bufferBinding.size)) { in ValidateSetBindGroup() 169 (bufferBinding.buffer->GetSize() - bufferBinding.offset) == bufferBinding.size, in ValidateSetBindGroup() 171 "range of (offset: %u, size: %u). The binding goes to the end of the buffer " in ValidateSetBindGroup() 174 static_cast<uint32_t>(i), dynamicOffsets[i], bufferBinding.buffer, in ValidateSetBindGroup() [all...] |
| /third_party/skia/third_party/externals/harfbuzz/util/ |
| H A D | shape-format.hh | 37 void serialize (hb_buffer_t *buffer, 44 void serialize_buffer_of_text (hb_buffer_t *buffer, 54 void serialize_buffer_of_glyphs (hb_buffer_t *buffer, 100 shape_format_options_t::serialize (hb_buffer_t *buffer, in serialize() argument 106 unsigned int num_glyphs = hb_buffer_get_length (buffer); in serialize() 113 start += hb_buffer_serialize (buffer, start, num_glyphs, in serialize() 130 shape_format_options_t::serialize_buffer_of_text (hb_buffer_t *buffer, in serialize_buffer_of_text() argument 149 serialize (buffer, font, HB_BUFFER_SERIALIZE_FORMAT_TEXT, HB_BUFFER_SERIALIZE_FLAG_DEFAULT, gs); in serialize_buffer_of_text() 164 shape_format_options_t::serialize_buffer_of_glyphs (hb_buffer_t *buffer, in serialize_buffer_of_glyphs() argument 174 serialize (buffer, fon in serialize_buffer_of_glyphs() [all...] |
| /third_party/skia/third_party/externals/dng_sdk/source/ |
| H A D | dng_image.h | 76 dng_tile_buffer (const dng_tile_buffer &buffer); 78 dng_tile_buffer & operator= (const dng_tile_buffer &buffer); 250 /// Get a pixel buffer of data on image with proper edge padding. 251 /// \param buffer Receives resulting pixel buffer. 258 void Get (dng_pixel_buffer &buffer, 263 /// Put a pixel buffer into image. 264 /// \param buffer Pixel buffer to copy from. 266 void Put (const dng_pixel_buffer &buffer); [all...] |
| /third_party/rust/crates/clap/clap_complete/src/shells/ |
| H A D | fish.rs | 23 let mut buffer = String::new(); in generate() variables 24 gen_fish_inner(bin_name, &[], cmd, &mut buffer); in generate() 25 w!(buf, buffer.as_bytes()); in generate() 43 buffer: &mut String, in gen_fish_inner() 107 buffer.push_str(template.as_str()); in gen_fish_inner() 108 buffer.push('\n'); in gen_fish_inner() 131 buffer.push_str(template.as_str()); in gen_fish_inner() 132 buffer.push('\n'); in gen_fish_inner() 145 buffer.push_str(template.as_str()); in gen_fish_inner() 146 buffer in gen_fish_inner() [all...] |
| /kernel/linux/linux-5.10/drivers/ide/ |
| H A D | ide-acpi.c | 215 * @gtf_address: buffer containing _GTF taskfile arrays 221 * allocate the buffer as needed and return it, then free it later. 244 /* Setting up output buffer */ in do_drive_get_GTF() 277 if (!out_obj->buffer.length || !out_obj->buffer.pointer || in do_drive_get_GTF() 278 out_obj->buffer.length % REGS_PER_GTF) { in do_drive_get_GTF() 281 __func__, out_obj->buffer.length, in do_drive_get_GTF() 282 out_obj->buffer.pointer); in do_drive_get_GTF() 288 *gtf_length = out_obj->buffer.length; in do_drive_get_GTF() 289 *gtf_address = (unsigned long)out_obj->buffer in do_drive_get_GTF() [all...] |
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| H A D | dell_rbu.c | 259 /* point to the offset in the packet buffer */ in do_packet_read() 263 * * the incoming buffer in do_packet_read() 302 * check if we reached end of buffer before reaching the in packet_read_list() 338 * img_update_free: Frees the buffer allocated for storing BIOS image 346 * zero out this buffer before freeing it to get rid of any stale in img_update_free() 380 * check if the buffer of sufficient size has been in img_update_realloc() 392 * we have a valid pre-allocated buffer with in img_update_realloc() 399 * free any previously allocated buffer in img_update_realloc() 425 static ssize_t read_packet_data(char *buffer, loff_t pos, size_t count) in read_packet_data() argument 430 char *ptempBuf = buffer; in read_packet_data() 462 read_rbu_mono_data(char *buffer, loff_t pos, size_t count) read_rbu_mono_data() argument 477 data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) data_read() argument 532 image_type_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) image_type_read() argument 542 image_type_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) image_type_write() argument 602 packet_size_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) packet_size_read() argument 615 packet_size_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) packet_size_write() argument [all...] |
| /kernel/linux/linux-6.6/drivers/platform/x86/dell/ |
| H A D | dell_rbu.c | 259 /* point to the offset in the packet buffer */ in do_packet_read() 263 * * the incoming buffer in do_packet_read() 302 * check if we reached end of buffer before reaching the in packet_read_list() 338 * img_update_free: Frees the buffer allocated for storing BIOS image 346 * zero out this buffer before freeing it to get rid of any stale in img_update_free() 380 * check if the buffer of sufficient size has been in img_update_realloc() 392 * we have a valid pre-allocated buffer with in img_update_realloc() 399 * free any previously allocated buffer in img_update_realloc() 425 static ssize_t read_packet_data(char *buffer, loff_t pos, size_t count) in read_packet_data() argument 430 char *ptempBuf = buffer; in read_packet_data() 462 read_rbu_mono_data(char *buffer, loff_t pos, size_t count) read_rbu_mono_data() argument 477 data_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) data_read() argument 532 image_type_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) image_type_read() argument 542 image_type_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) image_type_write() argument 602 packet_size_read(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) packet_size_read() argument 615 packet_size_write(struct file *filp, struct kobject *kobj, struct bin_attribute *bin_attr, char *buffer, loff_t pos, size_t count) packet_size_write() argument [all...] |
| /third_party/ltp/lib/ |
| H A D | tst_rtnetlink.c | 23 char *buffer; member 41 buf = safe_realloc(file, lineno, ctx->buffer, size); in tst_rtnl_grow_buffer() 47 offset = ((char *)ctx->curmsg) - ctx->buffer; in tst_rtnl_grow_buffer() 48 ctx->buffer = buf; in tst_rtnl_grow_buffer() 59 free(ctx->buffer); in tst_rtnl_destroy_context() 76 ctx->buffer = NULL; in tst_rtnl_create_context() 94 ctx->buffer = safe_malloc(file, lineno, NULL, ctx->bufsize); in tst_rtnl_create_context() 96 if (!ctx->buffer) { in tst_rtnl_create_context() 101 memset(ctx->buffer, 0, ctx->bufsize); in tst_rtnl_create_context() 111 // all ptr->header and ptr->info pointers point to the same buffer in tst_rtnl_free_message() 169 char tmp, *tmpbuf, *buffer = NULL; tst_rtnl_recv() local [all...] |
| /third_party/skia/third_party/externals/libjpeg-turbo/simd/arm/aarch64/ |
| H A D | jsimd.c | 46 check_cpuinfo(char *buffer, const char *field, char *value) in check_cpuinfo() argument 52 if (strncmp(buffer, field, strlen(field)) != 0) in check_cpuinfo() 54 buffer += strlen(field); in check_cpuinfo() 55 while (isspace(*buffer)) in check_cpuinfo() 56 buffer++; in check_cpuinfo() 58 /* Check if 'value' is present in the buffer as a separate word */ in check_cpuinfo() 59 while ((p = strstr(buffer, value))) { in check_cpuinfo() 60 if (p > buffer && !isspace(*(p - 1))) { in check_cpuinfo() 61 buffer++; in check_cpuinfo() 66 buffer in check_cpuinfo() 77 char *buffer = (char *)malloc(bufsize); parse_proc_cpuinfo() local 994 jsimd_huff_encode_one_block(void *state, JOCTET *buffer, JCOEFPTR block, int last_dc_val, c_derived_tbl *dctbl, c_derived_tbl *actbl) jsimd_huff_encode_one_block() argument [all...] |
| /third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
| H A D | D3D12ResidencyTests.cpp | 48 // Initialize a source buffer on the GPU to serve as a source to quickly copy data to other 94 bool CheckAllocationMethod(wgpu::Buffer buffer, in CheckAllocationMethod() argument 97 dawn_native::d3d12::ToBackend(dawn_native::FromAPI((buffer.Get()))); in CheckAllocationMethod() 101 bool CheckIfBufferIsResident(wgpu::Buffer buffer) const { in CheckIfBufferIsResident() 103 dawn_native::d3d12::ToBackend(dawn_native::FromAPI((buffer.Get()))); in CheckIfBufferIsResident() 144 // Touch one of the non-resident buffers. This should cause the buffer to become resident. in TEST_P() 147 // Check that this buffer is now resident. in TEST_P() 150 // Touch everything in bufferSet2 again to evict the buffer made resident in the previous in TEST_P() 182 // Touch one of the non-resident buffers. This should cause the buffer to become resident. in TEST_P() 187 // Touch everything in bufferSet2 again to evict the buffer mad in TEST_P() 197 wgpu::Buffer buffer = CreateBuffer(4, kMapReadBufferUsage); TEST_P() local 247 wgpu::Buffer buffer = CreateBuffer(4, kMapWriteBufferUsage); TEST_P() local [all...] |
| /kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_acpi.c | 83 * Returns a pointer to the acpi output buffer. 92 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; in amdgpu_atif_call() local 102 atif_arg_elements[1].buffer.length = params->length; in amdgpu_atif_call() 103 atif_arg_elements[1].buffer.pointer = params->pointer; in amdgpu_atif_call() 111 &buffer); in amdgpu_atif_call() 117 kfree(buffer.pointer); in amdgpu_atif_call() 121 return buffer.pointer; in amdgpu_atif_call() 189 size = *(u16 *) info->buffer.pointer; in amdgpu_atif_verify_interface() 191 DRM_INFO("ATIF buffer is too small: %zu\n", size); in amdgpu_atif_verify_interface() 197 memcpy(&output, info->buffer in amdgpu_atif_verify_interface() 214 struct acpi_buffer buffer = { sizeof(acpi_method_name), acpi_method_name }; amdgpu_atif_probe_handle() local 502 struct acpi_buffer buffer = { ACPI_ALLOCATE_BUFFER, NULL }; amdgpu_atcs_call() local [all...] |
| /kernel/linux/linux-5.10/sound/core/ |
| H A D | info.c | 147 static ssize_t snd_info_entry_read(struct file *file, char __user *buffer, in snd_info_entry_read() argument 163 file, buffer, size, pos); in snd_info_entry_read() 169 static ssize_t snd_info_entry_write(struct file *file, const char __user *buffer, in snd_info_entry_write() argument 184 file, buffer, count, pos); in snd_info_entry_write() 301 const char __user *buffer, in snd_info_text_entry_write() 336 kvfree(buf->buffer); in snd_info_text_entry_write() 337 buf->buffer = nbuf; in snd_info_text_entry_write() 340 if (copy_from_user(buf->buffer + pos, buffer, count)) { in snd_info_text_entry_write() 361 data->rbuffer->buffer in snd_info_seq_show() 300 snd_info_text_entry_write(struct file *file, const char __user *buffer, size_t count, loff_t *offset) snd_info_text_entry_write() argument 490 snd_card_id_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_card_id_read() argument 610 snd_info_get_line(struct snd_info_buffer *buffer, char *line, int len) snd_info_get_line() argument 878 snd_card_rw_proc_new(struct snd_card *card, const char *name, void *private_data, void (*read)(struct snd_info_entry *, struct snd_info_buffer *), void (*write)(struct snd_info_entry *entry, struct snd_info_buffer *buffer)) snd_card_rw_proc_new() argument 903 snd_info_version_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_info_version_read() argument [all...] |
| /kernel/linux/linux-5.10/lib/mpi/ |
| H A D | mpicoder.c | 38 const uint8_t *buffer = xbuffer; in mpi_read_raw_data() local 44 while (nbytes > 0 && buffer[0] == 0) { in mpi_read_raw_data() 45 buffer++; in mpi_read_raw_data() 55 nbits -= count_leading_zeros(buffer[0]) - (BITS_PER_LONG - 8); in mpi_read_raw_data() 72 a |= *buffer++; in mpi_read_raw_data() 84 const uint8_t *buffer = xbuffer; in mpi_read_from_buffer() local 90 nbits = buffer[0] << 8 | buffer[1]; in mpi_read_from_buffer() 99 pr_info("MPI: mpi larger than buffer nbytes=%u ret_nread=%u\n", in mpi_read_from_buffer() 104 val = mpi_read_raw_data(buffer in mpi_read_from_buffer() 555 mpi_print(enum gcry_mpi_format format, unsigned char *buffer, size_t buflen, size_t *nwritten, MPI a) mpi_print() argument [all...] |
| /kernel/linux/linux-6.6/sound/core/ |
| H A D | info.c | 146 static ssize_t snd_info_entry_read(struct file *file, char __user *buffer, in snd_info_entry_read() argument 162 file, buffer, size, pos); in snd_info_entry_read() 168 static ssize_t snd_info_entry_write(struct file *file, const char __user *buffer, in snd_info_entry_write() argument 183 file, buffer, count, pos); in snd_info_entry_write() 300 const char __user *buffer, in snd_info_text_entry_write() 335 kvfree(buf->buffer); in snd_info_text_entry_write() 336 buf->buffer = nbuf; in snd_info_text_entry_write() 339 if (copy_from_user(buf->buffer + pos, buffer, count)) { in snd_info_text_entry_write() 360 data->rbuffer->buffer in snd_info_seq_show() 299 snd_info_text_entry_write(struct file *file, const char __user *buffer, size_t count, loff_t *offset) snd_info_text_entry_write() argument 489 snd_card_id_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_card_id_read() argument 609 snd_info_get_line(struct snd_info_buffer *buffer, char *line, int len) snd_info_get_line() argument 879 snd_card_rw_proc_new(struct snd_card *card, const char *name, void *private_data, void (*read)(struct snd_info_entry *, struct snd_info_buffer *), void (*write)(struct snd_info_entry *entry, struct snd_info_buffer *buffer)) snd_card_rw_proc_new() argument 904 snd_info_version_read(struct snd_info_entry *entry, struct snd_info_buffer *buffer) snd_info_version_read() argument [all...] |
| /kernel/linux/linux-6.6/lib/crypto/mpi/ |
| H A D | mpicoder.c | 38 const uint8_t *buffer = xbuffer; in mpi_read_raw_data() local 44 while (nbytes > 0 && buffer[0] == 0) { in mpi_read_raw_data() 45 buffer++; in mpi_read_raw_data() 55 nbits -= count_leading_zeros(buffer[0]) - (BITS_PER_LONG - 8); in mpi_read_raw_data() 72 a |= *buffer++; in mpi_read_raw_data() 84 const uint8_t *buffer = xbuffer; in mpi_read_from_buffer() local 90 nbits = buffer[0] << 8 | buffer[1]; in mpi_read_from_buffer() 99 pr_info("MPI: mpi larger than buffer nbytes=%u ret_nread=%u\n", in mpi_read_from_buffer() 104 val = mpi_read_raw_data(buffer in mpi_read_from_buffer() 555 mpi_print(enum gcry_mpi_format format, unsigned char *buffer, size_t buflen, size_t *nwritten, MPI a) mpi_print() argument [all...] |
| /third_party/ffmpeg/libavcodec/ |
| H A D | get_bits.h | 43 * don't read past input buffer boundaries. This is protected 62 const uint8_t *buffer, *buffer_end; member 154 AV_RL64((gb)->buffer + (name ## _index >> 3)) >> (name ## _index & 7) 157 AV_RB64((gb)->buffer + (name ## _index >> 3)) >> (32 - (name ## _index & 7)) 162 AV_RL32((gb)->buffer + (name ## _index >> 3)) >> (name ## _index & 7) 165 AV_RB32((gb)->buffer + (name ## _index >> 3)) << (name ## _index & 7) 232 if (s->index >> 3 >= s->buffer_end - s->buffer) in refill_32() 237 s->cache = (uint64_t)AV_RL32(s->buffer + (s->index >> 3)) << s->bits_left | s->cache; in refill_32() 239 s->cache = s->cache | (uint64_t)AV_RB32(s->buffer + (s->index >> 3)) << (32 - s->bits_left); in refill_32() 247 if (s->index >> 3 >= s->buffer_end - s->buffer) in refill_64() [all...] |
| /third_party/icu/icu4c/source/i18n/ |
| H A D | collationkeys.cpp | 69 // Do not write ignored bytes right at the end of the buffer. in GetAppendBuffer() 89 * uint8_t byte buffer, similar to CharString but simpler. 100 const uint8_t *data() const { return buffer.getAlias(); } in data() 101 uint8_t operator[](int32_t index) const { return buffer[index]; } in operator []() 103 uint8_t *data() { return buffer.getAlias(); } in data() 112 U_ASSERT(len > 0 && buffer[len - 1] == 1); in appendTo() 113 sink.Append(reinterpret_cast<const char *>(buffer.getAlias()), len - 1); in appendTo() 117 MaybeStackArray<uint8_t, 40> buffer; member in __anon3310::SortKeyLevel 128 if(len < buffer.getCapacity() || ensureCapacity(1)) { in appendByte() 129 buffer[le in appendByte() 336 char buffer[3] = { p2, (char)(p >> 8), (char)p }; writeSortKeyUpToQuaternary() local [all...] |
| /third_party/mesa3d/src/gallium/drivers/radeonsi/ |
| H A D | si_sdma_copy_image.c | 38 if (src->buffer.b.b.nr_samples > 1 || dst->buffer.b.b.nr_samples > 1) in si_prepare_for_sdma_copy() 41 if (dst->buffer.b.b.last_level != 0 || src->buffer.b.b.last_level != 0) in si_prepare_for_sdma_copy() 116 uint64_t dst_address = sdst->buffer.gpu_address + sdst->surface.u.gfx9.surf_offset; in si_sdma_v4_v5_copy_texture() 117 uint64_t src_address = ssrc->buffer.gpu_address + ssrc->surface.u.gfx9.surf_offset; in si_sdma_v4_v5_copy_texture() 120 unsigned copy_width = DIV_ROUND_UP(ssrc->buffer.b.b.width0, ssrc->surface.blk_w); in si_sdma_v4_v5_copy_texture() 121 unsigned copy_height = DIV_ROUND_UP(ssrc->buffer.b.b.height0, ssrc->surface.blk_h); in si_sdma_v4_v5_copy_texture() 123 bool tmz = (ssrc->buffer.flags & RADEON_FLAG_ENCRYPTED); in si_sdma_v4_v5_copy_texture() 124 assert (!tmz || (sdst->buffer in si_sdma_v4_v5_copy_texture() [all...] |
| /third_party/node/deps/v8/src/wasm/ |
| H A D | streaming-decoder.cc | 35 // The buffer passed into OnBytesReceived is owned by the caller. 95 // state provides a buffer to store the bytes required for the current state, 132 // The buffer to store the received bytes. 133 virtual base::Vector<uint8_t> buffer() = 0; 156 // Creates a buffer for the next section of the module. 173 if (!processor_->ProcessModuleHeader(state_->buffer(), 0)) Fail(); in ProcessModuleHeader() 176 void ProcessSection(SectionBuffer* buffer) { in ProcessSection() argument 179 buffer->section_code(), buffer->payload(), in ProcessSection() 180 buffer in ProcessSection() [all...] |
| /third_party/node/deps/icu-small/source/i18n/ |
| H A D | collationkeys.cpp | 69 // Do not write ignored bytes right at the end of the buffer. in GetAppendBuffer() 89 * uint8_t byte buffer, similar to CharString but simpler. 100 const uint8_t *data() const { return buffer.getAlias(); } in data() 101 uint8_t operator[](int32_t index) const { return buffer[index]; } in operator []() 103 uint8_t *data() { return buffer.getAlias(); } in data() 112 U_ASSERT(len > 0 && buffer[len - 1] == 1); in appendTo() 113 sink.Append(reinterpret_cast<const char *>(buffer.getAlias()), len - 1); in appendTo() 117 MaybeStackArray<uint8_t, 40> buffer; member in __anon11961::SortKeyLevel 128 if(len < buffer.getCapacity() || ensureCapacity(1)) { in appendByte() 129 buffer[le in appendByte() 336 char buffer[3] = { p2, (char)(p >> 8), (char)p }; writeSortKeyUpToQuaternary() local [all...] |
| /third_party/skia/third_party/externals/icu/source/i18n/ |
| H A D | collationkeys.cpp | 69 // Do not write ignored bytes right at the end of the buffer. in GetAppendBuffer() 89 * uint8_t byte buffer, similar to CharString but simpler. 100 const uint8_t *data() const { return buffer.getAlias(); } in data() 101 uint8_t operator[](int32_t index) const { return buffer[index]; } in operator []() 103 uint8_t *data() { return buffer.getAlias(); } in data() 112 U_ASSERT(len > 0 && buffer[len - 1] == 1); in appendTo() 113 sink.Append(reinterpret_cast<const char *>(buffer.getAlias()), len - 1); in appendTo() 117 MaybeStackArray<uint8_t, 40> buffer; member in __anon21189::SortKeyLevel 128 if(len < buffer.getCapacity() || ensureCapacity(1)) { in appendByte() 129 buffer[le in appendByte() 336 char buffer[3] = { p2, (char)(p >> 8), (char)p }; writeSortKeyUpToQuaternary() local [all...] |
| /third_party/ntfs-3g/ntfsprogs/ |
| H A D | ntfsundelete.c | 131 static int win32_strftime(char *buffer, int size, const char *format, in win32_strftime() argument 137 ret = snprintf(buffer, size, "%4d-%02d-%02d %02d:%02d", in win32_strftime() 141 ret = snprintf(buffer, size, "%4d-%02d-%02d", in win32_strftime() 1565 char buffer[20]; in dump_record() local 1574 strftime(buffer, sizeof(buffer), "%F %R", localtime(&file->date)); in dump_record() 1575 ntfs_log_quiet("Date: %s\n", buffer); in dump_record() 1614 strftime(buffer, sizeof(buffer), "%F %R", in dump_record() 1616 ntfs_log_quiet("Date C: %s\n", buffer); in dump_record() 1689 char buffer[20]; list_record() local 1792 write_data(int fd, const char *buffer, unsigned int bufsize) write_data() argument 1840 create_pathname(const char *dir, const char *name, const char *stream, char *buffer, int bufsize) create_pathname() argument 1969 char *buffer = NULL; undelete_file() local 2221 char *buffer = NULL; scan_disk() local 2354 char *buffer; copy_mft() local [all...] |