| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | ConvertUTF.cpp | 164 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16() local 166 while (source < sourceEnd) { in ConvertUTF32toUTF16() 171 ch = *source++; in ConvertUTF32toUTF16() 176 --source; /* return to the illegal value itself */ in ConvertUTF32toUTF16() 194 --source; /* Back up source pointer! */ in ConvertUTF32toUTF16() 202 *sourceStart = source; in ConvertUTF32toUTF16() 213 const UTF16* source = *sourceStart; in ConvertUTF16toUTF32() local 216 while (source < sourceEnd) { in ConvertUTF16toUTF32() 217 … const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF32() 218 ch = *source++; in ConvertUTF16toUTF32() [all …]
|
| /freebsd/contrib/libcbor/src/cbor/internal/ |
| H A D | loaders.c | 12 uint8_t _cbor_load_uint8(cbor_data source) { return (uint8_t)*source; } in _cbor_load_uint8() argument 14 uint16_t _cbor_load_uint16(const unsigned char *source) { in _cbor_load_uint16() argument 17 memcpy(&result, source, 2); in _cbor_load_uint16() 20 return ((uint16_t) * (source + 0) << 8) + (uint8_t) * (source + 1); in _cbor_load_uint16() 24 uint32_t _cbor_load_uint32(const unsigned char *source) { in _cbor_load_uint32() argument 27 memcpy(&result, source, 4); in _cbor_load_uint32() 30 return ((uint32_t) * (source + 0) << 0x18) + in _cbor_load_uint32() 31 ((uint32_t) * (source in _cbor_load_uint32() 36 _cbor_load_uint64(const unsigned char * source) _cbor_load_uint64() argument 67 _cbor_load_half(cbor_data source) _cbor_load_half() argument 72 _cbor_load_float(cbor_data source) _cbor_load_float() argument 77 _cbor_load_double(cbor_data source) _cbor_load_double() argument [all...] |
| H A D | loaders.h | 19 uint8_t _cbor_load_uint8(const unsigned char *source); 22 uint16_t _cbor_load_uint16(const unsigned char *source); 25 uint32_t _cbor_load_uint32(const unsigned char *source); 28 uint64_t _cbor_load_uint64(const unsigned char *source); 31 float _cbor_load_half(cbor_data source); 34 float _cbor_load_float(cbor_data source); 37 double _cbor_load_double(cbor_data source);
|
| /freebsd/contrib/libcbor/src/cbor/ |
| H A D | streaming.c | 29 callbacks->callback_name(context, source + 1 + source_extra_offset, \ 37 uint64_t length = length_reader(source + 1); \ 44 cbor_data source, size_t source_size, in cbor_stream_decode() argument 52 switch (*source) { in cbor_stream_decode() 79 callbacks->uint8(context, _cbor_load_uint8(source)); in cbor_stream_decode() 86 callbacks->uint8(context, _cbor_load_uint8(source + 1)); in cbor_stream_decode() 94 callbacks->uint16(context, _cbor_load_uint16(source + 1)); in cbor_stream_decode() 102 callbacks->uint32(context, _cbor_load_uint32(source + 1)); in cbor_stream_decode() 110 callbacks->uint64(context, _cbor_load_uint64(source + 1)); in cbor_stream_decode() 147 _cbor_load_uint8(source) in cbor_stream_decode() [all...] |
| /freebsd/lib/libfigpar/ |
| H A D | string_m.c | 43 strcount(const char *source, const char *find) in strcount() argument 45 const char *p = source; in strcount() 50 if (source == NULL || find == NULL) in strcount() 55 if (strlen(source) == 0 || flen == 0) in strcount() 88 replaceall(char *source, const char *find, const char *replace) in replaceall() argument 101 if (source == NULL) in replaceall() 104 return (strlen(source)); in replaceall() 107 slen = strlen(source); in replaceall() 120 memcpy(temp, source, slen + 1); in replaceall() 122 temp = source; in replaceall() [all …]
|
| /freebsd/contrib/ncurses/ncurses/base/ |
| H A D | lib_screen.c | 211 decode_attr(char *source, attr_t *target, int *color) in decode_attr() argument 215 TR(TRACE_IEVENT, ("decode_attr '%s'", source)); in decode_attr() 217 while (*source) { in decode_attr() 218 if (source[0] == MARKER && source[1] == L_CURL) { in decode_attr() 219 source += 2; in decode_attr() 221 } else if (source[0] == R_CURL) { in decode_attr() 222 source++; in decode_attr() 225 char *next = source; in decode_attr() 227 if (source[0] == GUTTER) { in decode_attr() 249 if ((size_t) (next - source) == strlen(scr_attrs[n].name)) { in decode_attr() [all …]
|
| /freebsd/contrib/libcbor/examples/ |
| H A D | cjson2cbor.c | 28 cbor_item_t *cjson_cbor_load(void *source, in cjson_cbor_load() argument 49 cbor_load_callback(source, &callbacks, &context); in cjson_cbor_load() 54 void cjson_cbor_stream_decode(cJSON *source, in cjson_cbor_stream_decode() argument 57 switch (source->type) { in cjson_cbor_stream_decode() 72 if (fabs(source->valuedouble - source->valueint) > DBL_EPSILON) { in cjson_cbor_stream_decode() 73 callbacks->float4(context, source->valuedouble); in cjson_cbor_stream_decode() 76 if (source->valueint >= 0) { in cjson_cbor_stream_decode() 77 callbacks->uint64(context, source->valueint); in cjson_cbor_stream_decode() 79 callbacks->negint64(context, source in cjson_cbor_stream_decode() [all...] |
| /freebsd/contrib/ncurses/ncurses/tinfo/ |
| H A D | obsolete.c | 107 _nc_conv_to_utf8(unsigned char *target, unsigned source, unsigned limit) in _nc_conv_to_utf8() argument 109 #define CH(n) UChar((source) >> ((n) * 8)) in _nc_conv_to_utf8() 112 if (source <= 0x0000007f) in _nc_conv_to_utf8() 114 else if (source <= 0x000007ff) in _nc_conv_to_utf8() 116 else if (source <= 0x0000ffff) in _nc_conv_to_utf8() 118 else if (source <= 0x001fffff) in _nc_conv_to_utf8() 120 else if (source <= 0x03ffffff) in _nc_conv_to_utf8() 181 _nc_conv_to_utf32(unsigned *target, const char *source, unsigned limit) in _nc_conv_to_utf32() argument 191 if ((*source & 0x80) == 0) { in _nc_conv_to_utf32() 193 mask = (unsigned) *source; in _nc_conv_to_utf32() [all …]
|
| /freebsd/tools/sched/ |
| H A D | schedgraph.py | 324 def __init__(self, master, source): argument 326 if (source.hidden == 1): 330 self.source = source 331 self.name = source.name 379 for source in sources: 380 self.addsource(source) 388 def addsource(self, source): argument 396 item = SourceConf(self.items[self.icol], source) 426 enable_sources.append(item.source) 428 disable_sources.append(item.source) [all …]
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | c-lang | 8 0 search/8192 "libhdr" BCPL source text 10 0 search/8192 "LIBHDR" BCPL source text 19 >>&0 clear x source text 23 >0 regex \^#[[:space:]]*pragma C source text 27 >>&0 regex \^#[[:space:]]*endif$ C source text 31 >>&0 regex \^#[[:space:]]*define C source text 34 >0 regex \^[[:space:]]*char(\ \\*|\\*)(.+)(=.*)?;[[:space:]]*$ C source text 37 >0 regex \^[[:space:]]*double(\ \\*|\\*)(.+)(=.*)?;[[:space:]]*$ C source text 40 >0 regex \^[[:space:]]*extern[[:space:]]+ C source text 43 >0 regex \^[[:space:]]*float(\ \\*|\\*)(.+)(=.*)?;[[:space:]]*$ C source text [all …]
|
| H A D | assembler | 3 # make: file(1) magic for assembler source 5 0 regex \^[\040\t]{0,50}\\.asciiz assembler source text 7 0 regex \^[\040\t]{0,50}\\.byte assembler source text 9 0 regex \^[\040\t]{0,50}\\.even assembler source text 11 0 regex \^[\040\t]{0,50}\\.globl assembler source text 13 0 regex \^[\040\t]{0,50}\\.text assembler source text 15 0 regex \^[\040\t]{0,50}\\.file assembler source text 17 0 regex \^[\040\t]{0,50}\\.type assembler source text
|
| /freebsd/contrib/llvm-project/ |
| H A D | FREEBSD-Xlist | 333 lldb/source/API/CMakeLists.txt 334 lldb/source/Breakpoint/CMakeLists.txt 335 lldb/source/CMakeLists.txt 336 lldb/source/Commands/CMakeLists.txt 337 lldb/source/Core/CMakeLists.txt 338 lldb/source/DataFormatters/CMakeLists.txt 339 lldb/source/Expression/CMakeLists.txt 340 lldb/source/Host/CMakeLists.txt 341 lldb/source/Host/android/ 342 lldb/source/Host/linux/ [all …]
|
| /freebsd/sys/security/mac_lomac/ |
| H A D | mac_lomac.c | 476 lomac_copy(struct mac_lomac *source, struct mac_lomac *dest) in lomac_copy() argument 479 if (source->ml_flags & MAC_LOMAC_FLAG_SINGLE) in lomac_copy() 480 lomac_copy_single(source, dest); in lomac_copy() 481 if (source->ml_flags & MAC_LOMAC_FLAG_AUX) in lomac_copy() 482 lomac_copy_auxsingle(source, dest); in lomac_copy() 483 if (source->ml_flags & MAC_LOMAC_FLAG_RANGE) in lomac_copy() 484 lomac_copy_range(source, dest); in lomac_copy() 898 struct mac_lomac *source, *dest; in lomac_bpfdesc_create() local 900 source = SLOT(cred->cr_label); in lomac_bpfdesc_create() 903 lomac_copy_single(source, dest); in lomac_bpfdesc_create() [all …]
|
| /freebsd/sys/security/mac_mls/ |
| H A D | mac_mls.c | 446 mls_copy(struct mac_mls *source, struct mac_mls *dest) in mls_copy() argument 449 if (source->mm_flags & MAC_MLS_FLAG_EFFECTIVE) in mls_copy() 450 mls_copy_effective(source, dest); in mls_copy() 451 if (source->mm_flags & MAC_MLS_FLAG_RANGE) in mls_copy() 452 mls_copy_range(source, dest); in mls_copy() 756 struct mac_mls *source, *dest; in mls_bpfdesc_create() local 758 source = SLOT(cred->cr_label); in mls_bpfdesc_create() 761 mls_copy_effective(source, dest); in mls_bpfdesc_create() 768 struct mac_mls *source, *dest; in mls_bpfdesc_create_mbuf() local 770 source = SLOT(dlabel); in mls_bpfdesc_create_mbuf() [all …]
|
| /freebsd/sys/security/mac_biba/ |
| H A D | mac_biba.c | 482 biba_copy(struct mac_biba *source, struct mac_biba *dest) in biba_copy() argument 485 if (source->mb_flags & MAC_BIBA_FLAG_EFFECTIVE) in biba_copy() 486 biba_copy_effective(source, dest); in biba_copy() 487 if (source->mb_flags & MAC_BIBA_FLAG_RANGE) in biba_copy() 488 biba_copy_range(source, dest); in biba_copy() 792 struct mac_biba *source, *dest; in biba_bpfdesc_create() local 794 source = SLOT(cred->cr_label); in biba_bpfdesc_create() 797 biba_copy_effective(source, dest); in biba_bpfdesc_create() 804 struct mac_biba *source, *dest; in biba_bpfdesc_create_mbuf() local 806 source = SLOT(dlabel); in biba_bpfdesc_create_mbuf() [all …]
|
| /freebsd/bin/ln/ |
| H A D | ln.c | 223 linkit(const char *source, const char *target, bool isdir) in linkit() argument 235 if ((Pflag ? lstat : stat)(source, &sb)) { in linkit() 236 warn("%s", source); in linkit() 242 warn("%s", source); in linkit() 267 if (strlcpy(bbuf, source, sizeof(bbuf)) >= sizeof(bbuf) || in linkit() 272 warn("%s", source); in linkit() 283 if (*source == '/') { in linkit() 285 if (stat(source, &sb) != 0) in linkit() 286 warn("warning: %s inaccessible", source); in linkit() 297 p, source); in linkit() [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/clock/ |
| H A D | silabs,si5351.txt | 30 - silabs,pll-source: pair of (number, source) for each pll. Allows 31 to overwrite clock source of pll A (number=0) or B (number=1). 43 - silabs,clock-source: source clock of the output divider stage N, shall be 49 - silabs,multisynth-source: source pll A(0) or B(1) of corresponding multisynth 82 /* connect xtal input as source of pll0 and pll1 */ 83 silabs,pll-source = <0 0>, <1 0>; 88 * - pll0 as clock source of multisynth0 89 * - multisynth0 as clock source of output divider 96 silabs,multisynth-source = <0>; 97 silabs,clock-source = <0>; [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/soc/fsl/cpm_qe/qe/ |
| H A D | ucc.txt | 22 - rx-clock-name: the UCC receive clock source 23 "none": clock source is disabled 24 "brg1" through "brg16": clock source is BRG1-BRG16, respectively 25 "clk1" through "clk24": clock source is CLK1-CLK24, respectively 26 - tx-clock-name: the UCC transmit clock source 27 "none": clock source is disabled 28 "brg1" through "brg16": clock source is BRG1-BRG16, respectively 29 "clk1" through "clk24": clock source is CLK1-CLK24, respectively 35 - rx-clock : represents the UCC receive clock source. 36 0x00 : clock source is disabled; [all …]
|
| H A D | usb.txt | 9 - fsl,fullspeed-clock : specifies the full speed USB clock source: 10 "none": clock source is disabled 11 "brg1" through "brg16": clock source is BRG1-BRG16, respectively 12 "clk1" through "clk24": clock source is CLK1-CLK24, respectively 13 - fsl,lowspeed-clock : specifies the low speed USB clock source: 14 "none": clock source is disabled 15 "brg1" through "brg16": clock source is BRG1-BRG16, respectively 16 "clk1" through "clk24": clock source is CLK1-CLK24, respectively
|
| /freebsd/sys/contrib/dev/mediatek/mt76/ |
| H A D | Kconfig | 44 source "drivers/net/wireless/mediatek/mt76/mt76x0/Kconfig" 45 source "drivers/net/wireless/mediatek/mt76/mt76x2/Kconfig" 46 source "drivers/net/wireless/mediatek/mt76/mt7603/Kconfig" 47 source "drivers/net/wireless/mediatek/mt76/mt7615/Kconfig" 48 source "drivers/net/wireless/mediatek/mt76/mt7915/Kconfig" 49 source "drivers/net/wireless/mediatek/mt76/mt7921/Kconfig" 50 source "drivers/net/wireless/mediatek/mt76/mt7996/Kconfig" 51 source "drivers/net/wireless/mediatek/mt76/mt7925/Kconfig"
|
| /freebsd/contrib/ncurses/ncurses/ |
| H A D | wcwidth.h | 913 decode_one(const char *source, char **target) in decode_one() argument 918 if ((source[0] == 'u' || source[0] == 'U') && source[1] == '+') { in decode_one() 919 source += 2; in decode_one() 922 check = strtol(source, target, radix); in decode_one() 923 if (*target != NULL && *target != source) in decode_one() 929 decode_range(const char *source, int *lo, int *hi) in decode_range() argument 934 if ((*lo = decode_one(source, &after1)) >= 0) { in decode_range() 945 do_range(const char *source) in do_range() argument 948 if (decode_range(source, &lo, &hi)) { in do_range()
|
| /freebsd/sys/contrib/dev/athk/ |
| H A D | Kconfig | 57 source "drivers/net/wireless/ath/ath5k/Kconfig" 58 source "drivers/net/wireless/ath/ath9k/Kconfig" 59 source "drivers/net/wireless/ath/carl9170/Kconfig" 60 source "drivers/net/wireless/ath/ath6kl/Kconfig" 61 source "drivers/net/wireless/ath/ar5523/Kconfig" 62 source "drivers/net/wireless/ath/wil6210/Kconfig" 63 source "drivers/net/wireless/ath/ath10k/Kconfig" 64 source "drivers/net/wireless/ath/wcn36xx/Kconfig" 65 source "drivers/net/wireless/ath/ath11k/Kconfig" 66 source "drivers/net/wireless/ath/ath12k/Kconfig"
|
| /freebsd/sys/contrib/openzfs/module/lua/ |
| H A D | lobject.c | 247 void luaO_chunkid (char *out, const char *source, size_t bufflen) { in luaO_chunkid() argument 248 size_t l = strlen(source); in luaO_chunkid() 249 if (*source == '=') { /* 'literal' source */ in luaO_chunkid() 251 memcpy(out, source + 1, l * sizeof(char)); in luaO_chunkid() 253 addstr(out, source + 1, bufflen - 1); in luaO_chunkid() 257 else if (*source == '@') { /* file name */ in luaO_chunkid() 259 memcpy(out, source + 1, l * sizeof(char)); in luaO_chunkid() 263 memcpy(out, source + 1 + l - bufflen, bufflen * sizeof(char)); in luaO_chunkid() 267 const char *nl = strchr(source, '\n'); /* find first new line (if any) */ in luaO_chunkid() 271 addstr(out, source, l); /* keep it */ in luaO_chunkid() [all …]
|
| /freebsd/usr.bin/m4/ |
| H A D | gnum4.c | 249 exit_regerror(int er, regex_t *re, const char *source) in exit_regerror() argument 258 m4errx(1, "regular expression error in %s: %s.", source, errbuf); in exit_regerror() 330 do_subst(const char *string, regex_t *re, const char *source, in do_subst() argument 366 exit_regerror(error, re, source); in do_subst() 371 do_regexp(const char *string, regex_t *re, const char *source, in do_regexp() argument 384 exit_regerror(error, re, source); in do_regexp() 389 do_regexpindex(const char *string, regex_t *re, const char *source, in do_regexpindex() argument 402 exit_regerror(error, re, source); in do_regexpindex() 486 const char *source; in dopatsubst() local 494 source = mimic_gnu ? twiddle(argv[3]) : argv[3]; in dopatsubst() [all …]
|
| /freebsd/contrib/sendmail/contrib/ |
| H A D | qtool.pl | 65 my $source; 83 my $source = shift; 86 $result = $destination->add($source); 95 my $source = shift; 97 return $source->delete(); 102 my $source = shift; 104 return $source->bounce(); 221 while (($source_name, $source) = each(%sources)) 223 $result = $conditions->check_move($source, $destination); 226 $result = &{$action}($source, $destination); [all …]
|