/freebsd-src/usr.bin/vgrind/ |
H A D | regexp.c | 162 register char *cs; /* pointer to current symbol in converted exp */ in expconv() local 169 cs = NULL; in expconv() 178 if (cs == NULL || (*cs & STR) == 0) { in expconv() 179 cs = ccre; in expconv() 180 *cs = STR; in expconv() 181 SCNT(cs) = 1; in expconv() 184 SCNT(cs)++; in expconv() 193 if (acs != NULL && acs != cs) { in expconv() 201 cs = ccre; in expconv() 202 *cs = META; in expconv() [all …]
|
/freebsd-src/contrib/nvi/vi/ |
H A D | v_word.c | 101 VCS cs; in fword() local 105 cs.cs_lno = vp->m_start.lno; in fword() 106 cs.cs_cno = vp->m_start.cno; in fword() 107 if (cs_init(sp, &cs)) in fword() 117 if (cs.cs_flags == CS_EMP || (cs.cs_flags == 0 && ISBLANK(cs.cs_ch))) { in fword() 118 if (ISMOTION(vp) && cs.cs_flags != CS_EMP && cnt == 1) { in fword() 122 if (cs_fspace(sp, &cs)) in fword() 127 if (cs_fblank(sp, &cs)) in fword() 141 if (cs_next(sp, &cs)) in fword() 143 if (cs.cs_flags == CS_EOF) in fword() [all …]
|
H A D | v_sentence.c | 54 VCS cs; in v_sentencef() local 58 cs.cs_lno = vp->m_start.lno; in v_sentencef() 59 cs.cs_cno = vp->m_start.cno; in v_sentencef() 60 if (cs_init(sp, &cs)) in v_sentencef() 71 if (cs.cs_flags == CS_EMP || (cs.cs_flags == 0 && isblank(cs.cs_ch))) { in v_sentencef() 72 if (cs_fblank(sp, &cs)) in v_sentencef() 75 if (vp->m_start.lno != cs.cs_lno || in v_sentencef() 76 vp->m_start.cno != cs.cs_cno) in v_sentencef() 83 if (cs_next(sp, &cs)) in v_sentencef() 85 if (cs.cs_flags == CS_EOF) in v_sentencef() [all …]
|
/freebsd-src/sys/contrib/openzfs/module/zfs/ |
H A D | zfs_chksum.c | 101 chksum_stat_t *cs; in chksum_kstat_data() local 105 cs = (chksum_stat_t *)data; in chksum_kstat_data() 106 kmem_scnprintf(b, 23, "%s-%s", cs->name, cs->impl); in chksum_kstat_data() 109 (u_longlong_t)cs->bs1k); in chksum_kstat_data() 111 (u_longlong_t)cs->bs4k); in chksum_kstat_data() 113 (u_longlong_t)cs->bs16k); in chksum_kstat_data() 115 (u_longlong_t)cs->bs64k); in chksum_kstat_data() 117 (u_longlong_t)cs->bs256k); in chksum_kstat_data() 119 (u_longlong_t)cs->bs1m); in chksum_kstat_data() 121 (u_longlong_t)cs->bs4m); in chksum_kstat_data() [all …]
|
/freebsd-src/sys/cam/ctl/ |
H A D | ctl_frontend_iscsi.c | 172 static void cfiscsi_session_terminate(struct cfiscsi_session *cs); 174 struct cfiscsi_session *cs, union ctl_io *io, 177 static void cfiscsi_data_wait_free(struct cfiscsi_session *cs, 185 static void cfiscsi_session_delete(struct cfiscsi_session *cs); 210 struct cfiscsi_session *cs; in cfiscsi_pdu_update_cmdsn() local 213 cs = PDU_SESSION(request); in cfiscsi_pdu_update_cmdsn() 221 cs->cs_timeout = 0; in cfiscsi_pdu_update_cmdsn() 247 if (atomic_fcmpset_32(&cs->cs_cmdsn, &curcmdsn, cmdsn + 1)) in cfiscsi_pdu_update_cmdsn() 257 CFISCSI_SESSION_WARN(cs, "received PDU with CmdSN %u, " in cfiscsi_pdu_update_cmdsn() 267 CFISCSI_SESSION_WARN(cs, "received PDU with CmdSN %u, " in cfiscsi_pdu_update_cmdsn() [all …]
|
/freebsd-src/contrib/tcpdump/ |
H A D | cpack.c | 57 nd_cpack_align_and_reserve(struct cpack_state *cs, size_t wordsize) 62 next = nd_cpack_next_boundary(cs->c_buf, cs->c_next, wordsize); in nd_cpack_align_and_reserve() 65 if (next - cs->c_buf + wordsize > cs->c_len) in nd_cpack_align_and_reserve() 73 nd_cpack_advance(struct cpack_state *cs, const size_t toskip) 76 if (cs->c_next - cs->c_buf + toskip > cs->c_len) in nd_cpack_advance() 78 cs in nd_cpack_advance() 59 nd_cpack_align_and_reserve(struct cpack_state * cs,size_t wordsize) nd_cpack_align_and_reserve() argument 75 nd_cpack_advance(struct cpack_state * cs,const size_t toskip) nd_cpack_advance() argument 85 nd_cpack_init(struct cpack_state * cs,const uint8_t * buf,size_t buflen) nd_cpack_init() argument 98 nd_cpack_uint64(netdissect_options * ndo,struct cpack_state * cs,uint64_t * u) nd_cpack_uint64() argument 114 nd_cpack_int64(netdissect_options * ndo,struct cpack_state * cs,int64_t * u) nd_cpack_int64() argument 130 nd_cpack_uint32(netdissect_options * ndo,struct cpack_state * cs,uint32_t * u) nd_cpack_uint32() argument 146 nd_cpack_int32(netdissect_options * ndo,struct cpack_state * cs,int32_t * u) nd_cpack_int32() argument 162 nd_cpack_uint16(netdissect_options * ndo,struct cpack_state * cs,uint16_t * u) nd_cpack_uint16() argument 178 nd_cpack_int16(netdissect_options * ndo,struct cpack_state * cs,int16_t * u) nd_cpack_int16() argument 194 nd_cpack_uint8(netdissect_options * ndo,struct cpack_state * cs,uint8_t * u) nd_cpack_uint8() argument 209 nd_cpack_int8(netdissect_options * ndo,struct cpack_state * cs,int8_t * u) nd_cpack_int8() argument [all...] |
/freebsd-src/lib/libc/locale/ |
H A D | mbrtocXX_iconv.h | 61 _ConversionState *cs; in mbrtocXX_l() local 69 cs = (_ConversionState *)ps; in mbrtocXX_l() 70 handle = &cs->iconv; in mbrtocXX_l() 73 if (s == NULL || !cs->initialized) { in mbrtocXX_l() 76 cs->initialized = false; in mbrtocXX_l() 80 cs->srcbuf_len = cs->dstbuf_len = 0; in mbrtocXX_l() 81 cs->initialized = true; in mbrtocXX_l() 87 if (cs->dstbuf_len > 0) { in mbrtocXX_l() 93 if (n > sizeof(cs->srcbuf) - cs->srcbuf_len) in mbrtocXX_l() 94 n = sizeof(cs->srcbuf) - cs->srcbuf_len; in mbrtocXX_l() [all …]
|
H A D | cXXrtomb_iconv.h | 57 _ConversionState *cs; in cXXrtomb_l() local 66 cs = (_ConversionState *)ps; in cXXrtomb_l() 67 handle = &cs->iconv; in cXXrtomb_l() 70 if (s == NULL || !cs->initialized) { in cXXrtomb_l() 73 cs->initialized = false; in cXXrtomb_l() 77 cs->srcbuf_len = 0; in cXXrtomb_l() 78 cs->initialized = true; in cXXrtomb_l() 83 assert(cs->srcbuf_len < sizeof(cs->srcbuf.widechar) / sizeof(charXX_t)); in cXXrtomb_l() 84 cs->srcbuf.widechar[cs->srcbuf_len++] = c; in cXXrtomb_l() 87 src = cs->srcbuf.bytes; in cXXrtomb_l() [all …]
|
/freebsd-src/usr.bin/bc/ |
H A D | bc.y |
|
/freebsd-src/sys/contrib/device-tree/Bindings/memory-controllers/ |
H A D | ti-aemif.txt | 34 - CS-specific partition/range. If continuous, must be 38 - control partition which is common for all CS 56 Child chip-select (cs) nodes contain the memory devices nodes connected to 60 Required child cs node properties: 73 - ti,cs-chipselect: number of chipselect. Indicates on the aemif driver 79 Optional child cs node properties: 81 - ti,cs-bus-width: width of the asynchronous device's data bus 84 - ti,cs-select-strobe-mode: enable/disable select strobe mode 89 - ti,cs-extended-wait-mode: enable/disable extended wait mode 95 - ti,cs-min-turnaround-ns: minimum turn around time, ns [all …]
|
H A D | st,stm32-fmc2-ebi-props.yaml | 14 st,fmc2-ebi-cs-transaction-type: 33 st,fmc2-ebi-cs-cclk-enable: 40 st,fmc2-ebi-cs-mux-enable: 46 st,fmc2-ebi-cs-buswidth: 52 st,fmc2-ebi-cs-waitpol-high: 57 st,fmc2-ebi-cs-waitcfg-enable: 64 st,fmc2-ebi-cs-wait-enable: 70 st,fmc2-ebi-cs-asyncwait-enable: 76 st,fmc2-ebi-cs-cpsize: 84 st,fmc2-ebi-cs-byte-lane-setup-ns: [all …]
|
/freebsd-src/usr.bin/tr/ |
H A D | cset.c | 53 struct cset *cs; in cset_alloc() local 55 if ((cs = malloc(sizeof(*cs))) == NULL) in cset_alloc() 57 cs->cs_root = NULL; in cset_alloc() 58 cs->cs_classes = NULL; in cset_alloc() 59 cs->cs_havecache = false; in cset_alloc() 60 cs->cs_invert = false; in cset_alloc() 61 return (cs); in cset_alloc() 69 cset_add(struct cset *cs, wchar_t ch) in cset_add() argument 74 cs->cs_havecache = false; in cset_add() 79 if (cs->cs_root == NULL) { in cset_add() [all …]
|
/freebsd-src/lib/msun/src/ |
H A D | s_sincosf.c | 34 sincosf(float x, float *sn, float *cs) in sincosf() argument 47 *cs = 1; in sincosf() 51 __kernel_sincosdf(x, sn, cs); in sincosf() 58 __kernel_sincosdf(x - p1pio2, cs, sn); in sincosf() 59 *cs = -*cs; in sincosf() 61 __kernel_sincosdf(x + p1pio2, cs, sn); in sincosf() 66 __kernel_sincosdf(x - p2pio2, sn, cs); in sincosf() 68 __kernel_sincosdf(x + p2pio2, sn, cs); in sincosf() 70 *cs = -*cs; in sincosf() 78 __kernel_sincosdf(x - p3pio2, cs, sn); in sincosf() [all …]
|
H A D | s_sincos.c | 24 sincos(double x, double *sn, double *cs) in sincos() argument 38 *cs = 1; in sincos() 42 __kernel_sincos(x, 0, 0, sn, cs); in sincos() 49 *cs = x - x; in sincos() 58 __kernel_sincos(y[0], y[1], 1, sn, cs); in sincos() 61 __kernel_sincos(y[0], y[1], 1, cs, sn); in sincos() 62 *cs = -*cs; in sincos() 65 __kernel_sincos(y[0], y[1], 1, sn, cs); in sincos() 67 *cs = -*cs; in sincos() 70 __kernel_sincos(y[0], y[1], 1, cs, sn); in sincos()
|
H A D | s_sincosl.c | 47 sincosl(long double x, long double *sn, long double *cs) in sincosl() argument 66 *cs = 1; in sincosl() 68 __kernel_sincosl(x, 0, 0, sn, cs); in sincosl() 75 *cs = x - x; in sincosl() 84 __kernel_sincosl(y[0], y[1], 1, sn, cs); in sincosl() 87 __kernel_sincosl(y[0], y[1], 1, cs, sn); in sincosl() 88 *cs = -*cs; in sincosl() 91 __kernel_sincosl(y[0], y[1], 1, sn, cs); in sincosl() 93 *cs = -*cs; in sincosl() 96 __kernel_sincosl(y[0], y[1], 1, cs, sn); in sincosl()
|
/freebsd-src/sys/geom/ |
H A D | geom_ccd.c | 231 ccdinit(struct gctl_req *req, struct ccd_s *cs) in ccdinit() argument 241 cs->sc_size = 0; in ccdinit() 246 if (cs->sc_flags & CCDF_LINUX) { in ccdinit() 247 cs->sc_offset = 0; in ccdinit() 248 cs->sc_ileave *= 2; in ccdinit() 249 if (cs->sc_flags & CCDF_MIRROR && cs->sc_ndisks != 2) in ccdinit() 253 if (cs->sc_flags & CCDF_NO_OFFSET) in ccdinit() 254 cs->sc_offset = 0; in ccdinit() 256 cs->sc_offset = CCD_OFFSET; in ccdinit() 258 for (ix = 0; ix < cs->sc_ndisks; ix++) { in ccdinit() [all …]
|
/freebsd-src/contrib/llvm-project/llvm/lib/FuzzMutate/ |
H A D | OpDescriptor.cpp | 20 void fuzzerop::makeConstantsWithType(Type *T, std::vector<Constant *> &Cs) { in makeConstantsWithType() 23 Cs.push_back(ConstantInt::get(IntTy, 0)); in makeConstantsWithType() 24 Cs.push_back(ConstantInt::get(IntTy, 1)); in makeConstantsWithType() 25 Cs.push_back(ConstantInt::get(IntTy, 42)); in makeConstantsWithType() 26 Cs.push_back(ConstantInt::get(IntTy, APInt::getMaxValue(W))); in makeConstantsWithType() 27 Cs.push_back(ConstantInt::get(IntTy, APInt::getMinValue(W))); in makeConstantsWithType() 28 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMaxValue(W))); in makeConstantsWithType() 29 Cs.push_back(ConstantInt::get(IntTy, APInt::getSignedMinValue(W))); in makeConstantsWithType() 30 Cs.push_back(ConstantInt::get(IntTy, APInt::getOneBitSet(W, W / 2))); in makeConstantsWithType() 34 Cs in makeConstantsWithType() 15 makeConstantsWithType(Type * T,std::vector<Constant * > & Cs) makeConstantsWithType() argument [all...] |
/freebsd-src/sys/net/ |
H A D | slcompress.c | 154 struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp() local 183 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || in sl_compress_tcp() 184 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || in sl_compress_tcp() 185 *(int32_t *)th != ((int32_t *)&cs->cs_ip)[cs->cs_ip.ip_hl]) { in sl_compress_tcp() 202 lcs = cs; cs = cs->cs_next; in sl_compress_tcp() 204 if (ip->ip_src.s_addr == cs->cs_ip.ip_src.s_addr in sl_compress_tcp() 205 && ip->ip_dst.s_addr == cs in sl_compress_tcp() 456 struct cstate *cs; sl_uncompress_tcp_core() local [all...] |
/freebsd-src/sys/rpc/ |
H A D | clnt_dg.c | 184 struct cu_socket *cs = NULL; in clnt_dg_create() local 281 cs = (struct cu_socket *) sb->sb_upcallarg; in clnt_dg_create() 282 mtx_lock(&cs->cs_lock); in clnt_dg_create() 283 cs->cs_refs++; in clnt_dg_create() 284 mtx_unlock(&cs->cs_lock); in clnt_dg_create() 291 cs = mem_alloc(sizeof(*cs)); in clnt_dg_create() 297 mem_free(cs, sizeof(*cs)); in clnt_dg_create() 300 mtx_init(&cs->cs_lock, "cs->cs_lock", NULL, MTX_DEF); in clnt_dg_create() 301 cs->cs_refs = 1; in clnt_dg_create() 302 cs->cs_upcallrefs = 0; in clnt_dg_create() [all …]
|
/freebsd-src/usr.sbin/ppp/ |
H A D | slcompress.c | 161 register struct cstate *cs = comp->last_cs->cs_next; in sl_compress_tcp() local 196 if (ip->ip_src.s_addr != cs->cs_ip.ip_src.s_addr || in sl_compress_tcp() 197 ip->ip_dst.s_addr != cs->cs_ip.ip_dst.s_addr || in sl_compress_tcp() 198 *(int *) th != ((int *) &cs->cs_ip)[cs->cs_ip.ip_hl]) { in sl_compress_tcp() 214 lcs = cs; in sl_compress_tcp() 215 cs = cs->cs_next; in sl_compress_tcp() 217 if (ip->ip_src.s_addr == cs->cs_ip.ip_src.s_addr in sl_compress_tcp() 218 && ip->ip_dst.s_addr == cs in sl_compress_tcp() 434 register struct cstate *cs; sl_uncompress_tcp() local [all...] |
/freebsd-src/lib/libiconv_modules/ISO2022/ |
H A D | citrus_iso2022.c | 189 getcs(const char * __restrict p, _ISO2022Charset * __restrict cs) in getcs() argument 193 cs->final = (unsigned char)(p[3] & 0xff); in getcs() 194 cs->interm = '\0'; in getcs() 195 cs->vers = '\0'; in getcs() 196 cs->type = CS94MULTI; in getcs() 198 cs->final = (unsigned char)(p[3] & 0xff); in getcs() 199 cs->interm = '\0'; in getcs() 200 cs->vers = '\0'; in getcs() 201 cs->type = CS96MULTI; in getcs() 203 cs->final = (unsigned char)(p[2] & 0xff); in getcs() [all …]
|
/freebsd-src/lib/libc/regex/ |
H A D | regex2.h | 129 CHIN1(cset *cs, wint_t ch) in CHIN1() argument 135 return (((cs->bmp[ch >> 3] & (1 << (ch & 7))) != 0) ^ in CHIN1() 136 cs->invert); in CHIN1() 137 for (i = 0; i < cs->nwides; i++) { in CHIN1() 138 if (cs->icase) { in CHIN1() 139 if (ch == towlower(cs->wides[i]) || in CHIN1() 140 ch == towupper(cs->wides[i])) in CHIN1() 141 return (!cs->invert); in CHIN1() 142 } else if (ch == cs->wides[i]) in CHIN1() 143 return (!cs->invert); in CHIN1() [all …]
|
/freebsd-src/sys/contrib/device-tree/Bindings/spi/ |
H A D | spi-controller.yaml | 28 cs-gpios: 32 increased automatically with max(cs-gpios, hardware chip selects). 34 So if, for example, the controller has 4 CS lines, and the 35 cs-gpios looks like this 36 cs-gpios = <&gpio1 0 0>, <0>, <&gpio1 1 0>, <&gpio1 2 0>; 49 cs-gpio with the optional spi-cs-high flag for SPI slaves. 51 Each table entry defines how the CS pin is to be physically 54 device node | cs-gpio | CS pi [all...] |
/freebsd-src/lib/libnetgraph/ |
H A D | msg.c | 55 static int NgDeliverMsg(int cs, const char *path, 59 * Send a message to a node using control socket node "cs". 64 NgSendMsg(int cs, const char *path, in NgSendMsg() argument 79 if (NgDeliverMsg(cs, path, &msg, args, arglen) < 0) in NgSendMsg() 89 NgSendAsciiMsg(int cs, const char *path, const char *fmt, ...) in NgSendAsciiMsg() argument 129 if (NgSendMsg(cs, path, NGM_GENERIC_COOKIE, NGM_ASCII2BINARY, in NgSendAsciiMsg() 137 if (NgAllocRecvMsg(cs, &reply, NULL) < 0) in NgSendAsciiMsg() 144 if (NgDeliverMsg(cs, in NgSendAsciiMsg() 159 NgSendReplyMsg(int cs, const char *path, in NgSendReplyMsg() argument 169 return (NgDeliverMsg(cs, path, &rep, args, arglen)); in NgSendReplyMsg() [all …]
|
/freebsd-src/lib/libpmc/pmu-events/arch/x86/amdzen4/ |
H A D | data-fabric.json | 4 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 0.", 12 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 1.", 20 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 2.", 28 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 3.", 36 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 4.", 44 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 5.", 52 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 6.", 60 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 7.", 68 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 8.", 76 … "PublicDescription": "Read data beats (64 bytes) for local processor at Coherent Station (CS) 9.", [all …]
|