/freebsd-9.3-release/usr.bin/uniq/ |
H A D | uniq.c | 188 convert(const char *str) argument 193 if ((n = mbstowcs(NULL, str, 0)) == (size_t)-1) 199 if (mbstowcs(buf, str, n + 1) != n) 245 show(FILE *ofp, const char *str) argument 249 (void)fprintf(ofp, "%4d %s", repeats + 1, str); 251 (void)fprintf(ofp, "%s", str); 255 skip(wchar_t *str) argument 259 for (nfields = 0; *str != L'\0' && nfields++ != numfields; ) { 260 while (iswblank(*str)) 261 str [all...] |
/freebsd-9.3-release/usr.sbin/ctm/ctm_rmail/ |
H A D | options.h | 120 #define STRING(x,str) \ 126 (str) = *argv; 128 #define SUFFIX(x,str) \ 131 (str) = ++*argv; \
|
/freebsd-9.3-release/usr.sbin/sysinstall/ |
H A D | doc.c | 89 char *str = self->prompt; local 98 if (strstr(str, "Other")) { 103 else if (strstr(str, "FAQ")) { 108 else if (strstr(str, "Handbook")) {
|
/freebsd-9.3-release/contrib/ntp/sntp/libopts/ |
H A D | option-value-type.h | 57 find_option_value_type_cmd(char const * str, size_t len);
|
H A D | option-xat-attribute.h | 54 find_option_xat_attribute_cmd(char const * str, size_t len);
|
H A D | putshell.c | 39 print_quoted_apostrophes(char const * str); 42 print_quot_str(char const * str); 133 char * res = out = AGALOC(string_size(text, nl_len), "quot str"); 202 * @param[in] str the apostrophies to print 205 print_quoted_apostrophes(char const * str) argument 207 while (*str == APOSTROPHE) { 209 str++; 211 return str; 218 * @param[in] str the string to print 221 print_quot_str(char const * str) argument [all...] |
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_handle.c | 160 char *str; local 192 str = (char *)alloca(len); 218 (void) snprintf(str, len, "error on enabled probe ID %u " 225 err.dteda_msg = str; 243 char *str; local 259 str = alloca(len); 261 (void) snprintf(str, len, "error on enabled probe ID %u " 268 err.dteda_msg = str; 316 char str[80], *s; local 326 drop.dtdda_msg = str; 396 char str[80], *s; local [all...] |
H A D | dt_error.c | 122 const char *str; local 126 str = dtp->dt_errmsg; 128 str = ctf_errmsg(dtp->dt_ctferr); 134 str = NULL; 136 str = strerror(error); 138 return (str ? str : "Unknown error"); 219 const char *str; member in struct:__anon55 234 for (i = 0; faults[i].str != NULL; i++) { 236 return (faults[i].str); [all...] |
H A D | dt_strtab.c | 146 const char *str, size_t len) 160 if ((rv = strncmp(buf, str, n)) != 0) 164 str += n; 172 dt_strtab_copyin(dt_strtab_t *sp, const char *str, size_t len) argument 189 bcopy(str, sp->str_ptr, n); 192 str += n; 207 dt_strtab_index(dt_strtab_t *sp, const char *str) argument 213 if (str == NULL || str[0] == '\0') 216 h = dt_strtab_hash(str, 145 dt_strtab_compare(dt_strtab_t *sp, dt_strhash_t *hp, const char *str, size_t len) argument 227 dt_strtab_insert(dt_strtab_t *sp, const char *str) argument [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/roken/ |
H A D | parse_time-test.c | 47 char *str; member in struct:testcase 83 if (buf_sz > 0 && memcmp(buf, tests[i].str, buf_sz - 1) != 0) 84 errx(1, "test %i wrong result %s vs %s", i, buf, tests[i].str); 97 if (buf_sz > 0 && strncmp(buf, tests[i].str, buf_sz - 1) != 0) 98 errx(1, "test %i wrong result %s vs %s", i, buf, tests[i].str); 104 tests[i].str, tests[i].size + 1); 111 tests[i].str, tests[i].size + 1);
|
/freebsd-9.3-release/contrib/binutils/gas/config/ |
H A D | tc-score.c | 58 #define skip_whitespace(str) while (*(str) == ' ') ++(str) 89 #define INSN_IS_PCE_P(s) (strstr (str, "||") != NULL) 146 char str[MAX_LITERAL_POOL_SIZE]; member in struct:score_it 798 end_of_line (char *str) argument 802 skip_whitespace (str); 803 if (*str != '\0') 846 reg_required_here (char **str, int shift, enum score_reg_type reg_type) argument 850 char *start = *str; 885 skip_past_comma(char **str) argument 912 do_rdrsrs(char *str) argument 959 my_get_expression(expressionS * ep, char **str) argument 1097 data_op2(char **str, int shift, enum score_data_type data_type) argument 1321 do_rdsi16(char *str) argument 1354 do_sub_rdsi16(char *str) argument 1367 do_rdrssi14(char *str) argument 1380 do_sub_rdrssi14(char *str) argument 1394 do_rdrsi5(char *str) argument 1419 do_rdrsi14(char *str) argument 1433 do_xrsi5(char *str) argument 1454 do_rdi16(char *str) argument 1472 do_macro_rdi32hi(char *str) argument 1483 do_macro_rdi32lo(char *str) argument 1496 do_rdi16_pic(char *str) argument 1509 do_addi_s_pic(char *str) argument 1522 do_addi_u_pic(char *str) argument 1535 do_rd(char *str) argument 1544 do_rs(char *str) argument 1562 do_i15(char *str) argument 1571 do_xi5x(char *str) argument 1586 do_rdrs(char *str) argument 1640 do_rdcrs(char *str) argument 1653 do_rdsrs(char *str) argument 1676 do_rdxrs(char *str) argument 1698 do_rsrs(char *str) argument 1719 do_ceinst(char *str) argument 1748 reglow_required_here(char **str, int shift) argument 1779 do16_rdrs(char *str) argument 1812 do16_rs(char *str) argument 1832 do16_xrs(char *str) argument 1849 reghigh_required_here(char **str, int shift) argument 1874 do16_hrdrs(char *str) argument 1891 do16_rdhrs(char *str) argument 2422 append_insn(char *str, bfd_boolean gen_frag_p) argument 2442 do16_mv_rdrs(char *str) argument 2504 do16_rdi4(char *str) argument 2547 do16_rdi5(char *str) argument 2566 do16_xi5(char *str) argument 2605 exp_ldst_offset(char **str, int shift, unsigned int data_type) argument 2682 do_ldst_insn(char *str) argument 3191 do_cache(char *str) argument 3254 do_crdcrscrsimm5(char *str) argument 3284 do_ldst_cop(char *str) argument 3322 do16_ldst_insn(char *str) argument 3364 do16_ldst_imm_insn(char *str) argument 3437 do16_push_pop(char *str) argument 3518 do_ldst_unalign(char *str) argument 3617 do_ldst_atomic(char *str) argument 3901 do_macro_la_rdi32(char *str) argument 3959 do_macro_li_rdi32(char *str) argument 4018 do_macro_mul_rdrsrs(char *str) argument 4097 exp_macro_ldst_abs(char *str) argument 4247 do_macro_ldst_label(char *str) argument 4436 do_lw_pic(char *str) argument 4464 do_empty(char *str) argument 4495 do_jump(char *str) argument 4525 do16_jump(char *str) argument 4550 do_branch(char *str) argument 4591 do16_branch(char *str) argument 5650 md_assemble(char *str) argument 6020 char str[30]; local [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | parse.c | 279 write_exp_string (struct stoken str) 281 int len = str.length; 310 memcpy (strdata, str.ptr, len); 328 write_exp_bitstring (struct stoken str) 330 int bits = str.length; /* length in bits */ 358 memcpy (strdata, str.ptr, len); 440 write_dollar_variable (struct stoken str) 449 if (str.length >= 2 && str.ptr[1] == '$') 454 if (i == str 275 write_exp_string(struct stoken str) argument 324 write_exp_bitstring(struct stoken str) argument 435 write_dollar_variable(struct stoken str) argument [all...] |
/freebsd-9.3-release/contrib/llvm/tools/clang/include/clang/Edit/ |
H A D | EditedSource.h | 72 StringRef copyString(StringRef str) { argument 73 char *buf = StrAlloc.Allocate<char>(str.size()); 74 std::memcpy(buf, str.data(), str.size()); 75 return StringRef(buf, str.size());
|
/freebsd-9.3-release/contrib/wpa/src/wps/ |
H A D | wps_dev_attr.c | 179 static int wps_process_manufacturer(struct wps_device_data *dev, const u8 *str, argument 182 if (str == NULL) { 187 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Manufacturer", str, str_len); 193 os_memcpy(dev->manufacturer, str, str_len); 200 static int wps_process_model_name(struct wps_device_data *dev, const u8 *str, argument 203 if (str == NULL) { 208 wpa_hexdump_ascii(MSG_DEBUG, "WPS: Model Name", str, str_len); 214 os_memcpy(dev->model_name, str, str_len); 221 static int wps_process_model_number(struct wps_device_data *dev, const u8 *str, argument 224 if (str 242 wps_process_serial_number(struct wps_device_data *dev, const u8 *str, size_t str_len) argument 263 wps_process_dev_name(struct wps_device_data *dev, const u8 *str, size_t str_len) argument [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/gssapi/krb5/ |
H A D | display_status.c | 129 char *str; local 135 vasprintf(&str, fmt, args); 137 if (str) { 138 krb5_set_error_string(context, str); 139 free(str);
|
H A D | decapsulate.c | 72 _gssapi_verify_mech_header(u_char **str, argument 79 mech_len = _gsskrb5_get_mech (*str, total_len, &p); 90 *str = rk_UNCONST(p); 95 _gsskrb5_verify_header(u_char **str, argument 102 u_char *p = *str; 104 ret = _gssapi_verify_mech_header(str, total_len, oid); 108 len = total_len - (*str - p); 113 if (memcmp (*str, type, 2) != 0) 115 *str += 2;
|
/freebsd-9.3-release/sbin/camcontrol/ |
H A D | util.c | 167 char str[1024]; local 172 if (fgets(str, sizeof(str), stdin) != NULL) { 173 if (strncasecmp(str, "yes", 3) == 0) 175 else if (strncasecmp(str, "no", 2) == 0)
|
/freebsd-9.3-release/sbin/geom/class/mirror/ |
H A D | geom_mirror.c | 164 const char *str; local 178 str = gctl_get_ascii(req, "arg0"); 179 strlcpy(md.md_name, str, sizeof(md.md_name)); 189 str = gctl_get_ascii(req, "balance"); 190 bal = balance_id(str); 212 str = gctl_get_ascii(req, "arg%d", i); 213 msize = g_get_mediasize(str); 214 ssize = g_get_sectorsize(str); 217 str, strerror(errno)); 236 str [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/asn1/ |
H A D | a_time.c | 130 char *str; local 156 str = (char *)ret->data; 159 BUF_strlcpy(str, "19", newlen); 161 BUF_strlcpy(str, "20", newlen); 163 BUF_strlcat(str, (char *)t->data, newlen);
|
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/ |
H A D | ibroute.c | 98 dump_mlid(char *str, int strlen, int mlid, int nports, argument 111 n += snprintf(str + n, strlen - n, "%04hx", mask); 118 str[0] = 0; 130 str[i*2] = (mask & (1 << bit)) ? 'x' : ' '; 131 str[i*2+1] = ' '; 134 str[0] = 0; 137 str[i*2] = 0; 148 char str[512]; local 183 for (i = 0, s = str; i <= nports; i++) { 188 printf(" %s\n", str); 231 dump_lid(char *str, int strlen, int lid, int valid) argument 299 char str[200], *s; local [all...] |
/freebsd-9.3-release/contrib/amd/amd/ |
H A D | ops_pcfs.c | 114 char *str; local 163 if ((str = hasmntstr(&mnt, MNTTAB_OPT_USER)) != NULL) { 165 if ((pw = getpwnam(str)) != NULL) 168 pcfs_args.uid = atoi(str); /* atoi returns '0' if it failed */ 169 XFREE(str); 177 if ((str = hasmntstr(&mnt, MNTTAB_OPT_GROUP)) != NULL) { 179 if ((gr = getgrnam(str)) != NULL) 182 pcfs_args.gid = atoi(str); /* atoi returns '0' if it failed */ 183 XFREE(str);
|
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | LockFileManager.cpp | 87 = sys::fs::createUniqueFile(UniqueLockFileName.str(), 122 = sys::fs::create_hard_link(UniqueLockFileName.str(), 123 LockFileName.str()); 141 sys::fs::remove(UniqueLockFileName.str(), Existed); 147 sys::fs::remove(LockFileName.str(), Existed); 167 sys::fs::remove(LockFileName.str(), Existed); 168 sys::fs::remove(UniqueLockFileName.str(), Existed); 201 if (!sys::fs::exists(LockFileName.str(), Exists) && !Exists) { 211 if (!sys::fs::exists(FileName.str(), Exists) && Exists) {
|
/freebsd-9.3-release/crypto/openssl/demos/ssl/ |
H A D | serv.cpp | 50 char* str; local 121 str = X509_NAME_oneline (X509_get_subject_name (client_cert), 0, 0); 122 CHK_NULL(str); 123 printf ("\t subject: %s\n", str); 124 OPENSSL_free (str); 126 str = X509_NAME_oneline (X509_get_issuer_name (client_cert), 0, 0); 127 CHK_NULL(str); 128 printf ("\t issuer: %s\n", str); 129 OPENSSL_free (str);
|
/freebsd-9.3-release/contrib/binutils/opcodes/ |
H A D | ia64-dis.c | 75 const char *err, *str, *tname; local 188 (*info->fprintf_func) (info->stream, "%s", odesc->str); 192 if (odesc->str[0] == 'a' && odesc->str[1] == 'r') 218 (*info->fprintf_func) (info->stream, "%s%d", odesc->str, (int)value); 222 (*info->fprintf_func) (info->stream, "%s[r%d]", odesc->str, (int)value); 226 str = 0; 230 case 0x0: str = "@brcst"; break; 231 case 0x8: str = "@mix"; break; 232 case 0x9: str 238 (*info->fprintf_func) (info->stream, "%s", str); local [all...] |
/freebsd-9.3-release/sys/arm/arm/ |
H A D | swtch.S | 204 str r5, [r6] 209 str r6, [r4] 211 str r6, [r4, #4] /* ARM_RAS_START */ 213 str r6, [r4, #8] /* ARM_RAS_END */ 217 str r7, [r6] 232 str r2, [r6, #(L_CPU)] 239 str r1, [r7] 244 str r2, [r7] 264 str pc, [r2, #(PCB_PC)] 273 str r [all...] |