Home
last modified time | relevance | path

Searched refs:strlen (Results 4026 - 4050 of 8882) sorted by relevance

1...<<161162163164165166167168169170>>...356

/third_party/openssl/crypto/srp/
H A Dsrp_vfy.c53 size = strlen(src); in t_fromb64()
586 || !EVP_DigestUpdate(ctxt, vb->seed_key, strlen(vb->seed_key)) in SRP_VBASE_get1_by_user()
587 || !EVP_DigestUpdate(ctxt, username, strlen(username)) in SRP_VBASE_get1_by_user()
/third_party/openssl/crypto/x509/
H A Dv3_conf.c203 if ((strlen(p) < 9) || strncmp(p, "critical,", 9)) in v3_check_critical()
218 if ((strlen(p) >= 4) && strncmp(p, "DER:", 4) == 0) { in v3_check_generic()
221 } else if ((strlen(p) >= 5) && strncmp(p, "ASN1:", 5) == 0) { in v3_check_generic()
/third_party/skia/third_party/externals/spirv-tools/source/
H A Dtext.cpp69 const size_t len = strlen(textValue); in spvTextToLiteral()
171 context->seekForward(static_cast<uint32_t>(strlen(text))); in encodeImmediate()
442 if (grammar.lookupOperand(type, textValue, strlen(textValue), &entry)) { in spvTextEncodeOperand()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/
H A Dtext.cpp69 const size_t len = strlen(textValue); in spvTextToLiteral()
171 context->seekForward(static_cast<uint32_t>(strlen(text))); in encodeImmediate()
442 if (grammar.lookupOperand(type, textValue, strlen(textValue), &entry)) { in spvTextEncodeOperand()
/third_party/skia/third_party/externals/libpng/contrib/gregbook/
H A Drpng-x.c257 if (strlen(bgstr) != 7 || bgstr[0] != '#') in main()
346 alen = strlen(appname); in main()
347 flen = strlen(filename); in main()
/third_party/openssl/crypto/dso/
H A Ddso_win32.c37 size_t len_0 = strlen(lpLibFileName) + 1, i; in LoadLibraryA()
457 len = strlen(filename); in win32_name_converter()
590 int len = (int)strlen(me32.szExePath); in win32_pathbyaddr()
/third_party/skia/third_party/externals/zlib/
H A Dgzwrite.c370 len = strlen(str);
426 len = strlen(next); in gzvprintf()
524 len = strlen(next);
/third_party/toybox/porting/liteos_a/toys/net/
H A Difconfig.c328 sl = xmalloc(sizeof(*sl)+strlen(name)+1); in show_iface()
381 len += strlen(toys.argv[i++]); in ifconfig_main()
478 xwrite(fd, *argv, strlen(*argv)); in ifconfig_main()
/third_party/protobuf/src/google/protobuf/io/
H A Dtokenizer_unittest.cc295 TestInputStream input(text, strlen(text), kBlockSizes_case); in TEST_1D()
499 TestInputStream input(text, strlen(text), kBlockSizes_case); in TEST_1D()
904 // strlen() which will see the first '\0' and think that is the end of the
952 EXPECT_EQ(strlen("foo"), input.ByteCount()); in TEST_1D()
/third_party/protobuf/src/google/protobuf/stubs/
H A Dstrutil.h269 // as strlen(source) + 1 should be safe, since the replacements
646 : piece_data_(digits), piece_size_(strlen(FloatToBuffer(f, digits))) {} in AlphaNum()
648 : piece_data_(digits), piece_size_(strlen(DoubleToBuffer(f, digits))) {} in AlphaNum()
653 : piece_data_(c_str), piece_size_(strlen(c_str)) {} in AlphaNum()
/third_party/spirv-tools/source/
H A Dtext.cpp69 const size_t len = strlen(textValue); in spvTextToLiteral()
171 context->seekForward(static_cast<uint32_t>(strlen(text))); in encodeImmediate()
456 if (grammar.lookupOperand(type, textValue, strlen(textValue), &entry)) { in spvTextEncodeOperand()
/third_party/zlib/
H A Dgzwrite.c353 len = strlen(s); in gzputs()
412 len = strlen(next); in gzvprintf()
506 len = strlen(next); in gzprintf()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-script.c1645 const size_t n = strlen(PERF_IP_FLAG_CHARS); in perf_sample__sprintf_flags()
1995 int len = strlen(evsel__name(evsel)); in evlist__max_name_len()
2121 nlen = strlen(name); in show_event()
2861 struct script_spec *s = malloc(sizeof(*s) + strlen(spec) + 1); in script_spec__new()
3059 if (strlen(str) == 0) { in parse_output_fields()
3245 size_t suffix_len = strlen(suffix); in ends_with()
3248 if (strlen(str) > suffix_len) { in ends_with()
3249 p = str + strlen(str) - suffix_len; in ends_with()
3268 if (strlen(p) == 0) in read_script_info()
3273 if (strlen( in read_script_info()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/
H A Damdgpu_pm.c165 if (strncmp("battery", buf, strlen("battery")) == 0) in amdgpu_set_power_dpm_state()
167 else if (strncmp("balanced", buf, strlen("balanced")) == 0) in amdgpu_set_power_dpm_state()
169 else if (strncmp("performance", buf, strlen("performance")) == 0) in amdgpu_set_power_dpm_state()
313 if (strncmp("low", buf, strlen("low")) == 0) { in amdgpu_set_power_dpm_force_performance_level()
315 } else if (strncmp("high", buf, strlen("high")) == 0) { in amdgpu_set_power_dpm_force_performance_level()
317 } else if (strncmp("auto", buf, strlen("auto")) == 0) { in amdgpu_set_power_dpm_force_performance_level()
319 } else if (strncmp("manual", buf, strlen("manual")) == 0) { in amdgpu_set_power_dpm_force_performance_level()
321 } else if (strncmp("profile_exit", buf, strlen("profile_exit")) == 0) { in amdgpu_set_power_dpm_force_performance_level()
323 } else if (strncmp("profile_standard", buf, strlen("profile_standard")) == 0) { in amdgpu_set_power_dpm_force_performance_level()
325 } else if (strncmp("profile_min_sclk", buf, strlen("profile_min_scl in amdgpu_set_power_dpm_force_performance_level()
[all...]
/third_party/ffmpeg/libavformat/
H A Dhlsenc.c345 int codec_strlen = strlen(vs->codec_attr); in write_codec_attr()
720 len = strlen(key_basename_source) + 4 + 1; in do_encrypt()
974 strlen(vs->current_segment_final_filename_fmt)) { in sls_flags_filename_process()
1054 strlen(vs->current_segment_final_filename_fmt)) { in sls_flag_file_rename()
1237 ptr += strlen("URI=\""); in parse_playlist()
1248 ptr += strlen("IV=0x"); in parse_playlist()
1318 size_t len = strlen(oc->url); in hls_rename_temp_file()
1888 snprintf(name + strlen(name), name_buf_len - strlen(name), POSTFIX_PATTERN, i); in append_postfix()
1890 if (strlen(extensio in append_postfix()
[all...]
/third_party/ntfs-3g/src/
H A Dntfs-3g.c727 stbuf->st_size = strlen(target); in junction_getattr()
877 stbuf->st_size = strlen(target); in ntfs_fuse_getattr()
2401 samedir = !strncmp(old_path, path, strlen(path)) in ntfs_fuse_link()
2402 && (old_path[strlen(path)] == '/'); in ntfs_fuse_link()
2647 len = strlen(new_path) + strlen(ext) + 10 + 1; /* wc(str(2^32)) + \0 */ in ntfs_fuse_rename_existing_dest()
3083 && (strlen(name) != (size_t)nf_ns_user_prefix_len)) in xattr_namespace()
3087 && (strlen(name) != (size_t)nf_ns_system_prefix_len)) in xattr_namespace()
3091 && (strlen(name) != (size_t)nf_ns_security_prefix_len)) in xattr_namespace()
3095 && (strlen(nam in xattr_namespace()
[all...]
/third_party/toybox/toys/pending/
H A Dip.c134 len = strlen(str); in substring_to_idx()
364 if (!memcmp(name, "default", strlen(name)) in get_prefix()
365 || !memcmp(name, "all", strlen(name)) in get_prefix()
366 || !memcmp(name, "any", strlen(name))) { in get_prefix()
644 IFLA_INFO_KIND, type, strlen(type)); in linkupdate()
665 IFLA_ADDRESS, abuf, strlen(abuf)); in linkupdate()
675 len = strlen(name) + 1; in linkupdate()
1055 sprintf(family+strlen(family), lbuf, strlen(lbuf)); in print_addrinfo()
1058 sprintf(family+strlen(famil in print_addrinfo()
[all...]
/third_party/tzdata/
H A Dzic.c513 char *result = malloc(strlen(str) + 1); in strdup()
1409 size_t len = strlen(directory); in relname()
1411 size_t targetsize = strlen(target) + 1; in relname()
1423 taillen = strlen(f + dir_len); in relname()
1831 ptrdiff_t fieldlen = strlen(field); in getsave()
1871 if (max_abbrvar_len < strlen(r.r_abbrvar)) in inrule()
1872 max_abbrvar_len = strlen(r.r_abbrvar); in inrule()
1961 format_len = strlen(fields[i_format]); in inzsub()
2162 ep = dp + strlen(dp) - 1; in rulesub()
2580 old0 = strlen(omittyp in writezone()
[all...]
/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger.c405 (strlen(info->lastNetworkId) != 0 && strcmp(info->lastNetworkId, id) == 0)) { in LnnGetNodeInfoById()
444 (strlen(info->lastNetworkId) != 0 && strcmp(info->lastNetworkId, id) == 0)) { in LnnGetNodeInfoByDeviceId()
547 if (uuid == NULL || strlen(uuid) >= UUID_BUF_LEN) { in CreateCnnCodeKey()
690 strlen(accountString), (unsigned char *)info->accountHash); in UpdateNewNodeAccountHash()
924 strlen(info->deviceInfo.deviceUdid), udidHash) != SOFTBUS_OK) { in IsDeviceInfoChanged()
982 strlen(info->deviceInfo.deviceUdid), udidHash) != SOFTBUS_OK) { in BleDirectlyOnlineProc()
1104 strlen(info->deviceInfo.deviceUdid), udidHash) != SOFTBUS_OK) { in TryUpdateDeviceSecurityLevel()
1131 strlen(info->deviceInfo.deviceUdid), udidHash) != SOFTBUS_OK) { in ReversionLastAuthSeq()
/foundation/communication/dsoftbus/core/bus_center/lnn/net_builder/src/
H A Dlnn_connection_fsm.c486 if (strlen(udidHash) == 0) { in IsEmptyShortHashStr()
497 if (strncmp(emptyHashStr, udidHash, strlen(emptyHashStr)) == 0) { in IsEmptyShortHashStr()
513 rc = SoftBusGenerateStrHash((uint8_t *)localInfo->deviceInfo.deviceUdid, strlen(localInfo->deviceInfo.deviceUdid), in GetUdidHashForDfx()
550 strlen(nodeInfo->deviceInfo.deviceUdid), hash); in GetPeerUdidHash()
600 if (IsEmptyShortHashStr(peerUdidHash) || strlen(peerUdidHash) != HB_SHORT_UDID_HASH_HEX_LEN) { in GetPeerUdidInfo()
675 (strncmp(extra->peerDeviceType, PC_DEV_TYPE, strlen(PC_DEV_TYPE)) == 0)) { in DfxAddBleReportExtra()
772 (strncmp(peerDeviceType, PC_DEV_TYPE, strlen(PC_DEV_TYPE)) == 0)) { in NotifyProofExceptionEvent()
1224 strlen(connInfo->nodeInfo->deviceInfo.deviceUdid), hash) != SOFTBUS_OK) { in ProcessBleOnline()
/foundation/communication/dhcp/services/dhcp_server/src/
H A Ddhcp_s_server.cpp147 ssize_t ifnameSize = strlen(ifname); in BindNetInterface()
627 if (!leasePath || strlen(leasePath) == 0) { in InitLeaseFile()
658 if (strlen(ctx->ifname) == 0) { in StartDhcpServer()
937 DhcpOption optVendorInfo = {VENDOR_SPECIFIC_INFO_OPTION, static_cast<uint8_t>(strlen(VNEDOR_OPEN_HARMONY)), in ReplyCommontOption()
1671 DhcpOption optVendorInfo = {MESSAGE_OPTION, static_cast<uint8_t>(strlen("wrong network")), "wrong network"}; in SendDhcpNak()
1855 if (memcpy_s(ctx->ifname, sizeof(ctx->ifname), config->ifname, strlen(config->ifname)) != EOK) { in InitServerContext()
1874 config->ifname, strlen(config->ifname)) != EOK) { in InitServerContext()
1928 if (strlen(config->ifname) == 0) { in InitializeServer()
/foundation/communication/dsoftbus/components/nstackx/nstackx_core/dfile/core/
H A Dnstackx_dfile.c227 len = strlen(path); in CheckSetStoragePathPara()
523 size_t len = strlen(str[i]); in IsValidStringArray()
548 userDataLen = strlen(userData); in CheckSendFilesPara()
648 if (userData != NULL && strlen(userData) > NSTACKX_MAX_USER_DATA_SIZE) { in CheckSendFilesWithRemotePathPara()
700 if (filesInfo->userData != NULL && strlen(filesInfo->userData) > NSTACKX_MAX_USER_DATA_SIZE) { in CheckSendFilesWithRemotePathAndType()
740 ctx->fileListInfo->files[0] = calloc(1, strlen(firstFileName) + 1); in PostSendFailAsync()
744 if (memcpy_s(ctx->fileListInfo->files[0], strlen(firstFileName) + 1, in PostSendFailAsync()
745 firstFileName, strlen(firstFileName)) != NSTACKX_EOK) { in PostSendFailAsync()
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-ioctl.c524 needed += align_val(offsetof(struct dm_name_list, name) + strlen(hc->name) + 1); in list_devices()
555 event_nr = align_ptr(nl->name + strlen(hc->name) + 1); in list_devices()
576 *needed += strlen(tt->name) + 1; in list_version_get_needed()
585 if ((char *)info->vers + sizeof(tt->version) + strlen(tt->name) + 1 > in list_version_get_info()
602 info->vers = align_ptr(((void *) ++info->vers) + strlen(tt->name) + 1); in list_version_get_info()
938 strlen(new_data) > (change_uuid ? DM_UUID_LEN - 1 : DM_NAME_LEN - 1)) { in dev_rename()
1189 l = strlen(outptr) + 1; in retrieve_status()
1646 param->data_size = param->data_start + strlen(result) + 1; in target_message()
/kernel/linux/linux-5.10/drivers/target/iscsi/
H A Discsi_target_parameters.c715 if (strlen(value) > VALUE_MAXLEN) { in iscsi_add_notunderstood_response()
1158 if (strlen(value) > VALUE_MAXLEN) { in iscsi_check_value()
1195 if (strlen(key) > KEY_MAXLEN) { in __iscsi_check_key()
1232 if (strlen(key) > KEY_MAXLEN) { in iscsi_check_key()
1395 start += strlen(key) + strlen(value) + 2; in iscsi_decode_text_input()
1401 start += strlen(key) + strlen(value) + 2; in iscsi_decode_text_input()
/kernel/linux/linux-5.10/drivers/vfio/pci/
H A Dvfio_pci.c1857 if (strncmp(pci_name(vdev->pdev), buf, strlen(pci_name(vdev->pdev)))) in vfio_pci_match()
1860 if (strlen(buf) > strlen(pci_name(vdev->pdev))) { in vfio_pci_match()
1861 buf += strlen(pci_name(vdev->pdev)); in vfio_pci_match()
1873 strlen(VF_TOKEN_ARG))) { in vfio_pci_match()
1874 buf += strlen(VF_TOKEN_ARG); in vfio_pci_match()
1876 if (strlen(buf) < UUID_STRING_LEN) in vfio_pci_match()
2433 if (!strlen(id)) in vfio_pci_fill_ids()

Completed in 52 milliseconds

1...<<161162163164165166167168169170>>...356