/freebsd-10.3-release/sys/boot/arm/at91/libat91/ |
H A D | sd-card.h | 4 * Redistribution and use in source and binary forms, with or without 7 * 1. Redistributions of source code must retain the above copyright 33 int MCI_write (unsigned dest, char* source, unsigned length); 34 int MCI_read (char* dest, unsigned source, unsigned length);
|
/freebsd-10.3-release/sys/dev/isci/scil/ |
H A D | sci_util.c | 29 * Redistribution and use in source and binary forms, with or without 33 * * Redistributions of source code must retain the above copyright 60 U32 *source, 66 *destination = SCIC_SWAP_DWORD(*source); 68 source++; 58 scic_word_copy_with_swap( U32 *destination, U32 *source, U32 word_count ) argument
|
/freebsd-10.3-release/contrib/llvm/lib/Support/ |
H A D | ConvertUTF.c | 14 * This source code is provided as is by Unicode, Inc. No claims are 39 source sequences, enhanced error detection, added casts 121 const UTF32* source = *sourceStart; local 123 while (source < sourceEnd) { 128 ch = *source++; 133 --source; /* return to the illegal value itself */ 151 --source; /* Back up source pointer! */ 159 *sourceStart = source; 170 const UTF16* source local 224 const UTF16* source = *sourceStart; local 294 const UTF32* source = *sourceStart; local 354 isLegalUTF8(const UTF8 *source, int length) argument 385 isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd) argument 409 isLegalUTF8String(const UTF8 **source, const UTF8 *sourceEnd) argument 425 const UTF8* source = *sourceStart; local 498 const UTF8* source = *sourceStart; local [all...] |
/freebsd-10.3-release/contrib/ntp/lib/isc/win32/ |
H A D | entropy.c | 49 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-10.3-release/contrib/ntp/lib/isc/unix/ |
H A D | entropy.c | 73 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-10.3-release/contrib/ntp/lib/isc/ |
H A D | base32.c | 43 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 D | lex.c | 195 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...] |
H A D | entropy.c | 23 * compiled via inclusion from the relevant OS source file, ie, 85 * pseudorandom data and they cannot provide a stronger random source, 144 isc_uint32_t total; /*%< entropy from this source */ 158 #define ENTROPY_SOURCETYPE_SAMPLE 1 /*%< Type is a sample source */ 159 #define ENTROPY_SOURCETYPE_FILE 2 /*%< Type is a file source */ 160 #define ENTROPY_SOURCETYPE_CALLBACK 3 /*%< Type is a callback source */ 161 #define ENTROPY_SOURCETYPE_USOCKET 4 /*%< Type is a Unix socket source */ 186 destroyfilesource(isc_entropyfilesource_t *source); 189 destroyusocketsource(isc_entropyusocketsource_t *source); 478 get_from_callback(isc_entropysource_t *source, unsigne argument 721 isc_entropysource_t *source; local 763 isc_entropysource_t *source; local 786 isc_entropysource_t *source; local 831 isc_entropysource_t *source; local 865 isc_entropysource_t *source; local 925 isc_entropysource_t *source; local 953 isc_entropysource_t *source; local 1023 isc_entropy_addsample(isc_entropysource_t *source, isc_uint32_t sample, isc_uint32_t extra) argument 1050 isc_entropy_addcallbacksample(isc_entropysource_t *source, isc_uint32_t sample, isc_uint32_t extra) argument 1155 kbdstart(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) argument 1181 kbdstop(isc_entropysource_t *source, void *arg) argument 1192 kbdget(isc_entropysource_t *source, void *arg, isc_boolean_t blocking) argument 1226 isc_entropy_usebestsource(isc_entropy_t *ectx, isc_entropysource_t **source, const char *randomfile, int use_keyboard) argument [all...] |
H A D | base64.c | 43 str_totext(const char *source, isc_buffer_t *target); 53 isc_base64_totext(isc_region_t *source, int wordlength, argument 63 while (source->length > 2) { 64 buf[0] = base64[(source->base[0]>>2)&0x3f]; 65 buf[1] = base64[((source->base[0]<<4)&0x30)| 66 ((source->base[1]>>4)&0x0f)]; 67 buf[2] = base64[((source->base[1]<<2)&0x3c)| 68 ((source->base[2]>>6)&0x03)]; 69 buf[3] = base64[source->base[2]&0x3f]; 71 isc_region_consume(source, 227 str_totext(const char *source, isc_buffer_t *target) argument [all...] |
H A D | string.c | 35 isc_string_touint64(char *source, char **end, int base) { argument 38 char *s = source; 43 *end = source; 61 *end = source; 82 *end = source; 88 *end = source; 99 isc_string_copy(char *target, size_t size, const char *source) { argument 102 if (strlcpy(target, source, size) >= size) { 113 isc_string_copy_truncate(char *target, size_t size, const char *source) { argument 116 strlcpy(target, source, siz 122 isc_string_append(char *target, size_t size, const char *source) argument 137 isc_string_append_truncate(char *target, size_t size, const char *source) argument 183 isc_string_regiondup(isc_mem_t *mctx, const isc_region_t *source) argument [all...] |
/freebsd-10.3-release/contrib/gdb/gdb/ |
H A D | macroexp.h | 42 char *macro_expand (const char *source, 54 char *macro_expand_once (const char *source,
|
H A D | macrotab.h | 28 /* How do we represent a source location? I mean, how should we 36 same source file can be #included into several different 78 /* A source file that participated in a compilation unit --- either a 84 unit, with the main source file as its root. 86 Beware --- not every source file mentioned in a compilation unit's 88 2002, GCC does record the effect of #line directives in the source 99 Suppose you take your main source file, and after each line 104 per-inclusion lines in the source files. (Obviously, #include 112 logical line numbers onto actual source filenames and line numbers, 116 object and you get nice, unambiguous source cod [all...] |
H A D | macrotab.c | 47 /* The main source file for this compilation unit --- the one whose 153 /* The source file and line number where the definition's scope 158 /* The first source file and line after the definition's scope. 167 /* Return the #inclusion depth of the source file FILE. This is the 169 source file, the #inclusion depth is zero; for a file it #includes 183 /* Compare two source locations (from the same compilation unit). 187 LINE1 and LINE2 are line numbers in the source files FILE1 and 193 When the two locations are in different source files --- perhaps 194 one is in a header, while another is in the main source file --- we 205 source fil 421 macro_include(struct macro_source_file *source, int line, const char *included) argument 475 macro_lookup_inclusion(struct macro_source_file *source, const char *name) argument 665 check_for_redefinition(struct macro_source_file *source, int line, const char *name, enum macro_kind kind, int argc, const char **argv, const char *replacement) argument 720 macro_define_object(struct macro_source_file *source, int line, const char *name, const char *replacement) argument 752 macro_define_function(struct macro_source_file *source, int line, const char *name, int argc, const char **argv, const char *replacement) argument 779 macro_undef(struct macro_source_file *source, int line, const char *name) argument 821 macro_lookup_definition(struct macro_source_file *source, int line, const char *name) argument 834 macro_definition_location(struct macro_source_file *source, int line, const char *name, int *definition_line) argument [all...] |
/freebsd-10.3-release/lib/libfigpar/ |
H A D | string_m.c | 5 * 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-10.3-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | temp_serializer.c | 40 /* 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 [all...] |
/freebsd-10.3-release/usr.bin/dc/ |
H A D | bcode.h | 65 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-10.3-release/contrib/ntp/lib/isc/include/isc/ |
H A D | base32.h | 42 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.
|
H A D | string.h | 42 isc_string_touint64(char *source, char **endp, int base); 44 * Convert the string pointed to by 'source' to isc_uint64_t. 53 * On error 'endp' points to 'source'. 57 isc_string_copy(char *target, size_t size, const char *source); 59 * Copy the string pointed to by 'source' to 'target' which is a 65 * 'source' == NULL or points to a NUL terminated string. 76 * ISC_R_SUCCESS -- 'source' was successfully copied to 'target'. 77 * ISC_R_NOSPACE -- 'source' could not be copied since 'target' 82 isc_string_copy_truncate(char *target, size_t size, const char *source); 84 * Copy the string pointed to by 'source' t [all...] |
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libzfs_core/common/ |
H A D | libzfs_core_compat.c | 33 lzc_compat_pre(zfs_cmd_t *zc, zfs_ioc_t *ioc, nvlist_t **source) argument 51 type32 = fnvlist_lookup_int32(*source, "type"); 53 nvlist_lookup_nvlist(*source, "props", &nvl); 54 *source = nvl; 57 buf = fnvlist_lookup_string(*source, "origin"); 59 nvlist_lookup_nvlist(*source, "props", &nvl); 61 *source = nvl; 64 nvl = fnvlist_lookup_nvlist(*source, "snaps"); 78 nvlist_lookup_nvlist(*source, "props", &nvl); 79 *source [all...] |
/freebsd-10.3-release/sbin/mount_nullfs/ |
H A D | mount_nullfs.c | 8 * Redistribution and use in source and binary forms, with or without 11 * 1. Redistributions of source code must retain the above copyright 68 char source[MAXPATHLEN]; local 99 /* resolve target and source with realpath(3) */ 102 if (checkpath(argv[1], source) != 0) 103 err(EX_USAGE, "%s", source); 105 if (subdir(target, source) || subdir(source, target)) 110 build_iovec(&iov, &iovlen, "fspath", source, (size_t)-1); 115 err(1, "%s: %s", source, errms [all...] |
/freebsd-10.3-release/sys/contrib/ia64/libuwx/src/ |
H A D | uwx_bstream.h | 28 uint64_t source; member in struct:uwx_bstream 42 uint64_t source,
|
/freebsd-10.3-release/lib/libz/ |
H A D | compress.c | 12 Compresses the source buffer into the destination buffer. The level 14 length of the source buffer. Upon entry, destLen is the total size of the 22 int ZEXPORT compress2 (dest, destLen, source, sourceLen, level) 25 const Bytef *source; 32 stream.next_in = (z_const Bytef *)source; 35 /* Check for source > 64K on 16-bit machine: */ 62 int ZEXPORT compress (dest, destLen, source, sourceLen) 65 const Bytef *source; 68 return compress2(dest, destLen, source, sourceLen, Z_DEFAULT_COMPRESSION);
|
H A D | uncompr.c | 12 Decompresses the source buffer into the destination buffer. sourceLen is 13 the byte length of the source buffer. Upon entry, destLen is the total 24 int ZEXPORT uncompress (dest, destLen, source, sourceLen) 27 const Bytef *source; 33 stream.next_in = (z_const Bytef *)source; 35 /* Check for source > 64K on 16-bit machine: */
|
/freebsd-10.3-release/sys/dev/aic7xxx/aicasm/ |
H A D | aicasm_insformat.h | 8 * Redistribution and use in source and binary forms, with or without 11 * 1. Redistributions of source code must retain the above copyright 48 source : 9, member in struct:ins_format1 58 source : 9, 66 source : 9, member in struct:ins_format2 76 source : 9, 84 source : 9, member in struct:ins_format3 92 source : 9,
|
/freebsd-10.3-release/contrib/subversion/subversion/svnserve/ |
H A D | log-escape.c | 75 apr_size_t escape_errorlog_item(char *dest, const char *source, argument 81 if (!source || !buflen) { /* be safe */ 86 s = (const unsigned char *)source;
|