Searched refs:strlen (Results 1 - 25 of 150) sorted by relevance

123456

/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dstrlen.c57 " [-n causes unaligned strlen]\n"
58 "notes: measures strlen()\n",
90 int l = strlen(demo);
115 ts->ts_fakegcc += strlen(src);
116 ts->ts_fakegcc += strlen(src);
117 ts->ts_fakegcc += strlen(src);
118 ts->ts_fakegcc += strlen(src);
119 ts->ts_fakegcc += strlen(src);
120 ts->ts_fakegcc += strlen(src);
121 ts->ts_fakegcc += strlen(sr
[all...]
H A Dtattle.c89 if (strlen(compiler_version) > 30)
107 if (strlen(extra_compiler_flags) == 0)
H A DMakefile.benchmarks105 strlen \
H A Dmalloc.c138 (void) sprintf(result + strlen(result), "%d ", opts[i]);
H A Dstrcasecmp.c93 int l = strlen(demo);
H A Dstrchr.c91 int l = strlen(demo);
H A Dstrcmp.c91 int l = strlen(demo);
H A Dstrcpy.c90 int l = strlen(demo);
/darwin-on-arm/xnu/tools/tests/execperf/
H A Dprintexecinfo.c17 printf("argv[%2d] = %p %.100s%s\n", i, argv[i], argv[i], strlen(argv[i]) > 100 ? "..." : "");
21 printf("envp[%2d] = %p %.100s%s\n", i, envp[i], envp[i], strlen(envp[i]) > 100 ? "..." : "");
25 printf("appl[%2d] = %p %.100s%s\n", i, appl[i], appl[i], strlen(appl[i]) > 100 ? "..." : "");
/darwin-on-arm/xnu/SETUP/config/
H A Dmain.c114 malloc((unsigned) strlen(source_directory) + 6);
291 cp = malloc((unsigned)(strlen(build_directory)+
292 strlen(file)+
293 strlen(object_directory)+
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dxattr_tests.c63 if ( my_result < (strlen( XATTR_TEST_NAME ) + 1) ) {
64 printf( "listxattr did not get the attribute name length: my_result %d, strlen %zu \n", my_result, (strlen(XATTR_TEST_NAME)+1) );
76 if ( my_result != (strlen( &my_xattr_data[0] ) + 1) ||
126 if ( my_result < (strlen( XATTR_TEST_NAME ) + 1) ) {
137 if ( my_result != (strlen( &my_xattr_data[0] ) + 1) ||
H A Dmain.c424 if ( strlen( my_ptr ) > 1 && *my_ptr == '-' && isalpha( *(my_ptr + 1) ) ) {
433 if ( strlen( my_ptr ) == 1 && *my_ptr == '-' ) {
439 if ( strlen( my_ptr ) > (sizeof( my_buffer ) - 1) ) {
500 if ( strlen( the_targetp ) > (sizeof(g_target_path) - 1) ) {
511 if ( (strlen( &my_name[0] ) + strlen( the_targetp ) + 2) > PATH_MAX ) {
521 if ( g_target_path[ (strlen(the_targetp) - 1) ] != '/' ) {
/darwin-on-arm/xnu/osfmk/libsa/
H A Dstring.h64 extern size_t strlen(const char *);
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_fslog.c117 len = MAX_FMT_LEN - strlen(fmt) - FSLOG_NEWLINE_CHAR_LEN - 1;
156 len = MAX_FMT_LEN - strlen(fmt) - FSLOG_NEWLINE_CHAR_LEN - 1;
157 offset = strlen(fmt);
167 pairlen = strlen(key) + strlen(val) + 4;
501 if (0 != escape_str(c_name, strlen(c_name), sizeof(c_name))) {
510 if (0 != escape_str(t_name, strlen(t_name), sizeof(t_name))) {
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Unicode/
H A DUnicodeWrappers.c437 srcLen -= strlen(extStr) * sizeof(UniChar);
438 subMaxLen = maxDstLen - (strlen(extStr) + strlen(fileIDStr));
444 *actualDstLen = utf8len + (strlen(extStr) + strlen(fileIDStr));
/darwin-on-arm/xnu/bsd/net/
H A Dnet_str_id.c46 strlen(__str) + 1)
130 strlcpy(entry->nsi_string, string, strlen(string) + 1);
174 str_size = strlen(entry->nsi_string) + 1;
H A Dpf_ruleset.c284 if (!*q || strlen(q) >= PF_ANCHOR_NAME_SIZE ||
285 (parent != NULL && strlen(parent->path) >=
451 if (strncmp(a, r->anchor->path, strlen(a))) {
457 if (strlen(r->anchor->path) > strlen(a))
459 strlen(a) + 1 : 0), sizeof (pr->anchor_call));
/darwin-on-arm/xnu/osfmk/device/
H A Dsubrs.c147 #undef strlen macro
379 * Does the same thing as strlen, except only looks up
460 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
461 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
479 return(dlen + strlen(s));
495 * Returns strlen(src); if retval >= siz, truncation occurred.
558 len = strlen(string) + 1;
/darwin-on-arm/xnu/libkern/kxld/tests/
H A Dkextcopyright.c99 converted_len = strlen((const char *)data_bytes) + 1; // +1 for nul
143 (const UInt8 *) argv[1], strlen(argv[1]), /* isDirectory */ FALSE);
/darwin-on-arm/xnu/bsd/sys/
H A Dun.h123 (sizeof(*(su)) - sizeof((su)->sun_path) + strlen((su)->sun_path))
/darwin-on-arm/xnu/libkern/c++/
H A DOSString.cpp78 length = strlen(cString) + 1;
95 length = strlen(cString) + 1;
/darwin-on-arm/xnu/pexpert/arm/common/
H A Dpe_init.c168 if (fversion && (strlen(fversion) <= 32)) {
169 ovbcopy((void *) fversion, (void *) firmware_version, strlen(fversion));
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dstubs.c70 slen = strlen(from) + 1;
/darwin-on-arm/xnu/bsd/kern/
H A Dnetboot.c227 strlen(kNetBootRootPathPrefixNFS)) != 0) {
232 start = path + strlen(kNetBootRootPathPrefixNFS);
320 *length_p = strlen(path) + 1;
366 info->server_name_length = strlen(server_name) + 1;
368 info->mount_point_length = strlen(mount_point) + 1;
378 info->image_path_length = strlen(image_path) + 1;
397 strlen(kNetBootRootPathPrefixHTTP)) == 0) {
/darwin-on-arm/xnu/bsd/dev/dtrace/
H A Dsdt.c108 name = prefpart + strlen(prefix);
113 nname = kmem_alloc(len = strlen(name) + 1, KM_SLEEP);
591 int len = strlen(name) + 1;
625 sdpd->sdpd_func = kmem_alloc((len = strlen(prev_name) + 1), KM_SLEEP);
665 kmem_free((void *)sdpd->sdpd_name, strlen(sdpd->sdpd_name) + 1);
666 kmem_free((void *)sdpd->sdpd_func, strlen(sdpd->sdpd_func) + 1);

Completed in 75 milliseconds

123456