| /NextBSD/contrib/llvm/tools/lldb/ |
| HD | FREEBSD-Xlist | 36 source/API/CMakeLists.txt 37 source/API/Makefile 38 source/Breakpoint/CMakeLists.txt 39 source/Breakpoint/Makefile 40 source/CMakeLists.txt 41 source/Commands/CMakeLists.txt 42 source/Commands/Makefile 43 source/Core/CMakeLists.txt 44 source/Core/Makefile 45 source/DataFormatters/CMakeLists.txt [all …]
|
| /NextBSD/contrib/llvm/lib/Support/ |
| HD | ConvertUTF.c | 122 const UTF32* source = *sourceStart; in ConvertUTF32toUTF16() local 124 while (source < sourceEnd) { in ConvertUTF32toUTF16() 129 ch = *source++; in ConvertUTF32toUTF16() 134 --source; /* return to the illegal value itself */ in ConvertUTF32toUTF16() 152 --source; /* Back up source pointer! */ in ConvertUTF32toUTF16() 160 *sourceStart = source; in ConvertUTF32toUTF16() 171 const UTF16* source = *sourceStart; in ConvertUTF16toUTF32() local 174 while (source < sourceEnd) { in ConvertUTF16toUTF32() 175 … const UTF16* oldSource = source; /* In case we have to back up because of target overflow. */ in ConvertUTF16toUTF32() 176 ch = *source++; in ConvertUTF16toUTF32() [all …]
|
| /NextBSD/contrib/ntp/lib/isc/unix/ |
| HD | entropy.c | 73 get_from_filesource(isc_entropysource_t *source, isc_uint32_t desired) { in get_from_filesource() argument 74 isc_entropy_t *ent = source->ent; in get_from_filesource() 76 int fd = source->sources.file.handle; in get_from_filesource() 80 if (source->bad) in get_from_filesource() 105 source->sources.file.handle = -1; in get_from_filesource() 106 source->bad = ISC_TRUE; in get_from_filesource() 113 get_from_usocketsource(isc_entropysource_t *source, isc_uint32_t desired) { in get_from_usocketsource() argument 114 isc_entropy_t *ent = source->ent; in get_from_usocketsource() 116 int fd = source->sources.usocket.handle; in get_from_usocketsource() 119 size_t sz_to_recv = source->sources.usocket.sz_to_recv; in get_from_usocketsource() [all …]
|
| /NextBSD/contrib/ntp/lib/isc/win32/ |
| HD | entropy.c | 49 get_from_filesource(isc_entropysource_t *source, isc_uint32_t desired) { in get_from_filesource() argument 50 isc_entropy_t *ent = source->ent; in get_from_filesource() 52 HCRYPTPROV hcryptprov = source->sources.file.handle; in get_from_filesource() 56 if (source->bad) in get_from_filesource() 66 source->bad = ISC_TRUE; in get_from_filesource() 89 isc_entropysource_t *source; in fillpool() local 157 source = ent->nextsource; in fillpool() 162 firstsource = source; in fillpool() 172 if (source->type == ENTROPY_SOURCETYPE_FILE) in fillpool() 173 got = get_from_filesource(source, remaining); in fillpool() [all …]
|
| /NextBSD/contrib/ntp/lib/isc/ |
| HD | lex.c | 195 inputsource *source; in new_source() local 198 source = isc_mem_get(lex->mctx, sizeof(*source)); in new_source() 199 if (source == NULL) in new_source() 201 source->result = ISC_R_SUCCESS; in new_source() 202 source->is_file = is_file; in new_source() 203 source->need_close = need_close; in new_source() 204 source->at_eof = ISC_FALSE; in new_source() 205 source->input = input; in new_source() 206 source->name = isc_mem_strdup(lex->mctx, name); in new_source() 207 if (source->name == NULL) { in new_source() [all …]
|
| HD | base32.c | 43 str_totext(const char *source, isc_buffer_t *target); 56 base32_totext(isc_region_t *source, int wordlength, const char *wordbreak, in base32_totext() argument 66 while (source->length > 0) { in base32_totext() 67 buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */ in base32_totext() 68 if (source->length == 1) { in base32_totext() 69 buf[1] = base[(source->base[0]<<2)&0x1c]; in base32_totext() 75 buf[1] = base[((source->base[0]<<2)&0x1c)| /* 3 = 8 */ in base32_totext() 76 ((source->base[1]>>6)&0x03)]; /* 2 + */ in base32_totext() 77 buf[2] = base[((source->base[1]>>1)&0x1f)]; /* 5 + */ in base32_totext() 78 if (source->length == 2) { in base32_totext() [all …]
|
| HD | entropy.c | 186 destroyfilesource(isc_entropyfilesource_t *source); 189 destroyusocketsource(isc_entropyusocketsource_t *source); 478 get_from_callback(isc_entropysource_t *source, unsigned int desired, in get_from_callback() argument 481 isc_entropy_t *ent = source->ent; in get_from_callback() 482 isc_cbsource_t *cbs = &source->sources.callback; in get_from_callback() 490 if (source->bad) in get_from_callback() 494 result = cbs->startfunc(source, cbs->arg, blocking); in get_from_callback() 503 result = cbs->getfunc(source, cbs->arg, blocking); in get_from_callback() 511 source->bad = ISC_TRUE; in get_from_callback() 721 isc_entropysource_t *source; in destroysource() local [all …]
|
| HD | base64.c | 43 str_totext(const char *source, isc_buffer_t *target); 53 isc_base64_totext(isc_region_t *source, int wordlength, in isc_base64_totext() argument 63 while (source->length > 2) { in isc_base64_totext() 64 buf[0] = base64[(source->base[0]>>2)&0x3f]; in isc_base64_totext() 65 buf[1] = base64[((source->base[0]<<4)&0x30)| in isc_base64_totext() 66 ((source->base[1]>>4)&0x0f)]; in isc_base64_totext() 67 buf[2] = base64[((source->base[1]<<2)&0x3c)| in isc_base64_totext() 68 ((source->base[2]>>6)&0x03)]; in isc_base64_totext() 69 buf[3] = base64[source->base[2]&0x3f]; in isc_base64_totext() 71 isc_region_consume(source, 3); in isc_base64_totext() [all …]
|
| HD | string.c | 35 isc_string_touint64(char *source, char **end, int base) { in isc_string_touint64() argument 38 char *s = source; in isc_string_touint64() 43 *end = source; in isc_string_touint64() 61 *end = source; in isc_string_touint64() 82 *end = source; in isc_string_touint64() 88 *end = source; in isc_string_touint64() 99 isc_string_copy(char *target, size_t size, const char *source) { in isc_string_copy() argument 102 if (strlcpy(target, source, size) >= size) { in isc_string_copy() 113 isc_string_copy_truncate(char *target, size_t size, const char *source) { in isc_string_copy_truncate() argument 116 strlcpy(target, source, size); in isc_string_copy_truncate() [all …]
|
| /NextBSD/contrib/subversion/subversion/libsvn_subr/ |
| HD | temp_serializer.c | 74 source_stack_t *source; member 123 context->source = apr_palloc(pool, sizeof(*context->source)); in svn_temp_serializer__init() 124 context->source->source_struct = source_struct; in svn_temp_serializer__init() 125 context->source->target_offset = 0; in svn_temp_serializer__init() 126 context->source->upper = NULL; in svn_temp_serializer__init() 135 context->source = NULL; in svn_temp_serializer__init() 172 context->source = apr_palloc(pool, sizeof(*context->source)); in svn_temp_serializer__init_append() 173 context->source->source_struct = source_struct; in svn_temp_serializer__init_append() 174 context->source->target_offset = (char *)source_struct - (char *)buffer; in svn_temp_serializer__init_append() 175 context->source->upper = NULL; in svn_temp_serializer__init_append() [all …]
|
| /NextBSD/lib/libfigpar/ |
| HD | string_m.c | 48 strcount(const char *source, const char *find) in strcount() argument 50 const char *p = source; in strcount() 55 if (source == NULL || find == NULL) in strcount() 60 if (strlen(source) == 0 || flen == 0) in strcount() 93 replaceall(char *source, const char *find, const char *replace) in replaceall() argument 106 if (source == NULL) in replaceall() 109 return (strlen(source)); in replaceall() 112 slen = strlen(source); in replaceall() 125 strcpy(temp, source); in replaceall() 127 temp = source; in replaceall() [all …]
|
| /NextBSD/tools/sched/ |
| HD | schedgraph.py | 321 def __init__(self, master, source): argument 323 if (source.hidden == 1): 327 self.source = source 328 self.name = source.name 376 for source in sources: 377 self.addsource(source) 385 def addsource(self, source): argument 393 item = SourceConf(self.items[self.icol], source) 423 enable_sources.append(item.source) 425 disable_sources.append(item.source) [all …]
|
| /NextBSD/contrib/jansson/src/ |
| HD | error.c | 4 void jsonp_error_init(json_error_t *error, const char *source) in jsonp_error_init() argument 12 if(source) in jsonp_error_init() 13 jsonp_error_set_source(error, source); in jsonp_error_init() 15 error->source[0] = '\0'; in jsonp_error_init() 19 void jsonp_error_set_source(json_error_t *error, const char *source) in jsonp_error_set_source() argument 23 if(!error || !source) in jsonp_error_set_source() 26 length = strlen(source); in jsonp_error_set_source() 28 strcpy(error->source, source); in jsonp_error_set_source() 31 strcpy(error->source, "..."); in jsonp_error_set_source() 32 strcpy(error->source + 3, source + extra); in jsonp_error_set_source()
|
| /NextBSD/contrib/gdb/gdb/ |
| HD | macrotab.c | 421 macro_include (struct macro_source_file *source, in macro_include() argument 431 for (link = &source->includes; in macro_include() 449 (*link)->filename, source->filename, line); in macro_include() 464 new = new_source_file (source->table, included); in macro_include() 465 new->included_by = source; in macro_include() 475 macro_lookup_inclusion (struct macro_source_file *source, const char *name) in macro_lookup_inclusion() argument 478 if (strcmp (name, source->filename) == 0) in macro_lookup_inclusion() 479 return source; in macro_lookup_inclusion() 485 int src_name_len = strlen (source->filename); in macro_lookup_inclusion() 491 && source->filename[src_name_len - name_len - 1] == '/' in macro_lookup_inclusion() [all …]
|
| /NextBSD/cddl/contrib/opensolaris/lib/libzfs_core/common/ |
| HD | libzfs_core_compat.c | 33 lzc_compat_pre(zfs_cmd_t *zc, zfs_ioc_t *ioc, nvlist_t **source) in lzc_compat_pre() argument 51 type32 = fnvlist_lookup_int32(*source, "type"); in lzc_compat_pre() 53 nvlist_lookup_nvlist(*source, "props", &nvl); in lzc_compat_pre() 54 *source = nvl; in lzc_compat_pre() 57 buf = fnvlist_lookup_string(*source, "origin"); in lzc_compat_pre() 59 nvlist_lookup_nvlist(*source, "props", &nvl); in lzc_compat_pre() 61 *source = nvl; in lzc_compat_pre() 64 nvl = fnvlist_lookup_nvlist(*source, "snaps"); in lzc_compat_pre() 78 nvlist_lookup_nvlist(*source, "props", &nvl); in lzc_compat_pre() 79 *source = nvl; in lzc_compat_pre() [all …]
|
| /NextBSD/sys/ofed/drivers/infiniband/ |
| HD | Kconfig | 43 source "drivers/infiniband/hw/mthca/Kconfig" 44 source "drivers/infiniband/hw/ipath/Kconfig" 45 source "drivers/infiniband/hw/qib/Kconfig" 46 source "drivers/infiniband/hw/ehca/Kconfig" 47 source "drivers/infiniband/hw/amso1100/Kconfig" 48 source "drivers/infiniband/hw/cxgb3/Kconfig" 49 source "drivers/infiniband/hw/mlx4/Kconfig" 50 source "drivers/infiniband/hw/nes/Kconfig" 52 source "drivers/infiniband/ulp/ipoib/Kconfig" 54 source "drivers/infiniband/ulp/srp/Kconfig" [all …]
|
| /NextBSD/contrib/file/magic/Magdir/ |
| HD | c-lang | 7 0 search/8192 "libhdr" BCPL source text 9 0 search/8192 "LIBHDR" BCPL source text 13 0 regex \^#include C source text 15 0 regex \^char[\ \t\n]+ C source text 17 0 regex \^double[\ \t\n]+ C source text 19 0 regex \^extern[\ \t\n]+ C source text 21 0 regex \^float[\ \t\n]+ C source text 23 0 regex \^struct[\ \t\n]+ C source text 25 0 regex \^union[\ \t\n]+ C source text 27 0 search/8192 main( C source text [all …]
|
| HD | 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
|
| /NextBSD/sys/security/mac_lomac/ |
| HD | mac_lomac.c | 478 lomac_copy(struct mac_lomac *source, struct mac_lomac *dest) in lomac_copy() argument 481 if (source->ml_flags & MAC_LOMAC_FLAG_SINGLE) in lomac_copy() 482 lomac_copy_single(source, dest); in lomac_copy() 483 if (source->ml_flags & MAC_LOMAC_FLAG_AUX) in lomac_copy() 484 lomac_copy_auxsingle(source, dest); in lomac_copy() 485 if (source->ml_flags & MAC_LOMAC_FLAG_RANGE) in lomac_copy() 486 lomac_copy_range(source, dest); in lomac_copy() 890 struct mac_lomac *source, *dest; in lomac_bpfdesc_create() local 892 source = SLOT(cred->cr_label); in lomac_bpfdesc_create() 895 lomac_copy_single(source, dest); in lomac_bpfdesc_create() [all …]
|
| /NextBSD/sys/security/mac_biba/ |
| HD | mac_biba.c | 484 biba_copy(struct mac_biba *source, struct mac_biba *dest) in biba_copy() argument 487 if (source->mb_flags & MAC_BIBA_FLAG_EFFECTIVE) in biba_copy() 488 biba_copy_effective(source, dest); in biba_copy() 489 if (source->mb_flags & MAC_BIBA_FLAG_RANGE) in biba_copy() 490 biba_copy_range(source, dest); in biba_copy() 794 struct mac_biba *source, *dest; in biba_bpfdesc_create() local 796 source = SLOT(cred->cr_label); in biba_bpfdesc_create() 799 biba_copy_effective(source, dest); in biba_bpfdesc_create() 806 struct mac_biba *source, *dest; in biba_bpfdesc_create_mbuf() local 808 source = SLOT(dlabel); in biba_bpfdesc_create_mbuf() [all …]
|
| /NextBSD/sys/security/mac_mls/ |
| HD | mac_mls.c | 449 mls_copy(struct mac_mls *source, struct mac_mls *dest) in mls_copy() argument 452 if (source->mm_flags & MAC_MLS_FLAG_EFFECTIVE) in mls_copy() 453 mls_copy_effective(source, dest); in mls_copy() 454 if (source->mm_flags & MAC_MLS_FLAG_RANGE) in mls_copy() 455 mls_copy_range(source, dest); in mls_copy() 759 struct mac_mls *source, *dest; in mls_bpfdesc_create() local 761 source = SLOT(cred->cr_label); in mls_bpfdesc_create() 764 mls_copy_effective(source, dest); in mls_bpfdesc_create() 771 struct mac_mls *source, *dest; in mls_bpfdesc_create_mbuf() local 773 source = SLOT(dlabel); in mls_bpfdesc_create_mbuf() [all …]
|
| /NextBSD/contrib/libpcap/ |
| HD | pcap-snoop.c | 222 (void)strncpy(sr.sr_ifname, p->opt.source, sizeof(sr.sr_ifname)); in pcap_activate_snoop() 242 if (strncmp("et", p->opt.source, 2) == 0 || /* Challenge 10 Mbit */ in pcap_activate_snoop() 243 strncmp("ec", p->opt.source, 2) == 0 || /* Indigo/Indy 10 Mbit, in pcap_activate_snoop() 245 strncmp("ef", p->opt.source, 2) == 0 || /* O200/2000 10/100 Mbit */ in pcap_activate_snoop() 246 strncmp("eg", p->opt.source, 2) == 0 || /* Octane/O2xxx/O3xxx Gigabit */ in pcap_activate_snoop() 247 strncmp("gfe", p->opt.source, 3) == 0 || /* GIO 100 Mbit */ in pcap_activate_snoop() 248 strncmp("fxp", p->opt.source, 3) == 0 || /* Challenge VME Enet */ in pcap_activate_snoop() 249 strncmp("ep", p->opt.source, 2) == 0 || /* Challenge 8x10 Mbit EPLEX */ in pcap_activate_snoop() 250 strncmp("vfe", p->opt.source, 3) == 0 || /* Challenge VME 100Mbit */ in pcap_activate_snoop() 251 strncmp("fa", p->opt.source, 2) == 0 || in pcap_activate_snoop() [all …]
|
| /NextBSD/bin/ln/ |
| HD | ln.c | 223 linkit(const char *source, const char *target, int isdir) in linkit() argument 234 if ((Pflag ? lstat : stat)(source, &sb)) { in linkit() 235 warn("%s", source); in linkit() 241 warn("%s", source); in linkit() 253 if (strlcpy(bbuf, source, sizeof(bbuf)) >= sizeof(bbuf) || in linkit() 258 warn("%s", source); in linkit() 269 if (*source == '/') { in linkit() 271 if (stat(source, &sb) != 0) in linkit() 272 warn("warning: %s inaccessible", source); in linkit() 283 p, source); in linkit() [all …]
|
| /NextBSD/lib/libdispatch/dispatch/ |
| HD | source.h | 381 dispatch_source_set_event_handler(dispatch_source_t source, 404 dispatch_source_set_event_handler_f(dispatch_source_t source, 438 dispatch_source_set_cancel_handler(dispatch_source_t source, 463 dispatch_source_set_cancel_handler_f(dispatch_source_t source, 491 dispatch_source_cancel(dispatch_source_t source); 510 dispatch_source_testcancel(dispatch_source_t source); 541 dispatch_source_get_handle(dispatch_source_t source); 572 dispatch_source_get_mask(dispatch_source_t source); 610 dispatch_source_get_data(dispatch_source_t source); 631 dispatch_source_merge_data(dispatch_source_t source, unsigned long value); [all …]
|
| /NextBSD/usr.bin/dc/ |
| HD | inout.c | 34 static int src_getcharstream(struct source *); 35 static void src_ungetcharstream(struct source *); 36 static char *src_getlinestream(struct source *); 37 static int src_getcharstring(struct source *); 38 static void src_ungetcharstring(struct source *); 39 static char *src_getlinestring(struct source *); 40 static void src_freestring(struct source *); 61 src_setstream(struct source *src, FILE *stream) in src_setstream() 69 src_setstring(struct source *src, char *p) in src_setstring() 78 src_getcharstream(struct source *src) in src_getcharstream() [all …]
|