Home
last modified time | relevance | path

Searched refs:namewidth (Results 1 – 25 of 89) sorted by relevance

1234

/dports/biology/clustal-omega/clustal-omega-1.2.4/src/squid/
H A Deps.c42 int namewidth; /* namewidth in PostScript units */ in EPSWriteSmallMSA() local
65 namewidth = 0; in EPSWriteSmallMSA()
67 if ((len = (int) strlen(msa->sqname[i])) > namewidth) in EPSWriteSmallMSA()
68 namewidth = len; in EPSWriteSmallMSA()
69 namewidth += 1; /* add a space to separate name & aligned seq */ in EPSWriteSmallMSA()
70 namewidth *= fontwidth; in EPSWriteSmallMSA()
75 width = namewidth + hspace*msa->alen; in EPSWriteSmallMSA()
103 xpos = namewidth; in EPSWriteSmallMSA()
H A Dstockholm.c300 int namewidth; in actually_write_stockholm() local
311 namewidth = 0; in actually_write_stockholm()
314 namewidth = len; in actually_write_stockholm()
406 fprintf(fp, "#=GS %*.*s %5s %s\n", namewidth, namewidth, in actually_write_stockholm()
428 fprintf(fp, "#=GR %-*.*s SS %s\n", namewidth, namewidth, msa->sqname[i], buf); in actually_write_stockholm()
433 fprintf(fp, "#=GR %-*.*s SA %s\n", namewidth, namewidth, msa->sqname[i], buf); in actually_write_stockholm()
440 namewidth, namewidth, msa->sqname[i], msa->gr_tag[j], buf); in actually_write_stockholm()
446 fprintf(fp, "#=GC %-*.*s %s\n", namewidth+typewidth, namewidth+typewidth, "SS_cons", buf); in actually_write_stockholm()
452 fprintf(fp, "#=GC %-*.*s %s\n", namewidth+typewidth, namewidth+typewidth, "SA_cons", buf); in actually_write_stockholm()
458 fprintf(fp, "#=GC %-*.*s %s\n", namewidth+typewidth, namewidth+typewidth, "RF", buf); in actually_write_stockholm()
[all …]
H A Dselex.c573 int namewidth; in actually_write_selex() local
584 namewidth = 0; in actually_write_selex()
586 if ((len = strlen(msa->sqname[i])) > namewidth) in actually_write_selex()
587 namewidth = len; in actually_write_selex()
588 if (namewidth < 6) namewidth = 6; /* minimum space for markup tags */ in actually_write_selex()
622 namewidth, namewidth, msa->sqname[i], in actually_write_selex()
639 fprintf(fp, "%-*.*s %s\n", namewidth, namewidth, "#=CS", buf); in actually_write_selex()
644 fprintf(fp, "%-*.*s %s\n", namewidth, namewidth, "#=RF", buf); in actually_write_selex()
650 fprintf(fp, "%-*.*s %s\n", namewidth, namewidth, msa->sqname[i], buf); in actually_write_selex()
655 fprintf(fp, "%-*.*s %s\n", namewidth, namewidth, "#=SS", buf); in actually_write_selex()
[all …]
/dports/biology/infernal/infernal-1.1.3/easel/
H A Desl_msafile_phylip.c143 …int namewidth = (afp->fmtd.namewidth ? afp->fmtd.namewidth : 10); /* default: strict PHY… in esl_msafile_phylip_GuessAlphabet() local
175 p += namewidth; in esl_msafile_phylip_GuessAlphabet()
416 …int namewidth = (afp->fmtd.namewidth ? afp->fmtd.namewidth : 10); /* default: strict PHYLIP… in phylip_interleaved_Read() local
439 p += namewidth; in phylip_interleaved_Read()
440 n -= namewidth; in phylip_interleaved_Read()
496 int namewidth = ( (opt_fmtd && opt_fmtd->namewidth) ? opt_fmtd->namewidth : 10); in phylip_interleaved_Write() local
549 …int namewidth = (afp->fmtd.namewidth ? afp->fmtd.namewidth : 10); /* default: strict PHYLIP,… in phylip_sequential_Read() local
612 int namewidth = ( (opt_fmtd && opt_fmtd->namewidth) ? opt_fmtd->namewidth : 10); in phylip_sequential_Write() local
1512 fmtd.namewidth = afp->fmtd.namewidth; in utest_goodfile()
1525 fmtd.namewidth = afp->fmtd.namewidth; in utest_goodfile()
[all …]
/dports/biology/hmmer/hmmer-3.3/easel/
H A Desl_msafile_phylip.c143 …int namewidth = (afp->fmtd.namewidth ? afp->fmtd.namewidth : 10); /* default: strict PHY… in esl_msafile_phylip_GuessAlphabet() local
175 p += namewidth; in esl_msafile_phylip_GuessAlphabet()
416 …int namewidth = (afp->fmtd.namewidth ? afp->fmtd.namewidth : 10); /* default: strict PHYLIP… in phylip_interleaved_Read() local
439 p += namewidth; in phylip_interleaved_Read()
440 n -= namewidth; in phylip_interleaved_Read()
496 int namewidth = ( (opt_fmtd && opt_fmtd->namewidth) ? opt_fmtd->namewidth : 10); in phylip_interleaved_Write() local
549 …int namewidth = (afp->fmtd.namewidth ? afp->fmtd.namewidth : 10); /* default: strict PHYLIP,… in phylip_sequential_Read() local
612 int namewidth = ( (opt_fmtd && opt_fmtd->namewidth) ? opt_fmtd->namewidth : 10); in phylip_sequential_Write() local
1512 fmtd.namewidth = afp->fmtd.namewidth; in utest_goodfile()
1525 fmtd.namewidth = afp->fmtd.namewidth; in utest_goodfile()
[all …]
/dports/biology/wise/wise2.4.1/src/HMMer2/
H A Dhmmpfam.c105 int namewidth; /* max width of sequence name */ in main() local
267 namewidth = MAX(8, TophitsMaxName(ghit)); in main()
270 …printf("%-*s %-*s %7s %10s %3s\n", namewidth, "Sequence", 52-namewidth, "Description", "Score", "E… in main()
271 …printf("%-*s %-*s %7s %10s %3s\n", namewidth, "--------", 52-namewidth, "-----------", "-----", "-… in main()
285 namewidth, name, in main()
286 52-namewidth, 52-namewidth, desc != NULL ? desc : "", in main()
304 namewidth = MAX(8, TophitsMaxName(dhit)); in main()
308 namewidth, "Sequence", "Domain ", "seq-f", "seq-t", "hmm-f", "hmm-t", "score", "E-value"); in main()
310 namewidth, "--------", "-------", "-----", "-----", "-----", "-----", "-----", "-------"); in main()
327 namewidth, name, in main()
H A Dhmmsearch.c105 int namewidth; /* max width of sequence name */ in main() local
293 namewidth = MAX(8, TophitsMaxName(ghit)); in main()
296 …printf("%-*s %-*s %7s %10s %3s\n", namewidth, "Sequence", 52-namewidth, "Description", "Score", "E… in main()
297 …printf("%-*s %-*s %7s %10s %3s\n", namewidth, "--------", 52-namewidth, "-----------", "-----", "-… in main()
310 namewidth, name, in main()
311 52-namewidth, 52-namewidth, desc != NULL ? desc : "", in main()
331 namewidth = MAX(8, TophitsMaxName(dhit)); in main()
335 namewidth, "Sequence", "Domain ", "seq-f", "seq-t", "hmm-f", "hmm-t", "score", "E-value"); in main()
337 namewidth, "--------", "-------", "-----", "-----", "-----", "-----", "-----", "-------"); in main()
354 namewidth, name, in main()
/dports/misc/lifelines/lifelines-3.1.1/reports/
H A Dindex_mm.ll18 Version 4, 18 April 1993 (bug fix, made namewidth variable)
31 set(namewidth,40) /* change this value as needed */
34 set(bcol,add(8,namewidth))
36 set(dcol,add(22,namewidth))
38 set(mcol,add(36,namewidth))
53 key(person) col(8) fullname(person,1,0,namewidth)
67 trim(concat(upper(spousesurname),maidenname),namewidth)
/dports/devel/umbrello/umbrello-21.12.3/umbrello/umlwidgets/
H A Dobjectnodewidget.cpp130 const int namewidth = fm.width(name()); in minimumSize() local
133 width = namewidth > widthtmp ? namewidth : widthtmp; in minimumSize()
141 const int namewidth = fm.width(name()); in minimumSize() local
144 width = namewidth > widthtmp ? namewidth : widthtmp; in minimumSize()
152 const int namewidth = fm.width(name()); in minimumSize() local
155 width = namewidth > widthtmp ? namewidth : widthtmp; in minimumSize()
/dports/textproc/R-cran-utf8/utf8/R/
H A Dutf8_format.R57 namewidth <- floor(log10(length(x)) + 1) + 2 + comma functionVar
59 namewidth <- max(0, utf8_width(names, utf8 = utf8))
61 namewidth <- 0
64 chars <- (linewidth - wellipsis - quotes - gap - namewidth)
/dports/lang/ruby26/ruby-2.6.9/lib/webrick/httpservlet/
H A Dfilehandler.rb467 namewidth = query["NameWidth"]
468 if namewidth == "*"
469 namewidth = nil
470 elsif !namewidth or (namewidth = namewidth.to_i) < 2
471 namewidth = 25
515 elsif namewidth and name.size > namewidth
516 dname = name[0...(namewidth - 2)] << '..'
/dports/textproc/R-cran-utf8/utf8/src/
H A Drender_table.c174 int print_gap, int max, int namewidth, in render_range() argument
189 TRY(utf8lite_render_chars(r, ' ', namewidth)); in render_range()
214 render_rowname(r, s, name, namewidth); in render_range()
261 int begin, end, w, nprint, lw, namewidth, *colwidths; in rutf8_render_table() local
319 namewidth = 0; in rutf8_render_table()
321 namewidth = 0; in rutf8_render_table()
330 if (w > namewidth) { in rutf8_render_table()
331 namewidth = w; in rutf8_render_table()
340 print_gap, max, namewidth, NULL); in rutf8_render_table()
384 lw = namewidth; in rutf8_render_table()
[all …]
/dports/emulators/mess/mame-mame0226/src/frontend/mame/ui/
H A Danalogipt.cpp69 float namewidth(0.0f); in custom_render() local
71namewidth = (std::min)((std::max)(ui().get_string_width(data.field.get().name()), namewidth), name… in custom_render()
74 float const boxleft((1.0f - namewidth - extrawidth) / 2.0f); in custom_render()
75 float const boxright(boxleft + namewidth + extrawidth); in custom_render()
79 namewidth += ui().get_line_height() * aspect; in custom_render()
82 float const indleft(nameleft + namewidth); in custom_render()
93 nameleft, liney, namewidth, ui::text_layout::LEFT, ui::text_layout::NEVER, in custom_render()
/dports/emulators/mame/mame-mame0226/src/frontend/mame/ui/
H A Danalogipt.cpp69 float namewidth(0.0f); in custom_render() local
71namewidth = (std::min)((std::max)(ui().get_string_width(data.field.get().name()), namewidth), name… in custom_render()
74 float const boxleft((1.0f - namewidth - extrawidth) / 2.0f); in custom_render()
75 float const boxright(boxleft + namewidth + extrawidth); in custom_render()
79 namewidth += ui().get_line_height() * aspect; in custom_render()
82 float const indleft(nameleft + namewidth); in custom_render()
93 nameleft, liney, namewidth, ui::text_layout::LEFT, ui::text_layout::NEVER, in custom_render()
/dports/biology/infernal/infernal-1.1.3/easel/miniapps/
H A Desl-alipid.c40 int namewidth; in main() local
70 namewidth = esl_str_GetMaxWidth(msa->sqname, msa->nseq); in main()
77 …fprintf(ofp, "%-*s %-*s %6.2f %6d %6d %6.2f %6d %6d\n", namewidth, msa->sqname[i], namewidth, msa-… in main()
H A Desl-construct.c123 int namewidth = 18; /* length of 'SS_cons(consensus)' */ in main() local
230 namewidth = 18; /* length of 'SS_cons(consensus)' */ in main()
231 for(i = 0; i < msa->nseq; i++) namewidth = ESL_MAX(namewidth, strlen(msa->sqname[i])); in main()
233 ESL_ALLOC(namedashes, sizeof(char) * namewidth+1); in main()
234 namedashes[namewidth] = '\0'; in main()
235 for(i = 0; i < namewidth; i++) namedashes[i] = '-'; in main()
320 …printf("# %-*s %6s %6s %6s %6s\n", namewidth, "seqname", "indibp", "ovrlap", "cnsist", "cnflct… in main()
321 …printf("# %-*s %6s %6s %6s %6s\n", namewidth, namedashes, "------", "------", "-----", "------… in main()
324 printf("# %-*s %6s\n", namewidth, "seqname", "nbp"); in main()
325 printf("# %-*s %6s\n", namewidth, namedashes, "------"); in main()
[all …]
H A Desl-compalign.c87 int namewidth = 8; /* length of 'seq name' */ in main() local
344 for(ni = 0; ni < ka->nseq; ni++) namewidth = ESL_MAX(namewidth, strlen(ka->sqname[ni])); in main()
345 ESL_ALLOC(namedashes, sizeof(char) * namewidth+1); in main()
346 namedashes[namewidth] = '\0'; in main()
347 for(ni = 0; ni < namewidth; ni++) namedashes[ni] = '-'; in main()
349 …printf("# %-*s %6s %28s %28s %28s\n", namewidth, "seq name", "len", "match columns", "inser… in main()
350 …printf("# %-*s %6s %28s %28s %28s\n", namewidth, namedashes, "------", "----------------------… in main()
352 …printf(" %-*s %6d %8d / %8d (%.3f) %8d / %8d (%.3f) %8d / %8d (%.3f)\n", namewidth, ka->sq… in main()
362 …printf("# %-*s %6s %28s %28s %28s\n", namewidth, namedashes, "-----", "-----------------------… in main()
364 namewidth, "*all*", "-", in main()
/dports/biology/hmmer/hmmer-3.3/easel/miniapps/
H A Desl-alipid.c40 int namewidth; in main() local
70 namewidth = esl_str_GetMaxWidth(msa->sqname, msa->nseq); in main()
77 …fprintf(ofp, "%-*s %-*s %6.2f %6d %6d %6.2f %6d %6d\n", namewidth, msa->sqname[i], namewidth, msa-… in main()
H A Desl-construct.c123 int namewidth = 18; /* length of 'SS_cons(consensus)' */ in main() local
230 namewidth = 18; /* length of 'SS_cons(consensus)' */ in main()
231 for(i = 0; i < msa->nseq; i++) namewidth = ESL_MAX(namewidth, strlen(msa->sqname[i])); in main()
233 ESL_ALLOC(namedashes, sizeof(char) * namewidth+1); in main()
234 namedashes[namewidth] = '\0'; in main()
235 for(i = 0; i < namewidth; i++) namedashes[i] = '-'; in main()
320 …printf("# %-*s %6s %6s %6s %6s\n", namewidth, "seqname", "indibp", "ovrlap", "cnsist", "cnflct… in main()
321 …printf("# %-*s %6s %6s %6s %6s\n", namewidth, namedashes, "------", "------", "-----", "------… in main()
324 printf("# %-*s %6s\n", namewidth, "seqname", "nbp"); in main()
325 printf("# %-*s %6s\n", namewidth, namedashes, "------"); in main()
[all …]
H A Desl-compalign.c87 int namewidth = 8; /* length of 'seq name' */ in main() local
344 for(ni = 0; ni < ka->nseq; ni++) namewidth = ESL_MAX(namewidth, strlen(ka->sqname[ni])); in main()
345 ESL_ALLOC(namedashes, sizeof(char) * namewidth+1); in main()
346 namedashes[namewidth] = '\0'; in main()
347 for(ni = 0; ni < namewidth; ni++) namedashes[ni] = '-'; in main()
349 …printf("# %-*s %6s %28s %28s %28s\n", namewidth, "seq name", "len", "match columns", "inser… in main()
350 …printf("# %-*s %6s %28s %28s %28s\n", namewidth, namedashes, "------", "----------------------… in main()
352 …printf(" %-*s %6d %8d / %8d (%.3f) %8d / %8d (%.3f) %8d / %8d (%.3f)\n", namewidth, ka->sq… in main()
362 …printf("# %-*s %6s %28s %28s %28s\n", namewidth, namedashes, "-----", "-----------------------… in main()
364 namewidth, "*all*", "-", in main()
/dports/astro/gnuastro/gnuastro-0.16/bin/statistics/
H A Dstatistics.c1011 int namewidth=40; in print_basics() local
1025 printf(" %-*s %s\n", namewidth, "Minimum:", str); in print_basics()
1032 printf(" %-*s %s\n", namewidth, "Maximum:", str); in print_basics()
1051 printf(" %-*s %.10g\n", namewidth, "Mode:", d[0]); in print_basics()
1052 printf(" %-*s %.10g\n", namewidth, "Mode quantile:", d[1]); in print_basics()
1059 printf(" %-*s %s\n", namewidth, "Median:", str); in print_basics()
1065 printf(" %-*s %.10g\n", namewidth, "Mean:", mean); in print_basics()
1066 printf(" %-*s %.10g\n", namewidth, "Standard deviation:", std); in print_basics()
1113 int namewidth=40; in print_sigma_clip() local
1148 printf(" %-*s %zu\n", namewidth, "Number of input elements:", in print_sigma_clip()
[all …]
/dports/astro/xtide/xtide-2.15.3/libxtide/
H A DStationIndex.cc243 int namewidth = (int)tw - 28; in print() local
244 if (namewidth < 10) in print()
245 namewidth = 10; in print()
247 sprintf (fmt, "%%-%d.%ds %%-3.3s %%s\n", namewidth, namewidth); in print()
/dports/biology/infernal/infernal-1.1.3/src/
H A Dstats.c41 int namewidth = strlen(cm->name); in debug_print_expinfo_array() local
42 ESL_ALLOC(namedashes, sizeof(char) * namewidth+1); in debug_print_expinfo_array()
43 namedashes[namewidth] = '\0'; in debug_print_expinfo_array()
44 for(ni = 0; ni < namewidth; ni++) namedashes[ni] = '-'; in debug_print_expinfo_array()
176 int namewidth = 11; /* length of "target name" */ in GetDBSize() local
183 namewidth = ESL_MAX(namewidth, strlen(sq->name)); in GetDBSize()
196 if(ret_namewidth != NULL) *ret_namewidth = namewidth; in GetDBSize()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/perf/util/
H A Dvalues.c252 int width, pidwidth, tidwidth, namewidth, rawwidth, countwidth; in perf_read_values__display_raw() local
257 namewidth = 4; /* "Name" */ in perf_read_values__display_raw()
271 if (width > namewidth) in perf_read_values__display_raw()
272 namewidth = width; in perf_read_values__display_raw()
287 namewidth, "Name", rawwidth, "Raw", in perf_read_values__display_raw()
294 namewidth, values->countername[j], in perf_read_values__display_raw()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/perf/util/
H A Dvalues.c252 int width, pidwidth, tidwidth, namewidth, rawwidth, countwidth; in perf_read_values__display_raw() local
257 namewidth = 4; /* "Name" */ in perf_read_values__display_raw()
271 if (width > namewidth) in perf_read_values__display_raw()
272 namewidth = width; in perf_read_values__display_raw()
287 namewidth, "Name", rawwidth, "Raw", in perf_read_values__display_raw()
294 namewidth, values->countername[j], in perf_read_values__display_raw()

1234