Home
last modified time | relevance | path

Searched +full:convert +full:- +full:sample +full:- +full:format (Results 1 – 25 of 120) sorted by relevance

12345

/freebsd/sys/contrib/device-tree/Bindings/sound/
H A Daudio-graph.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/sound/audio-grap
[all...]
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_read_format_zip_filename.c1 /*-
48 skipping("This system cannot convert character-set" in DEFINE_TEST()
79 /* Verify archive format. */ in DEFINE_TEST()
96 * Read CP932 filename in en_US.UTF-8 with "hdrcharset=CP932" option. in DEFINE_TEST()
98 if (NULL == setlocale(LC_ALL, "en_US.UTF-8")) { in DEFINE_TEST()
99 skipping("en_US.UTF-8 locale not available on this system."); in DEFINE_TEST()
108 skipping("This system cannot convert character-set" in DEFINE_TEST()
109 " from CP932 to UTF- in DEFINE_TEST()
[all...]
H A Dtest_read_format_tar_filename.c1 /*-
30 * The sample tar file was made in LANG=KOI8-R and it contains two
32 * - the filename of first file is stored in BINARY mode.
33 * - the filename of second file is stored in UTF-8.
36 * filename of second file, which is stored in UTF-8 by default.
46 * Read filename in ru_RU.CP866 with "hdrcharset=KOI8-R" option. in test_read_format_tar_filename_KOI8R_CP866()
55 /* Test if the platform can convert from UTF- in test_read_format_tar_filename_KOI8R_CP866()
[all...]
H A Dtest_read_format_lha_filename.c1 /*-
45 * a character-set conversion because we can read a character-set in test_read_format_lha_filename_CP932_eucJP()
53 skipping("This system cannot convert character-set" in test_read_format_lha_filename_CP932_eucJP()
83 /* Verify archive format. */ in test_read_format_lha_filename_CP932_eucJP()
99 * Read LHA filename in en_US.UTF-8. in test_read_format_lha_filename_CP932_UTF8()
101 if (NULL == setlocale(LC_ALL, "en_US.UTF-8")) { in test_read_format_lha_filename_CP932_UTF8()
102 skipping("en_US.UTF-8 locale not available on this system."); in test_read_format_lha_filename_CP932_UTF8()
107 * a character-se in test_read_format_lha_filename_CP932_UTF8()
[all...]
H A Dtest_read_format_lha_filename_utf16.c1 /*-
36 * Read LHA filename in en_US.UTF-8. in test_read_format_lha_filename_UTF16_UTF8()
38 if (NULL == setlocale(LC_ALL, "en_US.UTF-8")) { in test_read_format_lha_filename_UTF16_UTF8()
39 skipping("en_US.UTF-8 locale not available on this system."); in test_read_format_lha_filename_UTF16_UTF8()
44 * a character-set conversion because we can read a character-set in test_read_format_lha_filename_UTF16_UTF8()
52 skipping("This system cannot convert character-set" in test_read_format_lha_filename_UTF16_UTF8()
53 " from CP932 to UTF-8."); in test_read_format_lha_filename_UTF16_UTF8()
56 if (ARCHIVE_OK != archive_read_set_options(a, "hdrcharset=UTF-1 in test_read_format_lha_filename_UTF16_UTF8()
[all...]
/freebsd/contrib/file/magic/scripts/
H A Dcreate_filemagic_flac5 ## below "#some common sample rates" (line 471), ie:
12 ## construct static list of sample rates based on standard crystal
25 declare -a a_ground_fs=(16384000 22579200 24576000)
32 declare -a samplerates
37 ## add each derived sample rate to the array
43 while [[ ${n} -ge 1 ]]; do
50 declare -a stripped_rates
51 declare -a lines
53 ## use bc with sed to convert and format Hz to kHz
56 ## only add uniq sample rates (should be necessary
[all …]
/freebsd/libexec/bootpd/
H A DREADME4 This version merges all the enhancements and bug-fixes from the
11 bootp-request@andrew.cmu.edu
12 (The body of the message should contain: "Add <your-address>")
34 should compile without the -DSYSLOG switch.
41 is a manual entry describing its format (bootptab.5)
45 [ See the file Installation which is more up-to-date. -gwr ]
48 please contact either Walt Wimer or Drew Perkins by E-mail or phone.
51 Type 'make'. The options at present are: -DSYSLOG which enables logging
52 code, -DDEBUG which enables table dumping via signals, and -DVEND_CMU
61 reboot. The following is a sample /etc/inetd.conf entry:
[all …]
/freebsd/share/examples/sound/oss/
H A Daudio.c2 * SPDX-License-Identifier: BSD-2-Clause
46 /* Format can be unsigned, in which case replace S with U */
49 int format = AFMT_S32_NE; /* Signed 32bit native endian format */ variable
52 int format = AFMT_S16_NE; /* Signed 16bit native endian format */ variable
55 int format = AFMT_S8_NE; /* Signed 8bit native endian format */ variable
57 #error Unsupported sample format!
59 int format = AFMT_S32_NE; /* Not a real value, just silencing variable
72 int format; member
84 * Error state is indicated by value=-1 in which case application exits with
90 if (value == -1) in check_error()
[all …]
/freebsd/crypto/heimdal/doc/
H A Dmigration.texi8 hpropd can read MIT Kerberos dump, the format is the same as used in
9 mit-kerberos 1.0b7, and to dump that format use the following command:
10 @samp{kdb5_util dump -b7}.
14 …bexec/hprop --database=dump-file --master-key=/var/db/krb5kdc/mit_stash --source=mit-dump --decryp…
24 @item Convert the database, check all principals that hprop complains
27 @samp{hprop -n --source=<NNN>| hpropd -n}
29 Replace <NNN> with whatever source you have, like krb4-db or krb4-dump.
41 Find a sample population of your users and check what programs they use,
42 you can also check the kdc-log to check what ticket are checked out.
/freebsd/sys/contrib/device-tree/src/arm/cirrus/
H A Dep93xx-edb9302.dts1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
5 /dts-v1/;
9 #address-cells = <1>;
10 #size-cells = <1>;
27 compatible = "audio-graph-card2";
33 compatible = "gpio-leds";
34 led-0 {
37 linux,default-trigger = "heartbeat";
41 led-1 {
55 compatible = "cfi-flash";
[all …]
/freebsd/contrib/tcpdump/
H A DCONTRIBUTING.md7 code execution etc) please send an e-mail to security@tcpdump.org, do not use
10 To report a non-security problem (failure to compile, incorrect output in the
15 libpcap. If it does (and it is not a security-related problem, otherwise see
17 [bug tracker](https://github.com/the-tcpdump-group/tcpdump/issues)
21 * tcpdump and libpcap version (`tcpdump --version`)
23 (`uname -a`, compiler name and version, CPU type etc.)
33 [subscribe to the mailing list](https://www.tcpdump.org/#mailing-lists)
42 2) [Fork](https://help.github.com/articles/fork-a-repo/) the Tcpdump
43 [repository](https://github.com/the-tcpdump-group/tcpdump).
53 git remote add upstream https://github.com/the-tcpdump-group/tcpdump
[all …]
/freebsd/contrib/ntp/libparse/
H A Dparse.c2 * /src/NTP/ntp4-dev/libparse/parse.c,v 4.20 2005/08/06 17:39:40 kardel RELEASE_20050806_A
14 * Copyright (c) 1995-2005 by Frank Kardel <kardel <AT> ntp.org>
15 * Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Germany
74 * strings support usually not in kernel - duplicated, but what the heck
107 while (!(c = *s++ - *t++) && *s && *t) in Strcmp()
123 delta.tv_sec = tstamp->tv.tv_sec - parseio->parse_lastcha in parse_timedout()
609 syn_simple(register parse_t * parseio,register timestamp_t * ts,register struct format * format,register u_long why) syn_simple() argument
683 register unsigned short format; timepacket() local
[all...]
/freebsd/contrib/ntp/include/
H A Dparse.h2 * /src/NTP/REPOSITORY/ntp4-dev/include/parse.h,v 4.12 2007/01/14 08:36:03 kardel RELEASE_20070114_A
6 * Copyright (c) 1995-2015 by Frank Kardel <kardel <AT> ntp.org>
7 …* Copyright (c) 1989-1994 by Frank Kardel, Friedrich-Alexander Universitaet Erlangen-Nuernberg, Ge…
99 ((tvp)->tv_sec cmp (uvp)->tv_sec || \
100 ((tvp)->tv_sec == (uvp)->tv_sec && (tvp)->tv_usec cmp (uvp)->tv_usec))
110 #define GPSORIGIN 2524953600UL /* NTP origin - GPS origin in seconds */
150 #define PARSEB_TIMECODE 0x10000000 /* valid time code sample */
151 #define PARSEB_PPS 0x20000000 /* valid PPS sample */
179 * operation flags - lower nibble contains fudge flags
184 #define PARSE_LEAP_DELETE CLK_FLAG4 /* use flag4 to force leap deletion - only necessary when ea…
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DSampleProf.h1 //===- SampleProf.h - Sampling profiling format support ---------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 // sample profile data.
12 //===----------------------------------------------------------------------===//
106 static inline uint64_t SPMagic(SampleProfileFormat Format = SPF_Binary) {
107 return uint64_t('S') << (64 - 8) | uint64_t('P') << (64 - 16) |
108 uint64_t('R') << (64 - 24) | uint64_t('O') << (64 - 32) |
109 uint64_t('F') << (64 - 40) | uint64_t('4') << (64 - 48) |
110 uint64_t('2') << (64 - 56) | uint64_t(Format);
[all …]
/freebsd/contrib/dialog/
H A Ddialog.13 .\" Copyright 2005-2020,2021 Thomas E. Dickey
53 dialog \- display dialog boxes from shell scripts
55 \fB\*p \-\-clear\fP
57 .BI "\*p \-\-create\-rc " file
59 \fB\*p \-\-print\-maxsize\fP
62 \fIcommon-options\fP
63 \fIbox-options\fP
108 Use the "\fB\-\-and\-widget\fP" token to force \fB\*p\fP to proceed to the next
118 \*(``\fB\-\-output\-fd\fP\*('',
119 \*(``\fB\-\-stderr\fP\*('' and
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1 //===- llvm-profdata.cpp - LLVM profile data tool -------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
9 // llvm-profdata merges .profdata files.
11 //===----------------------------------------------------------------------===//
31 #include "llvm/Support/Format.h"
51 // https://llvm.org/docs/CommandGuide/llvm-profdata.html has documentations
57 "https://llvm.org/docs/CommandGuide/llvm-profdata.html#profdata-show");
63 "https://llvm.org/docs/CommandGuide/llvm-profdata.html#profdata-order");
68 "https://llvm.org/docs/CommandGuide/llvm-profdata.html#profdata-overlap");
[all …]
/freebsd/contrib/ntp/ntpd/
H A Drefclock_chu.c2 * refclock_chu - clock driver for Canadian CHU time/frequency station
44 * kHz and mu-law companding. This is the same standard as used by the
57 * maximum-likelihood technique which exploits the considerable degree
62 * consists of nine, ten-character bursts transmitted at 300 bps between
66 * followed by a repeat of these characters. In format A, the characters
67 * are repeated in the same polarity; in format B, the characters are
70 * Format A bursts are sent at seconds 32 through 39 of the minute in
77 * format A bursts are sent during the third decade of seconds the tens
82 * Format B bursts are sent at second 31 of the minute in hex digits
87 * the DUT1 (d in deciseconds), Gregorian year (yyyy), difference TAI -
[all …]
H A Drefclock_chronolog.c2 * refclock_chronolog - clock driver for Chronolog K-series WWVB receiver.
26 * This driver supports the Chronolog K-series WWVB receiver.
28 * Input format:
33 * YY/MM/DD -- what you'd expect. This arrives a few seconds before the
35 * hh:mm:ss -- what you'd expect. We take time on the <cr>.
49 #define PRECISION (-13) /* precision assumed (about 100 us) */
51 #define DESCRIPTION "Chrono-lo
[all...]
H A Drefclock_dumbclock.c2 * refclock_dumbclock - clock driver for a unknown time distribution system
30 * Input format:
34 * hh:mm:ss -- what you'd expect, with a 24 hour clock. (Heck, that's the only
45 #define PRECISION (-13) /* precision assumed (about 100 us) */
52 * transitions, we can convert back to Unix time. If the conversion results in some number
84 noentry, /* poll the driver -- a nice fabrication */
93 * dumbclock_start - open the devices and initialize data for processing
117 fd = refclock_open(&peer->srcad in dumbclock_start()
[all...]
H A Dntpsim.c46 return (e1->time - e2->time); in determine_event_ordering()
63 /* Simply convert the time received to double and subtract */ in determine_recv_buf_ordering()
64 LFPTOD(&b1->recv_time, recv_time1); in determine_recv_buf_ordering()
65 LFPTOD(&b2->recv_time, recv_time2); in determine_recv_buf_ordering()
67 return (int)(recv_time1 - recv_time2); in determine_recv_buf_ordering()
82 -1, in create_server_associations()
112 simclock.slew = 500e-6; in ntpsim()
171 (*event_ptr[curr_event->function])(curr_event); in ntpsim()
192 strlcpy(loopback_interface->name, "IPv4loop", in init_sim_io()
193 sizeof(loopback_interface->name)); in init_sim_io()
[all …]
/freebsd/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2007, Joseph Koshy
79 /* Get the sample value in percent related to nsamples. */
81 ((a)->pcg_count * 100.0 / nsamples)
100 cg->pcg_image = image; in pmcstat_cgnode_allocate()
101 cg->pcg_fun in pmcstat_cgnode_allocate()
[all...]
H A Dpmcstat_log.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
4 * Copyright (c) 2005-2007, Joseph Koshy
81 * pmcstat_process_log() print/convert an event log
87 * We correlate each 'callchain' or 'sample' entry seen in the event
90 * - program executables,
91 * - shared libraries loaded by the runtime loader,
92 * - dlopen()'ed objects loaded by the program,
93 * - the runtime loader itself,
94 * - the kernel and kernel modules.
[all …]
H A Dpmcpl_calltree.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
32 * Output file format compatible with Kcachegrind (kdesdk).
69 /* Get the sample value for PMC a. */
71 ((a) < (b)->npmcs ? (b)->sb[a] : 0)
73 /* Get the sample value in percent related to rsamples. */
75 (PMCPL_CT_SAMPLE(a, b) * 100.0 / rsamples->sb[a])
79 unsigned *sb; /* Sample buffer for 0..npmcs. */
166 samples->npmcs = 0; in pmcpl_ct_samples_init()
167 samples->sb = NULL; in pmcpl_ct_samples_init()
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A DChangeLog1 Changes in version 2.1.12-stable (05 Jul 2020)
18 o Merge branch 'event_rpcgen.py-cleanup' (f0ded5f3, 48e04887 Enji Cooper)
23 o Merge branch 'osx-clock' (e85afbe3 Azat Khuzhin)
24 …o test-ratelim: calculate timers bias (for slow CPUs) to avoid false-positive (8ad26d0b Azat Khuzh…
28 o http: fix undefined-shift in EVUTIL_IS*_ helpers (6b8d02a7 Azat Khuzhin)
32 …po in GetAdaptersAddresses windows library. It should be iphlpapi.dll (891adda9 Aleksandr-Melnikov)
33 o Merge branch 'EV_CLOSED-and-EV_ET-fixes' (db2efdf5 Azat Khuzhin)
41 o Merge branch 'fix-signal-leak' (poll/select now needs reinit) (1c9cc07b Azat Khuzhin)
56 o https-client: load certificates from the system cert store on Windows (e9478640 yuangongji)
71 o Merge branch 'http-connect' (e2424229 Azat Khuzhin)
[all …]
/freebsd/contrib/libevent/
H A DChangeLog1 Changes in version 2.1.12-stable (05 Jul 2020)
18 o Merge branch 'event_rpcgen.py-cleanup' (f0ded5f3, 48e04887 Enji Cooper)
23 o Merge branch 'osx-clock' (e85afbe3 Azat Khuzhin)
24 …o test-ratelim: calculate timers bias (for slow CPUs) to avoid false-positive (8ad26d0b Azat Khuzh…
28 o http: fix undefined-shift in EVUTIL_IS*_ helpers (6b8d02a7 Azat Khuzhin)
32 …po in GetAdaptersAddresses windows library. It should be iphlpapi.dll (891adda9 Aleksandr-Melnikov)
33 o Merge branch 'EV_CLOSED-and-EV_ET-fixes' (db2efdf5 Azat Khuzhin)
41 o Merge branch 'fix-signal-leak' (poll/select now needs reinit) (1c9cc07b Azat Khuzhin)
56 o https-client: load certificates from the system cert store on Windows (e9478640 yuangongji)
71 o Merge branch 'http-connect' (e2424229 Azat Khuzhin)
[all …]

12345