/macosx-10.9.5/libpcap-42/libpcap/ |
H A D | pcap-snoop.c | 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 83 cc = read(p->fd, (char *)p->buffer, p->bufsize); 98 sh = (struct snoopheader *)p->buffer; 144 * XXX - libnet overwrites the source address with what I 157 pcap_stats_snoop(pcap_t *p, struct pcap_stat *ps) argument 174 * "sbdrops" are those dropped due to socket buffer limits. 190 * packets dropped because we ran out of buffer space. 192 *ps = p->md.stat; 217 (void)strncpy(sr.sr_ifname, p->opt.source, sizeo [all...] |
H A D | pcap-pf.c | 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 80 * BUFSPACE is the size in bytes of the packet read buffer. Most tcpdump 103 cc = read(pc->fd, (char *)pc->buffer + pc->offset, pc->bufsize); 122 bp = pc->buffer + pc->offset; 241 pcap_stats_pf(pcap_t *p, struct pcap_stat *ps) argument 249 * ran out of buffer space. (XXX - perhaps it should, 280 ps->ps_recv = p->md.TotAccepted; 281 ps->ps_drop = p->md.TotDrops; 282 ps [all...] |
H A D | pcap-nit.c | 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 67 * The total buffer space used by NIT. 75 pcap_stats_nit(pcap_t *p, struct pcap_stat *ps) argument 82 * of buffer space. 94 *ps = p->md.stat; 108 cc = read(p->fd, (char *)p->buffer, p->bufsize); 116 bp = p->buffer; 269 (void)strncpy(snit.snit_ifname, p->opt.source, NITIFSIZ); 284 p->buffer [all...] |
H A D | pcap-snit.c | 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that: (1) source code distributions 80 * The total buffer space used by NIT. 88 pcap_stats_snit(pcap_t *p, struct pcap_stat *ps) argument 95 * of buffer space. 108 *ps = p->md.stat; 125 cc = read(p->fd, (char *)p->buffer, p->bufsize); 133 bp = p->buffer; 166 /* get past NIT buffer */ 332 strncpy(ifr.ifr_name, p->opt.source, sizeo [all...] |
H A D | pcap-bpf.c | 27 * Redistribution and use in source and binary forms, with or without 28 * modification, are permitted provided that: (1) source code distributions 287 * Zero-copy BPF buffer routines to check for and acknowledge BPF data in 290 * pcap_next_zbuf_shm(): Check for a newly available shared memory buffer, 291 * and set up p->buffer and cc to reflect one if available. Notice that if 292 * there was no prior buffer, we select zbuf1 as this will be the first 293 * buffer filled for a fresh BPF session. 306 p->buffer = p->md.zbuffer + sizeof(*bzh); 316 p->buffer = p->md.zbuffer + sizeof(*bzh); 327 * select() for data or a timeout, and possibly force rotation of the buffer 838 pcap_stats_bpf(pcap_t *p, struct pcap_stat *ps) argument [all...] |
H A D | pcap.c | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright 272 pcap_create_common(const char *source, char *ebuf) argument 289 p->opt.source = strdup(source); 290 if (p->opt.source == NULL) { 446 pcap_open_live(const char *source, int snaplen, int promisc, int to_ms, char *errbuf) argument 451 p = pcap_create(source, errbuf); 480 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s", source, 485 snprintf(errbuf, PCAP_ERRBUF_SIZE, "%s: %s (%s)", source, 1227 pcap_stats(pcap_t *p, struct pcap_stat *ps) argument [all...] |
H A D | pcap-win32.c | 6 * Redistribution and use in source and binary forms, with or without 10 * 1. Redistributions of source code must retain the above copyright 65 /*dimension of the buffer in the pcap_t structure*/ 68 /*dimension of the buffer in the kernel driver NPF */ 120 pcap_stats_win32(pcap_t *p, struct pcap_stat *ps) argument 123 if(PacketGetStats(p->adapter, (struct bpf_stat*)ps) != TRUE){ 131 /* Set the dimension of the kernel-level capture buffer */ 137 snprintf(p->errbuf, PCAP_ERRBUF_SIZE, "driver error: not enough memory to allocate the kernel buffer"); 474 p->adapter = PacketOpenAdapter(p->opt.source); 588 /* Set the buffer siz [all...] |
H A D | pcap-sita.c | 8 * Redistribution and use in source and binary forms, with or without 12 * 1. Redistributions of source code must retain the above copyright 50 #define MAX_LINE_SIZE 255 /* max size of a buffer/line in /etc/hosts we allow */ 215 if (u->imsg) { /* then if an inbound message buffer exists */ 216 u->imsg = (char *)realloc(u->imsg, 1); /* and re-allocate the old large buffer into a new small one */ 668 if ((u->imsg = realloc(u->imsg, (u->len + len))) == NULL) /* extend the buffer for the new data */ 718 if (errbuf && (len++ < PCAP_ERRBUF_SIZE)) { /* and if there is still room in the buffer */ 720 *errbuf = '\0'; /* ensure the string is null terminated just in case we might exceed the buffer's size */ 759 static int pcap_stats_acn(pcap_t *handle, struct pcap_stat *ps) { argument 766 ps [all...] |
/macosx-10.9.5/bind9-45.100/bind9/lib/dns/ |
H A D | message.c | 29 #include <isc/buffer.h> 101 * This is the size of each individual scratchpad buffer, and the numbers 260 * Allocate a new dynamic buffer, and attach it to this message as the 261 * "current" buffer. (which is always the last on the list, for our 402 m->buffer = NULL; 647 * cleanup the buffer cleanup list 890 * Read a name from buffer "source". 893 getname(dns_name_t *name, isc_buffer_t *source, dns_message_t *msg, argument 903 * First try: use current buffer 930 getrdata(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx, dns_rdataclass_t rdclass, dns_rdatatype_t rdtype, unsigned int rdatalen, dns_rdata_t *rdata) argument 993 getquestions(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx, unsigned int options) argument 1165 getsection(isc_buffer_t *source, dns_message_t *msg, dns_decompress_t *dctx, dns_section_t sectionid, unsigned int options) argument 1565 dns_message_parse(dns_message_t *msg, isc_buffer_t *source, unsigned int options) argument 1682 dns_message_renderbegin(dns_message_t *msg, dns_compress_t *cctx, isc_buffer_t *buffer) argument 1721 dns_message_renderchangebuffer(dns_message_t *msg, isc_buffer_t *buffer) argument 2488 dns_message_peekheader(isc_buffer_t *source, dns_messageid_t *idp, unsigned int *flagsp) argument 2492 isc_buffer_t buffer; local 2873 dns_message_takebuffer(dns_message_t *msg, isc_buffer_t **buffer) argument 3191 dns_rdataset_t *ps = NULL; local [all...] |
/macosx-10.9.5/ICU-511.35/icuSources/i18n/ |
H A D | msgfmt.cpp | 861 // Formats the source Formattable array and copy into the result buffer. 865 MessageFormat::format(const Formattable* source, argument 871 return format(source, NULL, cnt, appendTo, &ignore, success); 877 // copy into the appendTo buffer. 891 // Formats the source Formattable object and copy into the 892 // appendTo buffer. The Formattable object must be an array 896 MessageFormat::format(const Formattable& source, argument 903 if (source.getType() != Formattable::kArray) { 908 const Formattable* tmpPtr = source 1244 parse(int32_t msgStart, const UnicodeString& source, ParsePosition& pos, int32_t& count, UErrorCode& ec) const argument 1376 parse(const UnicodeString& source, ParsePosition& pos, int32_t& count) const argument 1389 parse(const UnicodeString& source, int32_t& cnt, UErrorCode& success) const argument 1413 parseObject( const UnicodeString& source, Formattable& result, ParsePosition& status) const argument 1646 const UChar *ps = PatternProps::trimWhiteSpace(s.getBuffer(), length); local [all...] |
/macosx-10.9.5/mDNSResponder-522.92.1/mDNSMacOSX/ |
H A D | mDNSMacOSX.c | 76 #include <IOKit/ps/IOPowerSources.h> 77 #include <IOKit/ps/IOPowerSourcesPrivate.h> 78 #include <IOKit/ps/IOPSKeys.h> 372 char buffer[49] = {0}; local 373 char *bufend = buffer + sizeof(buffer); 384 char *ptr = buffer; 387 LogInfo(" %s", buffer); 1391 static char buffer[512]; local 1403 mDNS_snprintf (buffer, sizeo 1423 char buffer[16]; local 1542 char buffer[16]; local 1906 myrecvfrom(const int s, void *const buffer, const size_t max, struct sockaddr *const from, size_t *const fromlen, mDNSAddr *dstaddr, char ifname[IF_NAMESIZE], mDNSu8 *ttl) argument 2027 char buffer[26]; local 2442 dispatch_source_t source; local 4090 UpdateLLQStatus(const mDNS *const m, char *buffer, int bufsz, const DomainAuthInfo *const info) argument 4110 UpdateRRStatus(const mDNS *const m, char *buffer, int bufsz, const DomainAuthInfo *const info) argument 6963 char buffer[1024]; local 7677 char buffer[MAX_ESCAPED_DOMAIN_NAME]; local 8980 EtcHostsParseOneName(int start, int length, char *buffer, char **name) argument 9008 mDNSMacOSXParseEtcHostsLine(mDNS *const m, char *buffer, ssize_t length, AuthHash *auth) argument 9695 char buffer[MAX_REVERSE_MAPPING_NAME]; local [all...] |
/macosx-10.9.5/vim-53/runtime/autoload/ |
H A D | netrw.vim | 103 call s:NetrwInit("g:netrw_http_xcmd","-source >") 106 call s:NetrwInit("g:netrw_http_xcmd","-source >") 983 " if the file is [No Name], and one attempts to Nwrite it, the buffer takes 1119 " remove enew buffer (quietly) 1183 " remove enew buffer (quietly) 1240 " remove enew buffer (quietly) 1309 " netrw#NetSource: source a remotely hosted vim script {{{2 1339 call netrw#ErrorMsg(s:ERROR,"unable to source <".a:{i}.">!",48) 1349 " readcmd == %r : replace buffer with newly read file 1350 " == 0r : read file at top of buffer [all...] |
/macosx-10.9.5/bind9-45.100/bind9/bin/dig/ |
H A D | dighost.c | 147 static isc_result_t output_filter(isc_buffer_t *buffer, 221 void dup_name(dns_name_t *source, dns_name_t* target, 627 dig_server_t *s, *ps; local 632 ps = s; 634 ISC_LIST_DEQUEUE(server_list, ps, link); 635 isc_mem_free(mctx, ps); 1370 * options are UDP buffer size, the DO bit, and NSID request. 1548 debug("freeing buffer %p", lookup->querysig); 1974 * well as the query structures and buffer space for the replies. If the 2724 * Even though the buffer wa 3825 output_filter(isc_buffer_t *buffer, unsigned int used_org, isc_boolean_t absolute) argument 4309 isc_buffer_t buffer; local 4580 dup_name(dns_name_t *source, dns_name_t *target, isc_mem_t *mctx) argument [all...] |
/macosx-10.9.5/WebKit-7537.78.2/win/ |
H A D | WebView.cpp | 6 * Redistribution and use in source and binary forms, with or without 9 * 1. Redistributions of source code must retain the above copyright 942 // important for us, since we double buffer based off dirty rects. 958 Vector<unsigned char> buffer(regionDataSize); 959 RGNDATA* regionData = reinterpret_cast<RGNDATA*>(buffer.data()); 1085 PAINTSTRUCT ps; local 1090 hdc = BeginPaint(m_viewWindow, &ps); 1091 rcPaint = ps.rcPaint; 1108 EndPaint(m_viewWindow, &ps); 1137 EndPaint(m_viewWindow, &ps); [all...] |