/dports/benchmarks/nbench/nbench-byte-2.2.3/ |
H A D | hardware.c | 5 #define BUF_SIZ 1024 macro 50 if(NULL == fgets(result, BUF_SIZ, pipe)){ in runCommand() 71 char buffer[BUF_SIZ]; in readProcCpuInfo() 72 char vendor_id[BUF_SIZ]; in readProcCpuInfo() 73 char model_name[BUF_SIZ]; in readProcCpuInfo() 74 char cpu_MHz[BUF_SIZ]; in readProcCpuInfo() 82 while(NULL != fgets(buffer, BUF_SIZ, info)){ in readProcCpuInfo() 166 char buffer[BUF_SIZ]; in hardware() 167 char os[BUF_SIZ]; in hardware() 168 char model[BUF_SIZ]; in hardware() [all …]
|
H A D | nbench0.h | 100 #define BUF_SIZ 1024 macro 204 char buffer[BUF_SIZ]; 212 char global_ofile_name[BUF_SIZ];/* Output file name */
|
/dports/net/tcpstat/tcpstat-1.5/src/ |
H A D | tcpprof.c | 33 char filterexpr[BUF_SIZ] = ""; 112 char filename[BUF_SIZ]; in main() 129 strncpy(filterexpr, optarg, BUF_SIZ); in main() 132 strncpy(filename, optarg, BUF_SIZ); in main() 136 strncpy(filename, optarg, BUF_SIZ); in main() 170 strncpy(filename, "auto", BUF_SIZ); in main()
|
H A D | dump.c | 37 char filterexpr[BUF_SIZ] = ""; 98 char filename[BUF_SIZ]; in main() 112 strncpy(filterexpr, optarg, BUF_SIZ); in main() 115 strncpy(filename, optarg, BUF_SIZ); in main()
|
H A D | tcpstat.c | 103 static char s[BUF_SIZ]; in my_get_nr() 110 i = (i > (BUF_SIZ-1)) ? BUF_SIZ - 1 : i; /* min(BUF_SIZ,i) */ in my_get_nr() 120 static char s[BUF_SIZ]; in wr_bytes() 122 snprintf(s, BUF_SIZ, "%12.0f Bytes", b); return s; } in wr_bytes() 124 snprintf(s, BUF_SIZ, "%8.1f GB", b/GIG); return s; } in wr_bytes() 126 snprintf(s, BUF_SIZ, "%8.1f MB", b/MEG); return s; } in wr_bytes() 128 snprintf(s, BUF_SIZ, "%8.1f KB", b/KIL); return s; } in wr_bytes() 129 snprintf(s, BUF_SIZ, "%8.1f B", b); return s; in wr_bytes() 150 char printval_str[BUF_SIZ]; in show_interval() 155 snprintf(printval_str, BUF_SIZ, (x),(y)); \ in show_interval()
|
H A D | catpcap.c | 45 char filterexpr[BUF_SIZ] = ""; 148 char filename[BUF_SIZ]; in main() 159 strncpy(filterexpr, optarg, BUF_SIZ); in main() 162 strncpy(filename, optarg, BUF_SIZ); in main()
|
/dports/net/tcpstat/tcpstat-1.5/lib/ |
H A D | utils.c | 32 char str[BUF_SIZ]; 105 snprintf(str, BUF_SIZ, "%u", port); in my_get_port() 109 if (srvent == NULL) snprintf(str, BUF_SIZ, "%u", port); in my_get_port() 110 else snprintf(str, BUF_SIZ, "%s (%u)", srvent->s_name, port); in my_get_port() 119 snprintf(str, BUF_SIZ, "%u", proto); in my_get_proto() 123 if (ip_prot == NULL) snprintf(str, BUF_SIZ, "%u", proto); in my_get_proto() 124 else snprintf(str, BUF_SIZ, "%s", ip_prot->p_name); in my_get_proto()
|
/dports/math/calc/calc-2.14.0.14/ |
H A D | have_strlcpy.c | 51 #define BUF_SIZ (sizeof("abcde")-1) macro 53 char src[BUF_SIZ+1] = "abcde"; 64 char dst[BUF_SIZ+1]; in main()
|
H A D | have_strlcat.c | 51 #define BUF_SIZ 5 macro 53 char src[BUF_SIZ+1] = "abcde"; 64 char dst[BUF_SIZ+1+1]; in main()
|
/dports/java/bouncycastle15/crypto-169/pkix/src/main/j2me/org/bouncycastle/cms/ |
H A D | CMSTypedStream.java | 13 private static final int BUF_SIZ = 32 * 1024; field in CMSTypedStream 21 this(PKCSObjectIdentifiers.data.getId(), in, BUF_SIZ); in CMSTypedStream() 28 this(new ASN1ObjectIdentifier(oid), in, BUF_SIZ); in CMSTypedStream() 43 this(oid, in, BUF_SIZ); in CMSTypedStream()
|
/dports/java/bouncycastle15/crypto-169/pkix/src/main/java/org/bouncycastle/cms/ |
H A D | CMSTypedStream.java | 14 private static final int BUF_SIZ = 32 * 1024; field in CMSTypedStream 23 this(PKCSObjectIdentifiers.data.getId(), in, BUF_SIZ); in CMSTypedStream() 30 this(new ASN1ObjectIdentifier(oid), in, BUF_SIZ); in CMSTypedStream() 45 this(oid, in, BUF_SIZ); in CMSTypedStream()
|
/dports/devel/R-cran-chron/chron/src/ |
H A D | unpaste.c | 5 #define BUF_SIZ 4096 macro 12 char buffer[BUF_SIZ]; in unpaste()
|
/dports/net/dhcping/dhcping-1.2/ |
H A D | dhcping.c | 45 #define BUF_SIZ 256*256 macro 239 unsigned char msgbuf[BUF_SIZ]; in dhcp_packet() 240 unsigned char pktbuf[BUF_SIZ]; in dhcp_packet() 357 unsigned char msgbuf[BUF_SIZ]; in dhcp_read() 363 i=recvfrom(dhcp_socket,msgbuf,BUF_SIZ,0,(struct sockaddr *)&fromsock,&fromlen); in dhcp_read()
|
/dports/cad/gtkwave/gtkwave-3.3.107/contrib/xml2stems/ |
H A D | xml2stems.cc | 33 #define BUF_SIZ 65536 macro 43 char buf[BUF_SIZ + 1]; in xml2stems() 45 char *ln = fgets(buf, BUF_SIZ, fi); in xml2stems()
|
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/GameSrc/ |
H A D | popups.c | 43 #define BUF_SIZ 80 macro 144 char s[BUF_SIZ]; in make_email_cursor() 160 sprintf(s, "%s %d", get_string(REF_STR_WordPage, NULL, BUF_SIZ), page); in make_email_cursor()
|
/dports/misc/visp/visp-3.4.0/3rdparty/atidaq/ |
H A D | expatls.c | 36 #define BUF_SIZ 8192 macro 197 if ((buf = XML_GetBuffer(p, BUF_SIZ)) == NULL) { in DOM_DocumentLS_load() 202 if ((n = fread(buf, 1, BUF_SIZ, fd)) == 0 && ferror(fd)) { in DOM_DocumentLS_load()
|
/dports/net/tcpstat/tcpstat-1.5/include/ |
H A D | tcpstat.h | 145 #define BUF_SIZ 4096 /* General string buffer size */ macro
|
/dports/astro/gpstk/GPSTk-8.0.0/core/tests/Utilities/ |
H A D | StringUtils_T.cpp | 151 static const int BUF_SIZ = 512; in getFileContents() local 155 char *buffer = new char[BUF_SIZ]; in getFileContents() 158 s.read(buffer, BUF_SIZ); in getFileContents()
|
/dports/lang/sagittarius-scheme/sagittarius-0.9.8/src/ |
H A D | bytevector.c | 353 #define BUF_SIZ 256 in Sg_ByteVectorToString() macro 359 SgChar buf[BUF_SIZ]; in Sg_ByteVectorToString() 361 long read_size = BUF_SIZ; in Sg_ByteVectorToString()
|
H A D | unicode.c | 526 #define BUF_SIZ 256 in Sg_WCharTsToString() macro 544 SgChar buf[BUF_SIZ]; in Sg_WCharTsToString() 545 int read_size = BUF_SIZ; in Sg_WCharTsToString()
|
/dports/devel/p5-IPC-Shareable/IPC-Shareable-1.06/ |
H A D | Changes | 121 - Fixed bug that would cause IPC::Shareable::BUF_SIZ to be
|
/dports/games/xboard/xboard-4.9.1/ |
H A D | backend.c | 19073 #define BUF_SIZ (2*MSG_SIZ) macro 19074 char *p, *q, buf[BUF_SIZ]; 19076 snprintf(buf, BUF_SIZ, "-theme %s", engineLine); 19086 snprintf(buf, BUF_SIZ, "\"%s\"", nickName); 19088 snprintf(buf+strlen(buf), BUF_SIZ-strlen(buf), " -ubt true -lbtf \"%s\"", 19095 snprintf(buf+strlen(buf), BUF_SIZ-strlen(buf), " -ubt false"); 19104 snprintf(buf+strlen(buf), BUF_SIZ-strlen(buf), " -ub true -border \"%s\"", 19107 snprintf(buf+strlen(buf), BUF_SIZ-strlen(buf), " -ub false"); 19116 snprintf(buf+strlen(buf), BUF_SIZ-strlen(buf), " -upf false"); 19123 snprintf(buf+strlen(buf), BUF_SIZ-strlen(buf), " -wpc %s -bpc %s", [all …]
|