Home
last modified time | relevance | path

Searched refs:source (Results 1 – 25 of 3515) sorted by relevance

12345678910>>...141

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTF.cpp164 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 Dloaders.c12 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 Dloaders.h19 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 Dstreaming.c29 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 Dstring_m.c43 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 Dlib_screen.c211 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()
226 char *next = source; in decode_attr()
228 if (source[0] == GUTTER) { in decode_attr()
248 if ((size_t) (next - source) == strlen(scr_attrs[n].name)) { in decode_attr()
[all …]
/freebsd/contrib/libcbor/examples/
H A Dcjson2cbor.c28 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 Dobsolete.c107 _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 Dschedgraph.py324 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 Dc-lang8 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 Dassembler3 # 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 DFREEBSD-Xlist333 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/bin/ln/
H A Dln.c216 linkit(const char *source, const char *target, bool isdir) in linkit() argument
228 if ((Pflag ? lstat : stat)(source, &sb)) { in linkit()
229 warn("%s", source); in linkit()
235 warn("%s", source); in linkit()
247 if (strlcpy(bbuf, source, sizeof(bbuf)) >= sizeof(bbuf) || in linkit()
252 warn("%s", source); in linkit()
263 if (*source == '/') { in linkit()
265 if (stat(source, &sb) != 0) in linkit()
266 warn("warning: %s inaccessible", source); in linkit()
277 p, source); in linkit()
[all …]
/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.c477 lomac_copy(struct mac_lomac *source, struct mac_lomac *dest) in lomac_copy() argument
480 if (source->ml_flags & MAC_LOMAC_FLAG_SINGLE) in lomac_copy()
481 lomac_copy_single(source, dest); in lomac_copy()
482 if (source->ml_flags & MAC_LOMAC_FLAG_AUX) in lomac_copy()
483 lomac_copy_auxsingle(source, dest); in lomac_copy()
484 if (source->ml_flags & MAC_LOMAC_FLAG_RANGE) in lomac_copy()
485 lomac_copy_range(source, dest); in lomac_copy()
899 struct mac_lomac *source, *dest; in lomac_bpfdesc_create() local
901 source = SLOT(cred->cr_label); in lomac_bpfdesc_create()
904 lomac_copy_single(source, dest); in lomac_bpfdesc_create()
[all …]
/freebsd/sys/security/mac_biba/
H A Dmac_biba.c483 biba_copy(struct mac_biba *source, struct mac_biba *dest) in biba_copy() argument
486 if (source->mb_flags & MAC_BIBA_FLAG_EFFECTIVE) in biba_copy()
487 biba_copy_effective(source, dest); in biba_copy()
488 if (source->mb_flags & MAC_BIBA_FLAG_RANGE) in biba_copy()
489 biba_copy_range(source, dest); in biba_copy()
793 struct mac_biba *source, *dest; in biba_bpfdesc_create() local
795 source = SLOT(cred->cr_label); in biba_bpfdesc_create()
798 biba_copy_effective(source, dest); in biba_bpfdesc_create()
805 struct mac_biba *source, *dest; in biba_bpfdesc_create_mbuf() local
807 source = SLOT(dlabel); in biba_bpfdesc_create_mbuf()
[all …]
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c448 mls_copy(struct mac_mls *source, struct mac_mls *dest) in mls_copy() argument
451 if (source->mm_flags & MAC_MLS_FLAG_EFFECTIVE) in mls_copy()
452 mls_copy_effective(source, dest); in mls_copy()
453 if (source->mm_flags & MAC_MLS_FLAG_RANGE) in mls_copy()
454 mls_copy_range(source, dest); in mls_copy()
758 struct mac_mls *source, *dest; in mls_bpfdesc_create() local
760 source = SLOT(cred->cr_label); in mls_bpfdesc_create()
763 mls_copy_effective(source, dest); in mls_bpfdesc_create()
770 struct mac_mls *source, *dest; in mls_bpfdesc_create_mbuf() local
772 source = SLOT(dlabel); in mls_bpfdesc_create_mbuf()
[all …]
/freebsd/sys/contrib/device-tree/Bindings/clock/
H A Dsilabs,si5351.txt30 - 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 Ducc.txt22 - 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 Dusb.txt9 - 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/usr.bin/dc/
H A Dbcode.h64 struct source;
67 int (*readchar)(struct source *);
68 void (*unreadchar)(struct source *);
69 char *(*readline)(struct source *);
70 void (*free)(struct source *);
73 struct source { struct
86 void reset_bmachine(struct source *); argument
H A Dinout.c32 static int src_getcharstream(struct source *);
33 static void src_ungetcharstream(struct source *);
34 static char *src_getlinestream(struct source *);
35 static int src_getcharstring(struct source *);
36 static void src_ungetcharstring(struct source *);
37 static char *src_getlinestring(struct source *);
38 static void src_freestring(struct source *);
59 src_setstream(struct source *src, FILE *stream) in src_setstream()
67 src_setstring(struct source *src, char *p) in src_setstring()
76 src_getcharstream(struct source *src) in src_getcharstream()
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/nvidia/
H A Dtegra210-p2180.dtsi74 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
79 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN1>;
84 maxim,fps-event-source = <MAX77620_FPS_EVENT_SRC_EN0>;
98 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
107 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
137 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
148 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
159 maxim,active-fps-source = <MAX77620_FPS_SRC_1>;
172 maxim,active-fps-source = <MAX77620_FPS_SRC_0>;
185 maxim,active-fps-source
[all...]
/freebsd/usr.bin/m4/
H A Dgnum4.c249 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/sys/contrib/openzfs/module/lua/
H A Dlobject.c246 void luaO_chunkid (char *out, const char *source, size_t bufflen) { in luaO_chunkid() argument
247 size_t l = strlen(source); in luaO_chunkid()
248 if (*source == '=') { /* 'literal' source */ in luaO_chunkid()
250 memcpy(out, source + 1, l * sizeof(char)); in luaO_chunkid()
252 addstr(out, source + 1, bufflen - 1); in luaO_chunkid()
256 else if (*source == '@') { /* file name */ in luaO_chunkid()
258 memcpy(out, source + 1, l * sizeof(char)); in luaO_chunkid()
262 memcpy(out, source + 1 + l - bufflen, bufflen * sizeof(char)); in luaO_chunkid()
266 const char *nl = strchr(source, '\n'); /* find first new line (if any) */ in luaO_chunkid()
270 addstr(out, source, l); /* keep it */ in luaO_chunkid()
[all …]
/freebsd/contrib/sendmail/contrib/
H A Dqtool.pl65 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 …]

12345678910>>...141