Home
last modified time | relevance | path

Searched refs:buffer (Results 1176 - 1200 of 15787) sorted by relevance

1...<<41424344454647484950>>...632

/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-coretext.cc513 hb_buffer_t *buffer, in _hb_coretext_shape()
532 if (buffer->cluster_level == HB_BUFFER_CLUSTER_LEVEL_MONOTONE_GRAPHEMES) in _hb_coretext_shape()
534 hb_unicode_funcs_t *unicode = buffer->unicode; in _hb_coretext_shape()
535 unsigned int count = buffer->len; in _hb_coretext_shape()
536 hb_glyph_info_t *info = buffer->info; in _hb_coretext_shape()
539 buffer->merge_clusters (i - 1, i + 1); in _hb_coretext_shape()
688 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
703 ALLOCATE_ARRAY (UniChar, pchars, buffer->len * 2, ((void)nullptr) /*nothing*/); in _hb_coretext_shape()
705 for (unsigned int i = 0; i < buffer->len; i++) { in _hb_coretext_shape()
706 hb_codepoint_t c = buffer in _hb_coretext_shape()
511 _hb_coretext_shape(hb_shape_plan_t *shape_plan, hb_font_t *font, hb_buffer_t *buffer, const hb_feature_t *features, unsigned int num_features) _hb_coretext_shape() argument
[all...]
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dcertificate_openssl_common.c295 char buffer[24]; in Asn1TimeToStr() local
300 if (snprintf_s(buffer, sizeof(buffer), sizeof(buffer) - 1, "%.6s-", time->data + TIME_MON_LEN) < 0 || in Asn1TimeToStr()
301 snprintf_s(buffer + strlen(buffer), sizeof(buffer) - strlen(buffer), sizeof(buffer) - strlen(buffer) in Asn1TimeToStr()
[all...]
/base/time/time_service/services/time/src/
H A Dsntp_client.cpp126 uint64_t SNTPClient::GetNtpTimestamp64(int offset, const char *buffer) in GetNtpTimestamp64() argument
138 valueRx[numOfBit] = buffer[loop]; in GetNtpTimestamp64()
186 void SNTPClient::CreateMessage(char *buffer) in CreateMessage() argument
216 buffer[loop] = value[numOfBit]; in CreateMessage()
220 buffer[INDEX_ZERO] = (_sntpMsg._leapIndicator << SNTP_MSG_OFFSET_SIX) | in CreateMessage()
225 void SNTPClient::ReceivedMessage(char *buffer) in ReceivedMessage() argument
235 _sntpMsg._leapIndicator = buffer[INDEX_ZERO] >> SNTP_MSG_OFFSET_SIX; in ReceivedMessage()
236 _sntpMsg._versionNumber = (buffer[INDEX_ZERO] & VERSION_MASK) >> SNTP_MSG_OFFSET_THREE; in ReceivedMessage()
237 _sntpMsg._mode = (buffer[INDEX_ZERO] & MODE_MASK); in ReceivedMessage()
238 _sntpMsg._stratum = buffer[INDEX_ON in ReceivedMessage()
274 GetNtpField32(int offset, const char *buffer) GetNtpField32() argument
300 GetReferenceId(int offset, char *buffer, int *_outArray) GetReferenceId() argument
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_engine/plugin/plugins/av_trans_input/dsoftbus_input/
H A Ddsoftbus_input_plugin.cpp275 auto buffer = CreateBuffer(metaType, data, resMsg); in OnStreamReceived() local
276 if (buffer != nullptr) { in OnStreamReceived()
277 DataEnqueue(buffer); in OnStreamReceived()
289 auto buffer = Buffer::CreateDefaultBuffer(static_cast<BufferMetaType>(metaType), data->bufLen); in CreateBuffer() local
290 auto bufData = buffer->GetMemory(); in CreateBuffer()
297 AVTRANS_LOGE("write buffer data failed."); in CreateBuffer()
298 return buffer; in CreateBuffer()
306 AVTRANS_LOGE("Unmarshal video buffer eta failed."); in CreateBuffer()
309 buffer->pts = meta->pts_; in CreateBuffer()
310 buffer in CreateBuffer()
320 DataEnqueue(std::shared_ptr<Buffer> &buffer) DataEnqueue() argument
355 std::shared_ptr<Buffer> buffer; HandleData() local
382 PushData(const std::string &inPort, std::shared_ptr<Buffer> buffer, int32_t offset) PushData() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_packet_manager.c279 uint32_t *buffer, size; in pm_send_set_resources() local
286 (unsigned int **)&buffer); in pm_send_set_resources()
287 if (!buffer) { in pm_send_set_resources()
288 pr_err("Failed to allocate buffer on kernel queue\n"); in pm_send_set_resources()
293 retval = pm->pmf->set_resources(pm, buffer, res); in pm_send_set_resources()
350 uint32_t *buffer, size; in pm_send_query_status() local
359 size / sizeof(uint32_t), (unsigned int **)&buffer); in pm_send_query_status()
360 if (!buffer) { in pm_send_query_status()
361 pr_err("Failed to allocate buffer on kernel queue\n"); in pm_send_query_status()
366 retval = pm->pmf->query_status(pm, buffer, fence_addres in pm_send_query_status()
382 uint32_t *buffer, size; pm_send_unmap_queue() local
440 uint32_t *buffer, size; pm_debugfs_hang_hws() local
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-keene.c55 u8 *buffer; member
75 radio->buffer[0] = 0x00; in keene_cmd_main()
76 radio->buffer[1] = 0x50; in keene_cmd_main()
77 radio->buffer[2] = (freq_send >> 8) & 0xff; in keene_cmd_main()
78 radio->buffer[3] = freq_send & 0xff; in keene_cmd_main()
79 radio->buffer[4] = radio->pa; in keene_cmd_main()
85 radio->buffer[5] = (radio->muted ? 4 : 8) | (play ? 1 : 2) | in keene_cmd_main()
87 radio->buffer[6] = 0x00; in keene_cmd_main()
88 radio->buffer[7] = 0x00; in keene_cmd_main()
91 9, 0x21, 0x200, 2, radio->buffer, BUFFER_LENGT in keene_cmd_main()
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Ddell-smbios-base.c177 struct calling_interface_buffer *buffer) in dell_smbios_call_filter()
183 if (buffer->cmd_class > 30) { in dell_smbios_call_filter()
184 dev_dbg(d, "class too big: %u\n", buffer->cmd_class); in dell_smbios_call_filter()
189 if (!(da_supported_commands & (1 << buffer->cmd_class))) { in dell_smbios_call_filter()
197 if (buffer->cmd_class != call_blacklist[i].cmd_class) in dell_smbios_call_filter()
199 if (buffer->cmd_select != call_blacklist[i].cmd_select && in dell_smbios_call_filter()
203 buffer->cmd_class, buffer->cmd_select); in dell_smbios_call_filter()
209 if ((buffer->cmd_class == CLASS_TOKEN_READ || in dell_smbios_call_filter()
210 buffer in dell_smbios_call_filter()
176 dell_smbios_call_filter(struct device *d, struct calling_interface_buffer *buffer) dell_smbios_call_filter() argument
286 dell_smbios_call(struct calling_interface_buffer *buffer) dell_smbios_call() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-keene.c55 u8 *buffer; member
75 radio->buffer[0] = 0x00; in keene_cmd_main()
76 radio->buffer[1] = 0x50; in keene_cmd_main()
77 radio->buffer[2] = (freq_send >> 8) & 0xff; in keene_cmd_main()
78 radio->buffer[3] = freq_send & 0xff; in keene_cmd_main()
79 radio->buffer[4] = radio->pa; in keene_cmd_main()
85 radio->buffer[5] = (radio->muted ? 4 : 8) | (play ? 1 : 2) | in keene_cmd_main()
87 radio->buffer[6] = 0x00; in keene_cmd_main()
88 radio->buffer[7] = 0x00; in keene_cmd_main()
91 9, 0x21, 0x200, 2, radio->buffer, BUFFER_LENGT in keene_cmd_main()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/dell/
H A Ddell-smbios-base.c177 struct calling_interface_buffer *buffer) in dell_smbios_call_filter()
183 if (buffer->cmd_class > 30) { in dell_smbios_call_filter()
184 dev_dbg(d, "class too big: %u\n", buffer->cmd_class); in dell_smbios_call_filter()
189 if (!(da_supported_commands & (1 << buffer->cmd_class))) { in dell_smbios_call_filter()
197 if (buffer->cmd_class != call_blacklist[i].cmd_class) in dell_smbios_call_filter()
199 if (buffer->cmd_select != call_blacklist[i].cmd_select && in dell_smbios_call_filter()
203 buffer->cmd_class, buffer->cmd_select); in dell_smbios_call_filter()
209 if ((buffer->cmd_class == CLASS_TOKEN_READ || in dell_smbios_call_filter()
210 buffer in dell_smbios_call_filter()
176 dell_smbios_call_filter(struct device *d, struct calling_interface_buffer *buffer) dell_smbios_call_filter() argument
286 dell_smbios_call(struct calling_interface_buffer *buffer) dell_smbios_call() argument
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb_noinline_dynptr.c238 __u8 buffer[sizeof(struct ipv6hdr)] = {}; in parse_icmpv6() local
242 icmp_hdr = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer)); in parse_icmpv6()
249 ip6h = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer)); in parse_icmpv6()
287 __u8 buffer[sizeof(struct udphdr)] = {}; in parse_udp() local
290 udp = bpf_dynptr_slice(skb_ptr, off, buffer, sizeof(buffer)); in parse_udp()
307 __u8 buffer[sizeof(struct tcphdr)] = {}; in parse_tcp() local
310 tcp = bpf_dynptr_slice(skb_ptr, off, buffer, sizeo in parse_tcp()
352 __u8 buffer[sizeof(struct ipv6hdr)] = {}; process_packet() local
375 __u8 buffer[sizeof(struct iphdr)] = {}; process_packet() local
460 __u8 buffer[sizeof(struct eth_hdr)] = {}; balancer_ingress() local
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Dunumberformattertst.c61 UChar buffer[CAPACITY]; in TestSkeletonFormatToString() local
75 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
76 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
77 assertUEquals("Should produce expected string result", u"($444,444)", buffer); in TestSkeletonFormatToString()
82 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
83 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
84 assertUEquals("Should produce expected string result", u"($5,142)", buffer); in TestSkeletonFormatToString()
89 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString()
90 assertSuccess("Should print string to buffer without error", &ec); in TestSkeletonFormatToString()
91 assertUEquals("Should produce expected string result", u"$988", buffer); in TestSkeletonFormatToString()
191 UChar* buffer = NULL; TestExampleCode() local
289 char buffer[CAPACITY]; TestToDecimalNumber() local
348 char buffer[BUFFER_LEN]; TestPerUnitInArabic() local
[all...]
/third_party/icu/icu4c/source/i18n/
H A Ducoleitr.cpp57 RCEI *buffer; member
71 buffer = defaultBuffer; in RCEBuffer()
78 if (buffer != defaultBuffer) { in ~RCEBuffer()
79 DELETE_ARRAY(buffer); in ~RCEBuffer()
100 ARRAY_COPY(newBuffer, buffer, bufferSize); in put()
102 if (buffer != defaultBuffer) { in put()
103 DELETE_ARRAY(buffer); in put()
106 buffer = newBuffer; in put()
110 buffer[bufferIndex].ce = ce; in put()
111 buffer[bufferInde in put()
[all...]
/third_party/node/test/common/
H A Dinspector-helper.js34 let buffer = Buffer.alloc(0);
36 const newData = Buffer.concat([buffer, data]);
40 buffer = Buffer.alloc(0);
42 buffer = Buffer.from(lines.pop(), 'utf8');
56 function parseWSFrame(buffer) {
59 if (buffer.length < 2)
61 if (buffer[0] === 0x88 && buffer[1] === 0x00) {
64 assert.strictEqual(buffer[0], 0x81);
65 let dataLen = 0x7F & buffer[
[all...]
/third_party/node/deps/icu-small/source/i18n/
H A Ducoleitr.cpp57 RCEI *buffer; member
71 buffer = defaultBuffer; in RCEBuffer()
78 if (buffer != defaultBuffer) { in ~RCEBuffer()
79 DELETE_ARRAY(buffer); in ~RCEBuffer()
100 ARRAY_COPY(newBuffer, buffer, bufferSize); in put()
102 if (buffer != defaultBuffer) { in put()
103 DELETE_ARRAY(buffer); in put()
106 buffer = newBuffer; in put()
110 buffer[bufferIndex].ce = ce; in put()
111 buffer[bufferInde in put()
[all...]
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dpkg_gencmn.cpp122 static char buffer[4096]; in createCommonDataFile() local
132 fprintf(stderr, "gencmn: unable to allocate memory for line buffer of size %d\n", LINE_BUFFER_SIZE); in createCommonDataFile()
281 length=T_FileStream_read(file, buffer, sizeof(buffer)); in createCommonDataFile()
286 udata_writeBlock(out, buffer, length); in createCommonDataFile()
315 filename=s=buffer; in createCommonDataFile()
341 snprintf(buffer, sizeof(buffer), in createCommonDataFile()
351 T_FileStream_writeLine(out, buffer); in createCommonDataFile()
353 snprintf(buffer, sizeo in createCommonDataFile()
[all...]
/third_party/node/deps/npm/node_modules/qrcode-terminal/vendor/QRCode/
H A Dindex.js60 var buffer = new QRBitBuffer();
68 buffer.put(data.mode, 4);
69 buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber) );
70 data.write(buffer);
72 if (buffer.getLengthInBits() <= totalDataCount * 8)
347 var buffer = new QRBitBuffer();
351 buffer.put(data.mode, 4);
352 buffer.put(data.getLength(), QRUtil.getLengthInBits(data.mode, typeNumber) );
353 data.write(buffer);
362 if (buffer
[all...]
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/
H A DParseRawPrimitivesBenchmark.cs67 // add some extra values that we won't read just to make sure we are far enough from the end of the buffer in GlobalSetup()
74 byte[] buffer = CreateBufferWithRandomVarints(random, BytesToParse / encodedSize, encodedSize, paddingValueCount); in GlobalSetup()
75 varintInputBuffers.Add(encodedSize, buffer); in GlobalSetup()
85 byte[] buffer = CreateBufferWithStrings(BytesToParse / encodedSize, encodedSize, encodedSize < 10 ? 10 : 1 ); in GlobalSetup()
86 stringInputBuffers.Add(encodedSize, buffer); in GlobalSetup()
92 byte[] buffer = CreateBufferWithStrings(BytesToParse / encodedSize, encodedSize, encodedSize < 10 ? 10 : 1); in GlobalSetup()
93 stringInputBuffersSegmented.Add(encodedSize, ReadOnlySequenceFactory.CreateWithContent(buffer, segmentSize: 128, addEmptySegmentDelimiters: false)); in GlobalSetup()
98 // Measuring the time taken to parse buffer of given size makes it easier to compare parsing speed for different
364 private static void InitializeParseContext(byte[] buffer, out ParseContext ctx) in InitializeParseContext() argument
366 ParseContext.Initialize(new ReadOnlySequence<byte>(buffer), ou in InitializeParseContext()
369 InitializeParseContext(ReadOnlySequence<byte> buffer, out ParseContext ctx) InitializeParseContext() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Ducoleitr.cpp57 RCEI *buffer; member
71 buffer = defaultBuffer; in RCEBuffer()
78 if (buffer != defaultBuffer) { in ~RCEBuffer()
79 DELETE_ARRAY(buffer); in ~RCEBuffer()
100 ARRAY_COPY(newBuffer, buffer, bufferSize); in put()
102 if (buffer != defaultBuffer) { in put()
103 DELETE_ARRAY(buffer); in put()
106 buffer = newBuffer; in put()
110 buffer[bufferIndex].ce = ce; in put()
111 buffer[bufferInde in put()
[all...]
/device/soc/rockchip/common/hardware/display/src/display_gralloc/
H A Ddisplay_gralloc_gbm.h37 int32_t GbmAllocMem(const AllocInfo *info, BufferHandle **buffer);
38 void GbmFreeMem(BufferHandle *buffer);
39 void *GbmMmap(BufferHandle *buffer);
40 int32_t GbmUnmap(BufferHandle *buffer);
41 int32_t GbmInvalidateCache(BufferHandle *buffer);
42 int32_t GbmFlushCache(BufferHandle *buffer);
/device/soc/rockchip/rk3399/hardware/display/src/display_gralloc/
H A Ddisplay_gralloc_gbm.h37 int32_t GbmAllocMem(const AllocInfo *info, BufferHandle **buffer);
38 void GbmFreeMem(BufferHandle *buffer);
39 void *GbmMmap(BufferHandle *buffer);
40 int32_t GbmUnmap(BufferHandle *buffer);
41 int32_t GbmInvalidateCache(BufferHandle *buffer);
42 int32_t GbmFlushCache(BufferHandle *buffer);
/test/xts/device_attest/services/core/include/adapter/
H A Dattest_adapter_oem.h46 int32_t OEMReadAuthStatus(char* buffer, uint32_t bufferLen);
56 int32_t OEMWriteNetworkConfig(const char* buffer, uint32_t bufferLen);
58 int32_t OEMReadNetworkConfig(char* buffer, uint32_t bufferLen);
60 int32_t OEMReadDefaultNetworkConfig(char* buffer, uint32_t bufferLen);
64 int32_t OEMReadAuthResultCode(char* buffer, uint32_t bufferLen);
68 int32_t OEMReadFullLoadStatus(char* buffer, uint32_t bufferLen);
/third_party/curl/tests/libtest/
H A Dlib651.c29 static char buffer[17000]; /* more than 16K */ variable
39 /* create a buffer with AAAA...BBBBB...CCCC...etc */ in test()
41 int size = (int)sizeof(buffer)/1000; in test()
44 memset(&buffer[i * 1000], 65 + i, 1000); in test()
46 buffer[ sizeof(buffer)-1] = 0; /* null-terminate */ in test()
56 CURLFORM_COPYCONTENTS, buffer, in test()
/third_party/libunwind/libunwind/src/mi/
H A Dbacktrace.c36 slow_backtrace (void **buffer, int size, unw_context_t *uc) in slow_backtrace() argument
52 buffer[n++] = (void *) (uintptr_t) ip; in slow_backtrace()
58 unw_backtrace (void **buffer, int size) in unw_backtrace() argument
69 if (unlikely (tdep_trace (&cursor, buffer, &n) < 0)) in unw_backtrace()
72 return slow_backtrace (buffer, size, &uc); in unw_backtrace()
79 extern int backtrace (void **buffer, int size)
/third_party/skia/third_party/externals/angle2/src/common/
H A Dsystem_utils_apple.cpp31 std::vector<char> buffer; in GetExecutablePath() local
32 buffer.resize(size + 1); in GetExecutablePath()
34 _NSGetExecutablePath(buffer.data(), &size); in GetExecutablePath()
35 buffer[size] = '\0'; in GetExecutablePath()
37 if (!strrchr(buffer.data(), '/')) in GetExecutablePath()
41 return buffer.data(); in GetExecutablePath()
/third_party/skia/third_party/externals/libpng/contrib/examples/
H A Dpngtopng.c42 png_bytep buffer; in main() local
49 buffer = malloc(PNG_IMAGE_SIZE(image)); in main()
51 if (buffer != NULL) in main()
53 if (png_image_finish_read(&image, NULL/*background*/, buffer, in main()
57 0/*convert_to_8bit*/, buffer, 0/*row_stride*/, in main()
70 free(buffer); in main()

Completed in 14 milliseconds

1...<<41424344454647484950>>...632