Searched refs:source (Results 1 - 25 of 574) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/googletest/googlemock/scripts/generator/cpp/
H A Dgmock_class_test.py49 """Convert C++ source to Google Mock output source lines."""
58 source = """
66 self.GenerateMethodSource(source))
69 source = """
83 self.GenerateMethodSource(source))
86 source = """
96 self.GenerateMethodSource(source))
99 source = """
112 self.GenerateMethodSource(source))
[all...]
H A Dtokenize.py18 """Tokenize C++ source code."""
70 start contains the index of the first char of the token in the source
71 end contains the index of the last char of the token in the source
89 def _GetString(source, start, i):
90 i = source.find('"', i+1)
91 while source[i-1] == '\\':
95 while source[j] == '\\':
101 i = source.find('"', i+1)
105 def _GetChar(source, start, i):
107 i = source
[all...]
/freebsd-13-stable/contrib/libpcap/
H A Dpcap-rpcap.h5 * Redistribution and use in source and binary forms, with or without
8 * 1. Redistributions of source code must retain the above copyright
40 pcap_t *pcap_open_rpcap(const char *source, int snaplen, int flags,
46 int pcap_findalldevs_ex_remote(const char *source,
/freebsd-13-stable/contrib/elftoolchain/addr2line/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/contrib/elftoolchain/elfdump/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/contrib/elftoolchain/libdwarf/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/contrib/elftoolchain/libelftc/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/contrib/elftoolchain/libpe/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/contrib/elftoolchain/nm/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/contrib/elftoolchain/readelf/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/contrib/elftoolchain/size/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/contrib/elftoolchain/strings/
H A Dos.NetBSD.mk1 # TODO(#511): Revert after the source tree is -Wconversion clean.
/freebsd-13-stable/sys/dev/isci/scil/
H A Dsci_util.c31 * Redistribution and use in source and binary forms, with or without
35 * * Redistributions of source code must retain the above copyright
62 U32 *source,
68 *destination = SCIC_SWAP_DWORD(*source);
70 source++;
60 scic_word_copy_with_swap( U32 *destination, U32 *source, U32 word_count ) argument
/freebsd-13-stable/contrib/ntp/lib/isc/win32/
H A Dentropy.c49 get_from_filesource(isc_entropysource_t *source, isc_uint32_t desired) { argument
50 isc_entropy_t *ent = source->ent;
52 HCRYPTPROV hcryptprov = source->sources.file.handle;
56 if (source->bad)
66 source->bad = ISC_TRUE;
80 * Poll each source, trying to get data from it to stuff into the entropy
89 isc_entropysource_t *source; local
143 * Poll each file source to see if we can read anything useful from
157 source = ent->nextsource;
159 * Remember the first source s
230 destroyfilesource(isc_entropyfilesource_t *source) argument
235 destroyusocketsource(isc_entropyusocketsource_t *source) argument
243 isc_entropysource_t *source; local
[all...]
/freebsd-13-stable/contrib/ntp/lib/isc/unix/
H A Dentropy.c73 get_from_filesource(isc_entropysource_t *source, isc_uint32_t desired) { argument
74 isc_entropy_t *ent = source->ent;
76 int fd = source->sources.file.handle;
80 if (source->bad)
105 source->sources.file.handle = -1;
106 source->bad = ISC_TRUE;
113 get_from_usocketsource(isc_entropysource_t *source, isc_uint32_t desired) { argument
114 isc_entropy_t *ent = source->ent;
116 int fd = source->sources.usocket.handle;
119 size_t sz_to_recv = source
255 isc_entropysource_t *source; local
391 isc_entropysource_t *source; local
444 destroyfilesource(isc_entropyfilesource_t *source) argument
449 destroyusocketsource(isc_entropyusocketsource_t *source) argument
494 isc_entropysource_t *source; local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DConvertUTF.cpp13 * This source code is provided as is by Unicode, Inc. No claims are
38 source sequences, enhanced error detection, added casts
148 const UTF32* source = *sourceStart; local
150 while (source < sourceEnd) {
155 ch = *source++;
160 --source; /* return to the illegal value itself */
178 --source; /* Back up source pointer! */
186 *sourceStart = source;
197 const UTF16* source local
251 const UTF16* source = *sourceStart; local
321 const UTF32* source = *sourceStart; local
381 isLegalUTF8(const UTF8 *source, int length) argument
412 isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) argument
423 findMaximalSubpartOfIllFormedUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) argument
529 isLegalUTF8String(const UTF8 **source, const UTF8 *sourceEnd) argument
545 const UTF8* source = *sourceStart; local
619 const UTF8* source = *sourceStart; local
[all...]
/freebsd-13-stable/contrib/ncurses/ncurses/tinfo/
H A Dobsolete.c107 _nc_conv_to_utf8(unsigned char *target, unsigned source, unsigned limit) argument
109 #define CH(n) UChar((source) >> ((n) * 8))
112 if (source <= 0x0000007f)
114 else if (source <= 0x000007ff)
116 else if (source <= 0x0000ffff)
118 else if (source <= 0x001fffff)
120 else if (source <= 0x03ffffff)
122 else /* (source <= 0x7fffffff) */
181 _nc_conv_to_utf32(unsigned *target, const char *source, unsigned limit) argument
189 * Find the number of bytes we will need from the source
[all...]
/freebsd-13-stable/contrib/ntp/lib/isc/
H A Dbase32.c43 str_totext(const char *source, isc_buffer_t *target);
56 base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, argument
66 while (source->length > 0) {
67 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */
68 if (source->length == 1) {
69 buf[1] = base[(source->base[0]<<2)&0x1c];
75 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */
76 ((source->base[1]>>6)&0x03)]; /* 2 + */
77 buf[2] = base[((source->base[1]>>1)&0x1f)]; /* 5 + */
78 if (source
121 isc_base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
128 isc_base32hex_totext(isc_region_t *source, int wordlength, const char *wordbreak, isc_buffer_t *target) argument
324 base32_decoderegion(isc_region_t *source, const char base[], isc_buffer_t *target) argument
338 isc_base32_decoderegion(isc_region_t *source, isc_buffer_t *target) argument
343 isc_base32hex_decoderegion(isc_region_t *source, isc_buffer_t *target) argument
348 str_totext(const char *source, isc_buffer_t *target) argument
[all...]
H A Dlex.c195 inputsource *source; local
198 source = isc_mem_get(lex->mctx, sizeof(*source));
199 if (source == NULL)
201 source->result = ISC_R_SUCCESS;
202 source->is_file = is_file;
203 source->need_close = need_close;
204 source->at_eof = ISC_FALSE;
205 source->input = input;
206 source
279 inputsource *source; local
318 pushback(inputsource *source, int c) argument
330 pushandgrow(isc_lex_t *lex, inputsource *source, int c) argument
354 inputsource *source; local
860 inputsource *source; local
883 inputsource *source; local
904 inputsource *source; local
917 inputsource *source; local
931 inputsource *source; local
949 inputsource *source; local
[all...]
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
H A Dtemp_serializer.c40 /* An element in the structure stack. It contains a pointer to the source
48 /* the source structure passed in to *_init or *_push */
61 * the serialized result and the stack of source structure information.
74 source_stack_t *source; member in struct:svn_temp_serializer__context_t
120 /* If a source struct has been given, make it the root struct. */
123 context->source = apr_palloc(pool, sizeof(*context->source));
124 context->source->source_struct = source_struct;
125 context->source->target_offset = 0;
126 context->source
230 const void *source = *source_struct; local
287 const void *source = *source_struct; local
[all...]
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/scudo/
H A Dscudo_utils.h23 INLINE Dest bit_cast(const Source& source) { argument
26 memcpy(&dest, &source, sizeof(dest));
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dzmod.h47 * 2. Altered source versions must be plainly marked as such, and must not be
49 * 3. This notice may not be removed or altered from any source distribution.
61 extern int z_compress_level(void *dest, size_t *destLen, const void *source,
63 extern int z_uncompress(void *dest, size_t *destLen, const void *source,
/freebsd-13-stable/lib/libfigpar/
H A Dstring_m.c5 * Redistribution and use in source and binary forms, with or without
8 * 1. Redistributions of source code must retain the above copyright
41 * Counts the number of occurrences of one string that appear in the source
48 strcount(const char *source, const char *find) argument
50 const char *p = source;
55 if (source == NULL || find == NULL)
60 if (strlen(source) == 0 || flen == 0)
76 * Replaces all occurrences of `find' in `source' with `replace'.
79 * a pointer to an allocated block of memory. The block of memory that source
82 * will be larger than the original source strin
93 replaceall(char *source, const char *find, const char *replace) argument
180 strexpand(char *source) argument
268 strexpandnl(char *source) argument
298 strtolower(char *source) argument
[all...]
/freebsd-13-stable/usr.bin/dc/
H A Dbcode.h65 struct source;
68 int (*readchar)(struct source *);
69 void (*unreadchar)(struct source *);
70 char *(*readline)(struct source *);
71 void (*free)(struct source *);
74 struct source { struct
87 void reset_bmachine(struct source *);
/freebsd-13-stable/contrib/ntp/lib/isc/include/isc/
H A Dbase32.h42 isc_base32_totext(isc_region_t *source, int wordlength,
45 isc_base32hex_totext(isc_region_t *source, int wordlength,
57 *\li 'source' is a region containing binary data
64 * in source. The 'used' pointer in target will be advanced as
110 isc_base32_decoderegion(isc_region_t *source, isc_buffer_t *target);
112 isc_base32hex_decoderegion(isc_region_t *source, isc_buffer_t *target);
117 *\li 'source' is a valid region.
123 *\li #ISC_R_BADBASE32 -- 'source' is not a valid base32 encoding.

Completed in 363 milliseconds

1234567891011>>