/kernel/liteos_m/components/net/lwip-2.1/porting/src/ |
H A D | sockets_porting.c | 650 if ((lwip_validate_ifname(ifr->ifr_newname, &letter_pos) == 0) || (strlen(ifr->ifr_newname) > (IFNAMSIZ - 1))) {
in lwip_ioctl_internal_SIOCSIFNAME() 654 if (strncpy_s(netif->full_name, sizeof(netif->full_name), ifr->ifr_newname, strlen(ifr->ifr_newname)) != EOK) {
in lwip_ioctl_internal_SIOCSIFNAME()
|
/kernel/uniproton/src/net/lwip-2.1/src/ |
H A D | sockets.c | 627 if ((OsLwipValidateIfname(ifr->ifr_newname, &letterPos) == 0) || (strlen(ifr->ifr_newname) > (IFNAMSIZ - 1))) {
in OsLwipIoctlInternalSiocsifName() 631 if (strncpy_s(netif->full_name, sizeof(netif->full_name), ifr->ifr_newname, strlen(ifr->ifr_newname)) != EOK) {
in OsLwipIoctlInternalSiocsifName()
|
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | hda_sysfs.c | 298 p = str + strlen(str) - 1; in remove_trail_spaces() 531 return strncasecmp(a, b, strlen(b)) == 0; in strmatch()
|
/kernel/linux/linux-6.6/net/9p/ |
H A D | protocol.c | 28 (2 + min_t(size_t, s ? strlen(s) : 0, USHRT_MAX)) 562 len = min_t(size_t, strlen(sptr), in p9pdu_vwritef()
|
/kernel/linux/linux-6.6/lib/kunit/ |
H A D | test.c | 122 log_len = strlen(log); in kunit_log_newline() 141 log_len = strlen(log); in kunit_log_append()
|
/kernel/linux/linux-6.6/lib/ |
H A D | test_printf.c | 147 __test(expect, strlen(expect), fmt, ##__VA_ARGS__) 238 if (strncmp(buf, ZEROS, strlen(ZEROS)) != 0) in plain_format()
|
/kernel/linux/linux-6.6/tools/bpf/resolve_btfids/ |
H A D | main.c | 233 int len = strlen(prefix_end); in get_id() 267 int len = strlen(name); in add_set()
|
/kernel/linux/linux-6.6/net/devlink/ |
H A D | rate.c | 56 len = strlen(rate_node_name); in devlink_rate_node_get_from_attrs() 262 size_t len = strlen(parent_name); in devlink_nl_rate_parent_node_set()
|
/third_party/eudev/src/libudev/ |
H A D | libudev-enumerate.c | 193 entry->len = strlen(path); in syspath_add() 228 if (strstr(syspath + strlen("/sys"), delay_device_list[i]) != NULL) in devices_delay_end()
|
/third_party/ffmpeg/libavformat/ |
H A D | mp3enc.c | 249 if ( strlen(enc->value) > sizeof(encoder_str) in mp3_write_xing() 253 memcpy(encoder_str, enc->value, FFMIN(strlen(enc->value), sizeof(encoder_str))); in mp3_write_xing()
|
H A D | avio.c | 95 uc = av_mallocz(sizeof(URLContext) + strlen(filename) + 1); in url_alloc_for_protocol() 145 memmove(start, key+1, strlen(key)); in url_alloc_for_protocol()
|
H A D | mlvdec.c | 353 if (strlen(avctx->url) > 2) { in read_header() 361 snprintf(filename + strlen(filename) - 2, 3, "%02d", i); in read_header()
|
/third_party/curl/src/ |
H A D | tool_formparse.c | 515 p = type + strlen(type_major) + strlen(type_minor) + 1; in get_param_part()
|
/third_party/alsa-lib/src/control/ |
H A D | control_shm.c | 415 size_t l = strlen(filename); in make_local_socket() 445 snamelen = strlen(sname); in snd_ctl_shm_open()
|
H A D | hcontrol.c | 222 if (!strncmp(*name, *names, strlen(*names))) { in snd_hctl_compare_mixer_priority_lookup() 223 *name += strlen(*names); in snd_hctl_compare_mixer_priority_lookup()
|
/third_party/backends/backend/ |
H A D | epsonds-cmd.c | 324 p = s + strlen(s); in decode_string() 862 return esci2_cmd(s, "MECHx0000000", 12, parameters, strlen(parameters), NULL, ¶_cb); in esci2_mech()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | usettest.c | 433 if (uset_isEmpty(set) != (strlen(items)==0)) { in expectItems() 436 strlen(items)==0 ? "true" : "false"); in expectItems()
|
/third_party/icu/icu4c/source/common/ |
H A D | icuplug.cpp | 788 DBG((stderr, "pluginfile= %s len %d/%d\n", plugin_file, (int)strlen(plugin_file), (int)sizeof(plugin_file))); in uplug_init() 847 p = config+strlen(config); in uplug_init()
|
/third_party/libuv/src/unix/ |
H A D | fsevents.c | 254 len = strlen(path); in uv__fsevents_event_cb() 807 handle->realpath_len = strlen(handle->realpath); in uv__fsevents_init()
|
/third_party/libcoap/examples/ |
H A D | coap-rd.c | 679 dtls_psk.psk_info.hint.length = hint ? strlen(hint) : 0; in fill_keystore() 707 local.length = strlen(node); in get_context()
|
/third_party/lzma/CPP/Windows/ |
H A D | FileFind.cpp | 820 const int len = (int)strlen(s);
in Next() 963 size_t len = strlen(path);
in Get_Name_from_Path()
|
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
H A D | test_VIDIOC_QUERYCTRL.c | 106 CU_ASSERT(0 < strlen((char *)queryctrl.name)); in test_VIDIOC_QUERYCTRL() 468 CU_ASSERT(0 < strlen((char *)queryctrl.name)); in test_VIDIOC_QUERYCTRL_private()
|
/third_party/libwebsockets/lib/roles/ws/ |
H A D | server-ws.c | 27 #define LWS_CPYAPP(ptr, str) { strcpy(ptr, str); ptr += strlen(str); } 205 strlen(po->name))) { in lws_extension_server_handshake()
|
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-policy2c/ |
H A D | minimal-secure-streams.c | 54 assert (strlen(in) < templen); in purify_csymbol() 188 (unsigned int)strlen( in main()
|
/third_party/mesa3d/src/glx/ |
H A D | glxextensions.c | 389 name, strlen(name), GL_TRUE, psc->direct_support); in __glXEnableDirectExtension() 427 ext = find_extension(ext_list, field, strlen(field)); in __ParseExtensionOverride()
|