Searched refs:xstrndup (Results 1 - 18 of 18) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/util-linux/
H A Dmdev.c93 char *regex = xstrndup(pos, end2-pos);
123 char *_unam = xstrndup(pos, s-pos);
134 char *_grnam = xstrndup(s, end2-s);
158 command = xstrndup(pos, end-pos);
H A Dmount.c953 mounthost = xstrndup(opteq+1,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/libunarchive/
H A Dget_header_ar.c103 typed->name = xstrndup(ar.formatted.name, 16);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/archival/
H A Ddpkg.c199 name1_char = xstrndup(&version1[len1], tmp_int);
202 name2_char = xstrndup(&version2[len2], tmp_int);
213 name1_char = xstrndup(&version1[len1], tmp_int);
216 name2_char = xstrndup(&version2[len2], tmp_int);
558 *field_name = xstrndup(&package_buffer[offset_name_start], name_length);
562 *field_value = xstrndup(&package_buffer[offset_value_start], value_length);
657 state_sub_string = xstrndup(status_string, len);
741 status_line = xstrndup(status_line, strcspn(status_line, "\n"));
793 package_name = xstrndup(tmp_string, strcspn(tmp_string, "\n"));
800 status_from_file = xstrndup(tmp_strin
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/
H A Dnameif.c106 ch->ifname = xstrndup(line_ptr, name_length);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/shell/
H A Dbbsh.c94 (*cmd)->argv[(*cmd)->argc++] = xstrndup(start, end-start);
H A Dlash.c709 return xstrndup(string, *ix);
1118 job->text = xstrndup(*command_ptr, return_command - *command_ptr);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/modutils/
H A Dmodprobe.c400 mod = xstrndup(mods, dot - mods);
467 dep = xstrndup(deps, next - deps - ext + 1);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/coreutils/
H A Ddd.c155 key = xstrndup(arg, key_len);
H A Dtr.c91 char *tmp = xstrndup(arg, 7); // warning: xdigit needs 8, not 7
H A Dsort.c118 str = xstrndup(str+start, end-start);
H A Dexpr.c330 v->u.s = xstrndup(l->u.s + i1->u.i - 1, i2->u.i);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dxfuncs.c79 char * xstrndup(const char *s, int n) function
85 bb_error_msg_and_die("xstrndup bug");
88 /* but think about xstrndup("abc", 10000) wastage! */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/selinux/
H A Dsetfiles.c141 excludeArray[excludeCtr].directory = xstrndup(directory, len);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/editors/
H A Dsed.c317 *retval = xstrndup(filecmdstr+start, idx-start+hack+1);
445 sed_cmd->string = xstrndup(cmdstr, length);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Diptunnel.c68 return err ? NULL : xstrndup(ifr.ifr_name, sizeof(ifr.ifr_name));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/
H A Dfsck.c1001 fs_type_list[num++] = comma ? xstrndup(s, comma-s) : xstrdup(s);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/include/
H A Dlibbb.h389 extern char *xstrndup(const char *s, int n);

Completed in 375 milliseconds