/base/startup/appspawn/test/unittest/app_spawn_standard_test/ |
H A D | app_spawn_sandbox_new_test.cpp | 747 reinterpret_cast<uint8_t *>(const_cast<char *>(hspListStr)), strlen(hspListStr) + 1); in HWTEST_F() 789 reinterpret_cast<uint8_t *>(const_cast<char *>(dataGroupInfoListStr)), strlen(dataGroupInfoListStr) + 1); in HWTEST_F() 831 reinterpret_cast<uint8_t *>(const_cast<char *>(overlayInfo)), strlen(overlayInfo) + 1); in HWTEST_F() 889 reinterpret_cast<uint8_t *>(const_cast<char *>(testInfo)), strlen(testInfo) + 1); in HWTEST_F()
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | canvas_component.cpp | 584 size_t nameLength = (defaultFontName != nullptr) ? strlen(defaultFontName) : 0; in FontGetter() 2009 size_t strLen = strlen(src) + 1; in ParseImageName() 2019 if (strlen(imageName) < 1) { in ParseImageName() 2185 if (strlen(font) >= UINT16_MAX) { in GetSubFont()
|
/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/ |
H A D | disc_ble.c | 829 strlen(info->custData)); in AssembleCustData() 908 uint32_t validLen = (strlen(info->devName) + 1 > remainLen) ? remainLen : strlen(info->devName) + 1; in GetBroadcastData() 913 (void)AssembleTLV(broadcastData, TLV_TYPE_DEVICE_NAME, (const void *)deviceName, strlen(deviceName) + 1); in GetBroadcastData()
|
/kernel/linux/linux-5.10/block/ |
H A D | sed-opal.c | 1946 size_t strlen; in get_msid_cpin_pin() local 1953 strlen = response_get_string(&dev->parsed, 4, &msid_pin); in get_msid_cpin_pin() 1959 dev->prev_data = kmemdup(msid_pin, strlen, GFP_KERNEL); in get_msid_cpin_pin() 1963 dev->prev_d_len = strlen; in get_msid_cpin_pin()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
H A D | debug.c | 447 size_t len = strlen(buf); in ath10k_fw_stats_read() 531 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash() 1678 size_t len = strlen(buf); in ath10k_tpc_stats_read() 2342 unsigned int len = strlen(buf); in ath10k_tpc_stats_final_read()
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_tcm.c | 1327 len = strlen(n); in usbg_check_wwn() 1656 if (strlen(page) >= USBG_NAMELEN) { in tcm_usbg_tpg_nexus_store() 1671 if (i_port[strlen(i_port) - 1] == '\n') in tcm_usbg_tpg_nexus_store() 1672 i_port[strlen(i_port) - 1] = '\0'; in tcm_usbg_tpg_nexus_store()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | serial_core.c | 1946 strlen(stat_buf) - 2) in uart_line_info() 1950 strlen(stat_buf) - 2) in uart_line_info() 3236 int sysrq_toggle_seq_len = strlen(sysrq_toggle_seq); in uart_sysrq_on() 3257 int sysrq_toggle_seq_len = strlen(sysrq_toggle_seq); in uart_try_toggle_sysrq()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | session.c | 565 data += PERF_ALIGN(strlen(data) + 1, sizeof(u64)); in perf_event__comm_swap() 582 data += PERF_ALIGN(strlen(data) + 1, sizeof(u64)); in perf_event__mmap_swap() 603 data += PERF_ALIGN(strlen(data) + 1, sizeof(u64)); in perf_event__mmap2_swap() 721 data += PERF_ALIGN(strlen(data) + 1, sizeof(u64)); in perf_event__cgroup_swap()
|
/kernel/linux/linux-5.10/lib/ |
H A D | vsprintf.c | 972 if (isdigit(hd->disk_name[strlen(hd->disk_name)-1])) { in bdev_name() 2950 len = strlen(save_str) + 1; in vbin_printf() 3126 args += strlen(str_arg) + 1; in bstr_printf() 3150 len = copy = strlen(args); in bstr_printf()
|
/kernel/linux/linux-5.10/net/netfilter/ipset/ |
H A D | ip_set_core.c | 344 size_t len = ext->comment ? strlen(ext->comment) : 0; in ip_set_init_comment() 347 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 359 set->ext_size += sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 389 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_comment_free()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_debugfs.c | 108 item_len = strlen(items[i].name) + items[i].interval; in hclge_dbg_fill_content() 113 if (item_len < strlen(result[i])) in hclge_dbg_fill_content() 115 memcpy(pos, result[i], strlen(result[i])); in hclge_dbg_fill_content() 117 memcpy(pos, items[i].name, strlen(items[i].name)); in hclge_dbg_fill_content()
|
/kernel/linux/linux-6.6/drivers/vhost/ |
H A D | scsi.c | 2363 if (strlen(page) >= VHOST_SCSI_NAMELEN) { in vhost_scsi_tpg_nexus_store() 2410 if (i_port[strlen(i_port)-1] == '\n') in vhost_scsi_tpg_nexus_store() 2411 i_port[strlen(i_port)-1] = '\0'; in vhost_scsi_tpg_nexus_store() 2529 if (strlen(name) >= VHOST_SCSI_NAMELEN) { in vhost_scsi_make_tport()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | debug.c | 448 size_t len = strlen(buf); in ath10k_fw_stats_read() 532 return simple_read_from_buffer(user_buf, count, ppos, buf, strlen(buf)); in ath10k_read_simulate_fw_crash() 1679 size_t len = strlen(buf); in ath10k_tpc_stats_read() 2343 unsigned int len = strlen(buf); in ath10k_tpc_stats_final_read()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-c2c.c | 2763 int i, j, olen = strlen(orig); in fill_line() 3070 if (!input_name || !strlen(input_name)) in perf_c2c__report() 3351 if (strlen(argv[0]) > 2 && strstarts("record", argv[0])) { in cmd_c2c() 3353 } else if (strlen(argv[0]) > 2 && strstarts("report", argv[0])) { in cmd_c2c()
|
/kernel/linux/linux-6.6/net/netfilter/ipset/ |
H A D | ip_set_core.c | 344 size_t len = ext->comment ? strlen(ext->comment) : 0; in ip_set_init_comment() 347 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 359 set->ext_size += sizeof(*c) + strlen(c->str) + 1; in ip_set_init_comment() 389 set->ext_size -= sizeof(*c) + strlen(c->str) + 1; in ip_set_comment_free()
|
/third_party/curl/lib/vtls/ |
H A D | sectransp.c | 1057 attr.length = (UInt32)strlen(label); in CopyIdentityWithLabelOldSchool() 1205 strlen(cPath), false); in CopyIdentityFromPKCS12File() 2003 err = SSLSetPeerDomainName(backend->ssl_ctx, server, strlen(server)); 2071 ssl_sessionid_len = strlen(ssl_sessionid);
|
/third_party/backends/backend/escl/ |
H A D | escl.c | 336 size_t size = strlen (strings[i]); in max_string_size() 404 if (cdev->unix_socket && strlen(cdev->unix_socket)) { in convertFromESCLDev() 425 lv = strlen(sdev->vendor) + 1; in convertFromESCLDev() 659 size_t t = strlen (*sources) + 1; in _source_size_max()
|
/third_party/backends/backend/ |
H A D | umax_pp.c | 206 if (!devname || (strlen (devname) < 3)) in umax_pp_attach() 311 if(strlen(val)==0) in umax_pp_attach() 316 if(strlen(val)==0) in umax_pp_attach() 343 if(strlen(val)==0) in umax_pp_attach()
|
H A D | hp3900_sane.c | 502 scanner->aOptions[opt_chipname].size = strlen (data) + 1; in bknd_info() 1092 size = strlen (strings[i]) + 1; in max_string_size() 1565 pDesc->size = strlen(pVal->s) + 1; in options_init() 1851 if (strlen (name) == 0) in sane_open()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | capitst.c | 1285 sprintf(junk2+strlen(junk2), "%02X ",(int)( 0xFF & sortk2[i])); in TestSortKey() 1286 sprintf(junk3+strlen(junk3), "%02X ",(int)( 0xFF & sortk3[i])); in TestSortKey() 2009 int32_t firstLen = (int32_t)strlen((const char *)first); in tMemCmp() 2010 int32_t secondLen = (int32_t)strlen((const char *)second); in tMemCmp()
|
H A D | ncnvtst.c | 1293 sprintf(junk + strlen(junk), "0x%02x, ", (0xFF) & (unsigned int)*ptr); in testConvertFromU() 1294 sprintf(offset_str + strlen(offset_str), "0x%02x, ", (0xFF) & (unsigned int)junokout[ptr-junkout]); in testConvertFromU() 1470 sprintf(junk + strlen(junk), "0x%04x, ", (0xFFFF) & (unsigned int)*ptr); in testConvertToU() 1471 sprintf(offset_str + strlen(offset_str), "0x%04x, ", (0xFFFF) & (unsigned int)junokout[ptr-junkout]); in testConvertToU()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | ca.c | 721 j = strlen(p); in ca_main() 2239 size_t serial_len = strlen(serial); in get_certificate_status() 2443 i += strlen(reason) + 1; in make_revocation_str() 2445 i += strlen(other) + 1; in make_revocation_str()
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2_jit_test.c | 1372 return_value8[1] = pcre2_match_8(re8, (PCRE2_SPTR8)current->input, strlen(current->input), in regression_tests() 1379 return_value8[0] = pcre2_match_8(re8, (PCRE2_SPTR8)current->input, strlen(current->input), in regression_tests() 1383 return_value8[0] = pcre2_jit_match_8(re8, (PCRE2_SPTR8)current->input, strlen(current->input), in regression_tests() 2023 length = (PCRE2_SIZE)(strlen(current->input) - current->skip_left - current->skip_right); in run_invalid_utf8_test()
|
/third_party/openssl/apps/ |
H A D | ca.c | 719 j = strlen(p); in ca_main() 2219 size_t serial_len = strlen(serial); in get_certificate_status() 2423 i += strlen(reason) + 1; in make_revocation_str() 2425 i += strlen(other) + 1; in make_revocation_str()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
H A D | glcPackedDepthStencilTests.cpp | 586 const int vLengths[] = { int(strlen(version)), int(strlen(vsCode)) }; in createProgram() 594 const int fLengths[] = { int(strlen(version)), int(strlen(fsCode)) }; in createProgram()
|