Home
last modified time | relevance | path

Searched refs:strlen (Results 1026 - 1050 of 8000) sorted by relevance

1...<<41424344454647484950>>...320

/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Dperf_regs.c171 * length using strlen, instead of maintaining one more variable.
212 * to hold last NULL so that strlen can be used to find in arch_sdt_arg_parse_op()
258 new_len = strlen(prefix) + in arch_sdt_arg_parse_op()
261 strlen(new_reg) + in arch_sdt_arg_parse_op()
270 strlen(prefix), prefix, in arch_sdt_arg_parse_op()
273 strlen(new_reg), new_reg, in arch_sdt_arg_parse_op()
/kernel/linux/linux-6.6/tools/testing/selftests/net/af_unix/
H A Dscm_pidfd.c88 buffer += char_left_gc(buffer, strlen(buffer)); in trim_whitespace_in_place()
89 buffer[char_right_gc(buffer, strlen(buffer))] = '\0'; in trim_whitespace_in_place()
283 addr->addrlen += strlen(addr->sock_name); in fill_sockaddr()
291 memcpy(sun_path_buf, addr->sock_name, strlen(addr->sock_name)); in fill_sockaddr()
/kernel/linux/linux-6.6/scripts/kconfig/lxdialog/
H A Dtextbox.c89 line += MIN(strlen(line), hscroll); /* Scroll horizontally */ in print_line()
92 waddnstr(win, line, MIN(strlen(line), width - 2)); in print_line()
125 percent = (page - buf) * 100 / strlen(buf); in print_position()
260 page = buf + strlen(buf); in dialog_textbox()
/kernel/linux/linux-6.6/tools/power/cpupower/utils/helpers/
H A Dsysfs.c264 if (result[strlen(result) - 1] == '\n') in sysfs_idlestate_get_one_string()
265 result[strlen(result) - 1] = '\0'; in sysfs_idlestate_get_one_string()
430 if (result[strlen(result) - 1] == '\n') in sysfs_cpuidle_get_one_string()
431 result[strlen(result) - 1] = '\0'; in sysfs_cpuidle_get_one_string()
/kernel/linux/linux-6.6/security/apparmor/
H A Dlib.c227 size_t num_chrs = strlen(chrs); in aa_perm_mask_to_str()
454 hname = aa_str_alloc(strlen(prefix) + strlen(name) + 3, gfp); in aa_policy_init()
458 hname = aa_str_alloc(strlen(name) + 1, gfp); in aa_policy_init()
/kernel/liteos_m/testsuites/unittest/fuzz/src/socket/
H A Dnet_fuzz.c96 iov[0].iov_len = strlen(buf); in SampleUdpServer()
128 printf("c4, %s, %d\r\n", buf, strlen(buf)); in SampleUdpClient()
129 (void)sendto(fd, buf, strlen(buf), 0, (struct sockaddr *)&clnAddr, (socklen_t)sizeof(clnAddr)); in SampleUdpClient()
267 send(num1, buf, strlen(CLI_MSG), num2); in SampleTcpClient()
/third_party/eudev/src/collect/
H A Dcollect.c172 if (!strlen(word)) in checkout()
304 while (strlen(him->name)+1 >= bufsize) { in missing()
315 snprintf(buf, strlen(him->name)+2, "%s ", him->name); in missing()
316 if (write(fd, buf, strlen(buf)) < 0) { in missing()
/third_party/ffmpeg/libavformat/
H A Dmpjpegdec.c47 end = p + strlen(p); in trim_right()
202 strlen(line)); in parse_multipart_header()
275 len = strlen(start); in mpjpeg_get_boundary()
317 mpjpeg->searchstr_len = strlen(mpjpeg->searchstr); in mpjpeg_read_packet()
/third_party/backends/sanei/
H A Dsanei_config.c107 len = strlen (dir_list); in sanei_config_get_paths()
219 len = strlen( str); in sanei_config_read()
284 len = strlen (line); in sanei_configure_attach()
394 size=strlen(string)+1; in sanei_configure_attach()
/third_party/cups-filters/backend/
H A Dimplicitclass.c204 if (strncmp(ptr1, job_id, strlen(job_id)) != 0) in main()
206 ptr1 += strlen(job_id); in main()
311 argv_nt[0] = calloc(strlen(printer_uri) + 8, sizeof(char)); in main()
317 outbuflen = strlen(argv[5]) + 256; in main()
/third_party/backends/tools/
H A Dumax_pp.c242 if (strlen (argv[i]) != 3) in main()
263 if (strlen (argv[i]) != 3) in main()
295 if ((strlen (argv[i]) < 3) || (strlen (argv[i]) > 4)) in main()
/third_party/icu/icu4c/source/test/cintltst/
H A Dcurrtest.c155 if (str == NULL || len != expectedLen || (int32_t)strlen(str) != expectedLen) { in checkItemCount()
204 u_unescape(expectedFirst, expectedBuf, (int32_t)strlen(expectedFirst)+1); in TestFractionDigitOverride()
211 u_unescape(expectedSecond, expectedBuf, (int32_t)strlen(expectedSecond)+1); in TestFractionDigitOverride()
218 u_unescape(expectedThird, expectedBuf, (int32_t)strlen(expectedThird)+1); in TestFractionDigitOverride()
H A Dcg7coll.c203 int32_t len=(int32_t)strlen(rules); in TestDemo1()
234 int32_t len=(int32_t)strlen(rules); in TestDemo2()
263 int32_t len=(int32_t)strlen(rules); in TestDemo3()
293 int32_t len=(int32_t)strlen(rules); in TestDemo4()
/third_party/libsnd/src/
H A Dchunk.c71 marker_len = strlen (marker_str) ; in psf_get_chunk_iterator()
168 hash = strlen (marker_str) > 4 ? hash_of_str (marker_str) : u.marker ; in psf_find_read_chunk_str()
207 marker_len = strlen (marker_str) ; in psf_store_read_chunk_str()
253 pchk->chunks [pchk->used].hash = strlen (chunk_info->id) > 4 ? hash_of_str (chunk_info->id) : u.marker ; in psf_save_write_chunk()
/third_party/mbedtls/programs/x509/
H A Dcert_req.c124 len = strlen((char *) output_buf); in write_certificate_request()
228 size_t size_left = strlen(semicolon); in main()
297 cur->node.san.unstructured_name.len = strlen(q); in main()
429 strlen(pers))) != 0) { in main()
H A Dcert_app.c232 if (strlen(opt.ca_path)) { in main()
240 } else if (strlen(opt.ca_file)) { in main()
253 if (strlen(opt.crl_file)) { in main()
341 strlen(pers))) != 0) { in main()
/third_party/lame/frontend/
H A Dgpkplotting.c131 0, 10, title, strlen(title)); in gpk_graph_draw()
225 if (titleSplit && (titleSplit != strlen(title))) { in gpk_bargraph_draw()
232 0, 22, title + titleSplit + 1, (strlen(title) - titleSplit) - 1); in gpk_bargraph_draw()
239 0, 10, title, strlen(title)); in gpk_bargraph_draw()
/third_party/mesa3d/src/drm-shim/
H A Ddevice.c196 args->name_len = strlen(shim_device.driver_name); in drm_shim_ioctl_version()
197 args->date_len = strlen(date); in drm_shim_ioctl_version()
198 args->desc_len = strlen(desc); in drm_shim_ioctl_version()
210 gu->unique_len = shim_device.unique ? strlen(shim_device.unique) : 0; in drm_shim_ioctl_get_unique()
/third_party/ltp/pan/
H A Dzoolib.c163 fprintf(fp, "%-*.*s\n", (int)strlen(buf) - 1, in zoo_mark()
164 (int)strlen(buf) - 1, entry); in zoo_mark()
286 if (strncmp(s + 1, tag, strlen(tag))) in zoo_getpid()
376 size += strlen(argv[a]); in cat_args()
/third_party/ltp/lib/
H A Dparse_opts.c166 optstrlen += strlen(std_options[i].optstr); in parse_opts()
169 if (strlen(user_optarr[i].option) > 2) in parse_opts()
172 optstrlen += strlen(user_optarr[i].option); in parse_opts()
242 option[strlen(user_optarr[i].option) in parse_opts()
/third_party/ntfs-3g/libfuse-lite/
H A Dfuse_opt.c105 unsigned oldlen = strlen(*opts); in fuse_opt_add_opt()
106 newopts = realloc(*opts, oldlen + 1 + strlen(opt) + 1); in fuse_opt_add_opt()
143 int arglen = strlen(arg); in match_template()
230 newarg = malloc(sep + strlen(param) + 1); in process_opt_sep_arg()
/third_party/nghttp2/src/
H A Ddeflatehd.cc161 nva[i].namelen = strlen(name); in deflate_hd_json()
169 nva[i].valuelen = strlen(json_string_value(value)); in deflate_hd_json()
278 nv.namelen = strlen(line); in perform_from_http1text()
279 nv.valuelen = strlen(val); in perform_from_http1text()
/third_party/lwip/src/apps/snmp/
H A Dsnmp_snmpv2_usm.c257 test_oid[1 + eid_len] = strlen(username); in usmusertable_get_next_instance()
258 snmp_name_to_oid(username, &test_oid[2 + eid_len], strlen(username)); in usmusertable_get_next_instance()
261 snmp_next_oid_check(&state, test_oid, (u8_t)(1 + eid_len + 1 + strlen(username)), LWIP_PTR_NUMERIC_CAST(void *, i)); in usmusertable_get_next_instance()
271 cell_instance->reference_len = strlen(username); in usmusertable_get_next_instance()
/third_party/musl/libc-test/src/functionalext/fortify/
H A Dstdio.c32 size_t minlen = strlen(a) >= strlen(b) ? strlen(b) : strlen(a); \
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dfread.c39 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fread_0100()
64 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fread_0200()
89 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fread_0300()
111 fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in fread_0400()

Completed in 21 milliseconds

1...<<41424344454647484950>>...320