/freebsd-9.3-release/contrib/tcpdump/ |
H A D | cpack.c | 57 cpack_align_and_reserve(struct cpack_state *cs, size_t wordsize) argument 62 next = cpack_next_boundary(cs->c_buf, cs->c_next, wordsize); 65 if (next - cs->c_buf + wordsize > cs->c_len) 72 cpack_init(struct cpack_state *cs, u_int8_t *buf, size_t buflen) argument 74 memset(cs, 0, sizeof(*cs)); 76 cs->c_buf = buf; 77 cs 85 cpack_uint64(struct cpack_state *cs, u_int64_t *u) argument 101 cpack_uint32(struct cpack_state *cs, u_int32_t *u) argument 117 cpack_uint16(struct cpack_state *cs, u_int16_t *u) argument 133 cpack_uint8(struct cpack_state *cs, u_int8_t *u) argument [all...] |
/freebsd-9.3-release/contrib/nvi/vi/ |
H A D | v_word.c | 112 VCS cs; local 116 cs.cs_lno = vp->m_start.lno; 117 cs.cs_cno = vp->m_start.cno; 118 if (cs_init(sp, &cs)) 128 if (cs.cs_flags == CS_EMP || cs.cs_flags == 0 && isblank(cs.cs_ch)) { 129 if (ISMOTION(vp) && cs.cs_flags != CS_EMP && cnt == 1) { 133 if (cs_fspace(sp, &cs)) 138 if (cs_fblank(sp, &cs)) 279 VCS cs; local 432 VCS cs; local [all...] |
H A D | v_sentence.c | 60 VCS cs; local 64 cs.cs_lno = vp->m_start.lno; 65 cs.cs_cno = vp->m_start.cno; 66 if (cs_init(sp, &cs)) 77 if (cs.cs_flags == CS_EMP || cs.cs_flags == 0 && isblank(cs.cs_ch)) { 78 if (cs_fblank(sp, &cs)) 81 if (vp->m_start.lno != cs.cs_lno || 82 vp->m_start.cno != cs 200 VCS cs; local [all...] |
H A D | v_match.c | 39 VCS cs; local 102 cs.cs_lno = vp->m_start.lno; 103 cs.cs_cno = off; 104 if (cs_init(sp, &cs)) 107 if (gc(sp, &cs)) 109 if (cs.cs_flags != 0) { 110 if (cs.cs_flags == CS_EOF || cs.cs_flags == CS_SOF) 114 if (cs.cs_ch == startc) 116 else if (cs [all...] |
/freebsd-9.3-release/usr.bin/vgrind/ |
H A D | regexp.c | 179 register char *cs; /* pointer to current symbol in converted exp */ local 186 cs = NIL; 195 if (cs == NIL || (*cs & STR) == 0) { 196 cs = ccre; 197 *cs = STR; 198 SCNT(cs) = 1; 201 SCNT(cs)++; 210 if (acs != NIL && acs != cs) { 218 cs 353 register char *cs; /* the current symbol */ local [all...] |
/freebsd-9.3-release/contrib/llvm/lib/Support/ |
H A D | regex2.h | 113 #define CHadd(cs, c) ((cs)->ptr[(uch)(c)] |= (cs)->mask, (cs)->hash += (c)) 114 #define CHsub(cs, c) ((cs)->ptr[(uch)(c)] &= ~(cs)->mask, (cs)->hash -= (c)) 115 #define CHIN(cs, c) ((cs) [all...] |
/freebsd-9.3-release/lib/libc/string/ |
H A D | memmem.c | 43 const char *cs = (const char *)s; local 55 return memchr(l, (int)*cs, l_len); 61 if (cur[0] == cs[0] && memcmp(cur, cs, s_len) == 0)
|
/freebsd-9.3-release/usr.bin/tr/ |
H A D | cset.c | 53 struct cset *cs; local 55 if ((cs = malloc(sizeof(*cs))) == NULL) 57 cs->cs_root = NULL; 58 cs->cs_classes = NULL; 59 cs->cs_havecache = false; 60 cs->cs_invert = false; 61 return (cs); 69 cset_add(struct cset *cs, wchar_t ch) argument 74 cs 151 cset_in_hard(struct cset *cs, wchar_t ch) argument 170 cset_cache(struct cset *cs) argument 185 cset_invert(struct cset *cs) argument 198 cset_addclass(struct cset *cs, wctype_t type, bool invert) argument [all...] |
H A D | cset.h | 66 cset_in(struct cset *cs, wchar_t ch) argument 69 if (ch < CS_CACHE_SIZE && cs->cs_havecache) 70 return (cs->cs_cache[ch]); 71 return (cset_in_hard(cs, ch));
|
/freebsd-9.3-release/lib/libc/regex/ |
H A D | regex2.h | 126 CHIN1(cset *cs, wint_t ch) argument 132 return (((cs->bmp[ch >> 3] & (1 << (ch & 7))) != 0) ^ 133 cs->invert); 134 for (i = 0; i < cs->nwides; i++) 135 if (ch == cs->wides[i]) 136 return (!cs->invert); 137 for (i = 0; i < cs->nranges; i++) 138 if (cs->ranges[i].min <= ch && ch <= cs->ranges[i].max) 139 return (!cs 147 CHIN(cset *cs, wint_t ch) argument [all...] |
/freebsd-9.3-release/contrib/gcc/ |
H A D | ipa-prop.c | 333 ipa_callsite_param_count (struct cgraph_edge *cs) argument 335 return IPA_EDGE_REF (cs)->ipa_param_num; 340 ipa_callsite_param_count_set (struct cgraph_edge *cs, int i) argument 342 IPA_EDGE_REF (cs)->ipa_param_num = i; 348 ipa_callsite_param (struct cgraph_edge *cs, int i) argument 350 return &(IPA_EDGE_REF (cs)->ipa_param_map[i]); 355 ipa_callsite_callee (struct cgraph_edge *cs) argument 357 return cs->callee; 363 ipa_callsite_param_set_type (struct cgraph_edge *cs, int i, argument 366 IPA_EDGE_REF (cs) 372 ipa_callsite_param_set_info_type_formal(struct cgraph_edge *cs, int i, unsigned int formal) argument 381 ipa_callsite_param_set_info_type(struct cgraph_edge *cs, int i, tree info_type1) argument 388 ipa_callsite_param_map_create(struct cgraph_edge *cs) argument 396 ipa_callsite_tree(struct cgraph_edge *cs) argument 403 ipa_callsite_caller(struct cgraph_edge *cs) argument 411 ipa_callsite_compute_count(struct cgraph_edge *cs) argument 431 ipa_callsite_compute_param(struct cgraph_edge *cs) argument 536 struct cgraph_edge *cs; local 561 struct cgraph_edge *cs; local 576 struct cgraph_edge *cs; local [all...] |
H A D | ipa-cp.c | 497 struct cgraph_edge *cs; local 501 for (cs = node->callers; cs != NULL; cs = cs->next_caller) 502 sum += cs->count; 517 struct cgraph_edge *cs; local 530 for (cs = node->callees; cs; cs 579 struct cgraph_edge *cs; local 641 struct cgraph_edge *cs; local 714 struct cgraph_edge *cs; local 889 ipcp_redirect(struct cgraph_edge *cs) argument 923 struct cgraph_edge *cs; local 976 struct cgraph_edge *cs; local 1010 struct cgraph_edge *cs; local [all...] |
/freebsd-9.3-release/usr.sbin/ppp/ |
H A D | slcompress.c | 163 register struct cstate *cs = comp->last_cs->cs_next; local 198 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || 199 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || 200 *(int *) th != ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) { 216 lcs = cs; 217 cs = cs->cs_next; 219 if (ip->ip_src.s_addr == cs->cs_ip.ip_src.s_addr 220 && ip->ip_dst.s_addr == cs 436 register struct cstate *cs; local [all...] |
/freebsd-9.3-release/sys/geom/ |
H A D | geom_ccd.c | 208 ccdinit(struct gctl_req *req, struct ccd_s *cs) argument 218 cs->sc_size = 0; 223 if (cs->sc_flags & CCDF_LINUX) { 224 cs->sc_offset = 0; 225 cs->sc_ileave *= 2; 226 if (cs->sc_flags & CCDF_MIRROR && cs->sc_ndisks != 2) 230 if (cs->sc_flags & CCDF_NO_OFFSET) 231 cs->sc_offset = 0; 233 cs 324 ccdinterleave(struct ccd_s *cs) argument 441 struct ccd_s *cs; local 516 ccdbuffer(struct bio **cb, struct ccd_s *cs, struct bio *bp, daddr_t bn, caddr_t addr, long bcount) argument 850 struct ccd_s *cs; local [all...] |
/freebsd-9.3-release/sys/net/ |
H A D | slcompress.c | 161 register struct cstate *cs = comp->last_cs->cs_next; local 190 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || 191 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || 192 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { 209 lcs = cs; cs = cs->cs_next; 211 if (ip->ip_src.s_addr == cs->cs_ip.ip_src.s_addr 212 && ip->ip_dst.s_addr == cs 474 register struct cstate *cs; local [all...] |
/freebsd-9.3-release/usr.bin/bc/ |
H A D | bc.y | 82 static ssize_t cs(const char *); 225 $$ = cs(""); 237 $$ = cs(""); 255 $$ = cs(""); 262 $$ = node($1, cs("ps."), END_NODE); 267 $$ = node($3, cs($2), $1.store, 270 $$ = node($1.load, $3, cs($2), $1.store, 275 $$ = node(cs("["), as($1), 276 cs("]P"), END_NODE); 287 cs(" [all...] |
/freebsd-9.3-release/contrib/binutils/opcodes/ |
H A D | i386-opc.c | 27 const seg_entry cs = { "cs", 0x2e }; variable
|
/freebsd-9.3-release/sys/dev/spibus/ |
H A D | spibusvar.h | 13 uint32_t cs; member in struct:spibus_ivar 28 SPIBUS_ACCESSOR(cs, CS, uint32_t)
|
/freebsd-9.3-release/sys/rpc/ |
H A D | clnt_dg.c | 187 struct cu_socket *cs = NULL; local 281 cs = (struct cu_socket *) sb->sb_upcallarg; 282 mtx_lock(&cs->cs_lock); 283 cs->cs_refs++; 284 mtx_unlock(&cs->cs_lock); 291 cs = mem_alloc(sizeof(*cs)); 297 mem_free(cs, sizeof(*cs)); 300 mtx_init(&cs 334 struct cu_socket *cs; local 817 struct cu_socket *cs; local 950 struct cu_socket *cs; local 996 struct cu_socket *cs; local 1050 struct cu_socket *cs = (struct cu_socket *) arg; local 1147 clnt_dg_upcallsdone(struct socket *so, struct cu_socket *cs) argument [all...] |
/freebsd-9.3-release/lib/libiconv_modules/ISO2022/ |
H A D | citrus_iso2022.c | 189 getcs(const char * __restrict p, _ISO2022Charset * __restrict cs) argument 193 cs->final = (unsigned char)(p[3] & 0xff); 194 cs->interm = '\0'; 195 cs->vers = '\0'; 196 cs->type = CS94MULTI; 198 cs->final = (unsigned char)(p[3] & 0xff); 199 cs->interm = '\0'; 200 cs->vers = '\0'; 201 cs->type = CS96MULTI; 203 cs 227 _ISO2022Charset cs, *p; local 284 _ISO2022Charset cs; local 954 recommendation(_ISO2022EncodingInfo * __restrict ei, _ISO2022Charset * __restrict cs) argument 1012 _ISO2022Charset cs; local [all...] |
/freebsd-9.3-release/usr.sbin/bluetooth/bt3cfw/ |
H A D | bt3cfw.c | 100 int firmware_size, opt, cs, ds; local 142 int i, size, address, cs, fcs; local 183 cs = 0; 185 cs += hexa2int8(buffer + 2 + i * 2); 191 cs += (((data[i] & 0xff00) >> 8) & 0xff); 192 cs += (data[i] & 0x00ff); 195 for (cs = 0, i = 0; i < size; i++) 196 cs += hexa2int8(buffer + 2 + i * 2); 198 if (((cs + fcs) & 0xff) != 0xff) { 200 "error, cs [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | charset.c | 194 register_charset (struct charset *cs) 203 cs->next = 0; 204 *ptr = cs; 211 struct charset *cs; 213 for (cs = all_charsets; cs; cs = cs->next) 214 if (! strcmp (name, cs->name)) 215 return cs; 191 register_charset(struct charset *cs) argument 208 struct charset *cs; local 261 struct charset *cs = xmalloc (sizeof (*cs)); local 923 struct charset *cs = lookup_charset (name); local 932 check_valid_host_charset(struct charset *cs) argument 1030 struct charset *cs = lookup_charset_or_error (charset); local 1039 struct charset *cs = lookup_charset_or_error (charset); local 1052 struct charset *cs = lookup_charset_or_error (host_charset_name); local [all...] |
H A D | coffread.c | 5 Contributed by David D. Johnson, Brown University (ddj@cs.brown.edu). 265 cs_to_section (struct coff_symbol *cs, struct objfile *objfile) 271 args.targ_index = cs->c_secnum; 293 cs_section_address (struct coff_symbol *cs, bfd *abfd) 299 args.targ_index = cs->c_secnum; 685 struct coff_symbol *cs = &coff_symbol; 747 read_one_sym (cs, &main_sym, &main_aux); 749 if (cs->c_symnum == next_file_symnum && cs->c_sclass != C_FILE) 760 if (!last_source_file && SDB_TYPE (cs 264 cs_to_section(struct coff_symbol *cs, struct objfile *objfile) argument 292 cs_section_address(struct coff_symbol *cs, bfd *abfd) argument 680 struct coff_symbol *cs = &coff_symbol; local 1111 read_one_sym(struct coff_symbol *cs, struct internal_syment *sym, union internal_auxent *aux) argument 1468 process_coff_symbol(struct coff_symbol *cs, union internal_auxent *aux, struct objfile *objfile) argument 1687 decode_type(struct coff_symbol *cs, unsigned int c_type, union internal_auxent *aux) argument 1768 decode_function_type(struct coff_symbol *cs, unsigned int c_type, union internal_auxent *aux) argument 1780 decode_base_type(struct coff_symbol *cs, unsigned int c_type, union internal_auxent *aux) argument [all...] |
/freebsd-9.3-release/sys/dev/cs/ |
H A D | if_cs_isa.c | 48 #include <dev/cs/if_csvar.h> 49 #include <dev/cs/if_csreg.h> 108 "cs", 115 DRIVER_MODULE(cs, isa, cs_isa_driver, cs_devclass, 0, 0); 116 MODULE_DEPEND(cs, isa, 1, 1, 1); 117 MODULE_DEPEND(cs, ether, 1, 1, 1);
|
/freebsd-9.3-release/lib/libnetgraph/ |
H A D | msg.c | 57 static int NgDeliverMsg(int cs, const char *path, 61 * Send a message to a node using control socket node "cs". 66 NgSendMsg(int cs, const char *path, argument 83 if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0) 93 NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...) argument 133 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, NGM_ASCII2BINARY, 141 if (NgAllocRecvMsg(cs, &reply, NULL) < 0) 150 if (NgDeliverMsg(cs, 165 NgSendReplyMsg(int cs, const char *path, argument 175 return (NgDeliverMsg(cs, pat 183 NgDeliverMsg(int cs, const char *path, const struct ng_mesg *hdr, const void *args, size_t arglen) argument 267 NgRecvMsg(int cs, struct ng_mesg *rep, size_t replen, char *path) argument 305 NgAllocRecvMsg(int cs, struct ng_mesg **rep, char *path) argument 323 NgRecvAsciiMsg(int cs, struct ng_mesg *reply, size_t replen, char *path) argument 368 NgAllocRecvAsciiMsg(int cs, struct ng_mesg **reply, char *path) argument [all...] |