| /freebsd/contrib/opencsd/decoder/source/ |
| H A D | ocsd_dcd_tree.cpp | 227 /* Memory accessor creation - all on default mem accessor using the 0 CSID for global core space. */ 410 uint8_t CSID = 0; // default for single stream decoder (no deformatter) - we ignore the ID in createDecoder() local 413 CSID = pConfig->getTraceID(); in createDecoder() 418 if((err = createDecodeElement(CSID)) != OCSD_OK) in createDecoder() 431 if((err = pDecoderMngr->createDecoder(crtFlags,(int)CSID,pConfig,&pTraceComp)) != OCSD_OK) in createDecoder() 434 m_decode_elements[CSID]->SetDecoderElement(decoderName, pDecoderMngr, pTraceComp, true); in createDecoder() 467 err = m_frame_deformatter_root->getIDStreamAttachPt(CSID)->attach(pDataIn); in createDecoder() 475 destroyDecodeElement(CSID); // will destroy decoder as well. in createDecoder() 480 ocsd_err_t DecodeTree::removeDecoder(const uint8_t CSID) in removeDecoder() argument 483 uint8_t localID = CSID; in removeDecoder() [all …]
|
| /freebsd/usr.bin/mkesdb/ |
| H A D | yacc.y | 133 struct named_csid *csid; in dump_file() local 179 STAILQ_FOREACH(csid, &named_csids, ci_entry) { in dump_file() 183 (df, buf, csid->ci_symbol)); in dump_file() 186 CHKERR(ret, _db_factory_add32_by_s, (df, buf, csid->ci_csid)); in dump_file() 237 struct named_csid *csid; in register_named_csid() local 239 STAILQ_FOREACH(csid, &named_csids, ci_entry) { in register_named_csid() 240 if (strcmp(csid->ci_symbol, sym) == 0) { in register_named_csid() 241 yyerror("multiply defined CSID"); in register_named_csid() 246 csid = malloc(sizeof(*csid)); in register_named_csid() 247 if (csid == NULL) { in register_named_csid() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | MemProf.cpp | 162 LE.write<CallStackId>(N.CSId); in serializeV2() 168 for (const auto &CSId : Record.CallSiteIds) in serializeV2() local 169 LE.write<CallStackId>(CSId); in serializeV2() 182 assert(MemProfCallStackIndexes.contains(N.CSId)); in serializeV3() 183 LE.write<LinearCallStackId>(MemProfCallStackIndexes[N.CSId]); in serializeV3() 189 for (const auto &CSId : Record.CallSiteIds) { in serializeV3() local 190 assert(MemProfCallStackIndexes.contains(CSId)); in serializeV3() 191 LE.write<LinearCallStackId>(MemProfCallStackIndexes[CSId]); in serializeV3() 232 Node.CSId = hashCallStack(Node.CallStack); in deserializeV0() 270 Node.CSId = endian::readNext<CallStackId, llvm::endianness::little>(Ptr); in deserializeV2() [all …]
|
| H A D | MemProfReader.cpp | 241 // Populate CSId in each IndexedAllocationInfo and IndexedMemProfRecord in MemProfReader() 246 CallStackId CSId = hashCallStack(AS.CallStack); in MemProfReader() local 247 AS.CSId = CSId; in MemProfReader() 248 CSIdToCallStack.insert({CSId, AS.CallStack}); in MemProfReader() 251 CallStackId CSId = hashCallStack(CS); in MemProfReader() local 252 Record.CallSiteIds.push_back(CSId); in MemProfReader() 253 CSIdToCallStack.insert({CSId, CS}); in MemProfReader() 529 CallStackId CSId = hashCallStack(Callstack); in mapRawProfileToRecords() local 530 CSIdToCallStack.insert({CSId, Callstack}); in mapRawProfileToRecords() 539 Record.AllocSites.emplace_back(Callstack, CSId, MIB); in mapRawProfileToRecords() [all …]
|
| /freebsd/lib/libiconv_modules/iconv_std/ |
| H A D | citrus_iconv_std.c | 108 _csid_t *csid, _index_t *idx, char **s, size_t n, size_t *nresult, in mbtocsx() argument 112 return (_stdenc_mbtocs(se->se_handle, csid, idx, s, n, se->se_ps, in mbtocsx() 118 char *s, size_t n, _csid_t csid, _index_t idx, size_t *nresult, in cstombx() argument 122 return (_stdenc_cstomb(se->se_handle, s, n, csid, idx, se->se_ps, in cstombx() 313 _csid_t *csid, _index_t *idx) in do_conv() argument 321 if (ss->ss_csid == *csid) { in do_conv() 327 *csid = sd->sd_csid; in do_conv() 471 _csid_t csid; in _citrus_iconv_std_iconv_convert() local 521 /* mb -> csid/index */ in _citrus_iconv_std_iconv_convert() 524 ret = mbtocsx(&sc->sc_src_encoding, &csid, &idx, &tmpin, in _citrus_iconv_std_iconv_convert() [all …]
|
| /freebsd/contrib/opencsd/decoder/source/pkt_printers/ |
| H A D | trc_print_fact.cpp | 54 …tor<ItemPrinter *> &printer_list, ocsd_trace_protocol_t protocol, uint8_t CSID, ocsdMsgLogger *pMs… in createProtocolPrinter() argument 61 pPrinter = new (std::nothrow) PacketPrinter<EtmV4ITrcPacket>(CSID); in createProtocolPrinter() 64 pPrinter = new (std::nothrow) PacketPrinter<EtmV3TrcPacket>(CSID); in createProtocolPrinter() 67 pPrinter = new (std::nothrow) PacketPrinter<PtmTrcPacket>(CSID); in createProtocolPrinter() 70 pPrinter = new (std::nothrow) PacketPrinter<StmTrcPacket>(CSID); in createProtocolPrinter()
|
| /freebsd/contrib/opencsd/decoder/include/common/ |
| H A D | ocsd_dcd_tree.h | 101 ocsd_err_t addPacketPrinter(uint8_t CSID, bool bMonitor, ItemPrinter **ppPrinter); 165 * @param CSID : Trace ID to remove. 169 ocsd_err_t removeDecoder(const uint8_t CSID); 176 * @param CSID : Configured CoreSight trace ID for the decoder. 182 ocsd_err_t getDecoderStats(const uint8_t CSID, ocsd_decode_stats_t **p_stats_block); 190 * @param CSID : Configured CoreSight trace ID for the decoder. 194 ocsd_err_t resetDecoderStats(const uint8_t CSID); 201 DecodeTreeElement *getDecoderElement(const uint8_t CSID) const; 409 ocsd_err_t createDecodeElement(const uint8_t CSID); 410 void destroyDecodeElement(const uint8_t CSID); [all …]
|
| H A D | ocsd_code_follower.h | 65 …void setMemSpaceCSID(const uint8_t csid); //!< memory spaces might be pa… 119 //! memory space csid to use when accessing memory. 144 inline void OcsdCodeFollower::setMemSpaceCSID(const uint8_t csid) in setMemSpaceCSID() argument 146 m_mem_space_csid = csid; in setMemSpaceCSID()
|
| /freebsd/contrib/netbsd-tests/lib/libc/sys/ |
| H A D | t_getsid.c | 82 pid_t csid, pid, ppid, sid; in ATF_TC_BODY() local 93 csid = getsid(0); in ATF_TC_BODY() 96 if (sid != csid) in ATF_TC_BODY() 99 if (getsid(ppid) != csid) in ATF_TC_BODY()
|
| /freebsd/lib/libiconv_modules/GBK2K/ |
| H A D | citrus_gbk2k.c | 310 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_GBK2K_stdenc_wctocs() argument 316 *csid = 0; in _citrus_GBK2K_stdenc_wctocs() 320 *csid = 3; in _citrus_GBK2K_stdenc_wctocs() 327 *csid = 1; in _citrus_GBK2K_stdenc_wctocs() 331 *csid = 2; in _citrus_GBK2K_stdenc_wctocs() 342 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_GBK2K_stdenc_cstowc() argument 345 switch (csid) { in _citrus_GBK2K_stdenc_cstowc()
|
| /freebsd/lib/libc/iconv/ |
| H A D | citrus_stdenc.h | 72 _citrus_csid_t * __restrict csid, _citrus_index_t * __restrict idx, in _citrus_stdenc_mbtocs() argument 77 return ((*ce->ce_ops->eo_mbtocs)(ce, csid, idx, s, n, ps, nresult, in _citrus_stdenc_mbtocs() 83 char * __restrict s, size_t n, _citrus_csid_t csid, _citrus_index_t idx, in _citrus_stdenc_cstomb() argument 88 return ((*ce->ce_ops->eo_cstomb)(ce, s, n, csid, idx, ps, nresult, in _citrus_stdenc_cstomb()
|
| H A D | citrus_stdenc_template.h | 121 _citrus_csid_t * __restrict csid, _citrus_index_t * __restrict idx, in _FUNCNAME() 132 ret = _FUNCNAME(stdenc_wctocs)(_CE_TO_EI(ce), csid, idx, wc); in _FUNCNAME() 141 char * __restrict s, size_t n, _citrus_csid_t csid, _citrus_index_t idx, in _FUNCNAME() 150 if (csid != _CITRUS_CSID_INVALID) in _FUNCNAME() 151 ret = _FUNCNAME(stdenc_cstowc)(_CE_TO_EI(ce), &wc, csid, idx); in _FUNCNAME()
|
| H A D | citrus_none.c | 86 _csid_t *csid, _index_t *idx, char **s, size_t n, in _citrus_NONE_stdenc_mbtocs() argument 95 *csid = 0; in _citrus_NONE_stdenc_mbtocs() 107 char *s, size_t n, _csid_t csid, _index_t idx, void *ps __unused, in _citrus_NONE_stdenc_cstomb() argument 111 if (csid == _CITRUS_CSID_INVALID) { in _citrus_NONE_stdenc_cstomb() 115 if (csid != 0) in _citrus_NONE_stdenc_cstomb()
|
| /freebsd/lib/libiconv_modules/DECHanyu/ |
| H A D | citrus_dechanyu.c | 324 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_DECHanyu_stdenc_wctocs() argument 344 *csid = plane; in _citrus_DECHanyu_stdenc_wctocs() 353 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_DECHanyu_stdenc_cstowc() argument 356 if (csid == 0) { in _citrus_DECHanyu_stdenc_cstowc() 359 } else if (csid <= 4) { in _citrus_DECHanyu_stdenc_cstowc() 364 if (csid % 2) in _citrus_DECHanyu_stdenc_cstowc() 367 if (csid > 2) in _citrus_DECHanyu_stdenc_cstowc()
|
| /freebsd/lib/libiconv_modules/EUCTW/ |
| H A D | citrus_euctw.c | 333 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_EUCTW_stdenc_wctocs() argument 336 *csid = (_csid_t)(wc >> 24) & 0xFF; in _citrus_EUCTW_stdenc_wctocs() 345 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_EUCTW_stdenc_cstowc() argument 348 if (csid == 0) { in _citrus_EUCTW_stdenc_cstowc() 353 if (csid < 'G' || csid > 'M' || (idx & ~0x7F7F) != 0) in _citrus_EUCTW_stdenc_cstowc() 355 *wc = (wchar_t)idx | ((wchar_t)csid << 24); in _citrus_EUCTW_stdenc_cstowc()
|
| /freebsd/lib/libiconv_modules/MSKanji/ |
| H A D | citrus_mskanji.c | 285 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_MSKanji_stdenc_wctocs() argument 292 *csid = 0; in _citrus_MSKanji_stdenc_wctocs() 296 *csid = 1; in _citrus_MSKanji_stdenc_wctocs() 337 *csid = 2; in _citrus_MSKanji_stdenc_wctocs() 340 *csid = 3; in _citrus_MSKanji_stdenc_wctocs() 368 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_MSKanji_stdenc_cstowc() argument 373 switch (csid) { in _citrus_MSKanji_stdenc_cstowc() 395 if (csid == 3) { in _citrus_MSKanji_stdenc_cstowc()
|
| /freebsd/lib/libiconv_modules/JOHAB/ |
| H A D | citrus_johab.c | 244 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_JOHAB_stdenc_wctocs() argument 251 *csid = 0; in _citrus_JOHAB_stdenc_wctocs() 257 *csid = 1; in _citrus_JOHAB_stdenc_wctocs() 277 *csid = 2; in _citrus_JOHAB_stdenc_wctocs() 287 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_JOHAB_stdenc_cstowc() argument 291 switch (csid) { in _citrus_JOHAB_stdenc_cstowc()
|
| /freebsd/contrib/opencsd/decoder/source/c_api/ |
| H A D | ocsd_c_api.cpp | 185 const unsigned char CSID) in ocsd_dt_remove_decoder() argument 187 return ((DecodeTree *)handle)->removeDecoder(CSID); in ocsd_dt_remove_decoder() 191 const unsigned char CSID, in ocsd_dt_attach_packet_callback() argument 198 DecodeTreeElement *pElem = pDT->getDecoderElement(CSID); in ocsd_dt_attach_packet_callback() 200 return OCSD_ERR_INVALID_ID; // cannot find entry for that CSID in ocsd_dt_attach_packet_callback() 238 … const unsigned char CSID, in ocsd_dt_get_decode_stats() argument 243 return pDT->getDecoderStats(CSID, p_stats_block); in ocsd_dt_get_decode_stats() 247 const unsigned char CSID) in ocsd_dt_reset_decode_stats() argument 251 return pDT->resetDecoderStats(CSID); in ocsd_dt_reset_decode_stats()
|
| /freebsd/contrib/opencsd/decoder/include/opencsd/c_api/ |
| H A D | opencsd_c_api.h | 184 * @param CSID : Configured CoreSight trace ID for the decoder. 189 const unsigned char CSID); 199 * @param CSID : Configured CoreSight trace ID for the decoder. 207 const unsigned char CSID, 219 * @param CSID : Configured CoreSight trace ID for the decoder. 226 const unsigned char CSID, 236 * @param CSID : Configured CoreSight trace ID for the decoder. 241 const unsigned char CSID);
|
| /freebsd/lib/libiconv_modules/EUC/ |
| H A D | citrus_euc.c | 326 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_EUC_stdenc_wctocs() argument 333 *csid = (_citrus_csid_t)m; in _citrus_EUC_stdenc_wctocs() 342 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_EUC_stdenc_cstowc() argument 345 if ((csid & ~ei->mask) != 0 || (idx & ei->mask) != 0) in _citrus_EUC_stdenc_cstowc() 348 *wc = (wchar_t)csid | (wchar_t)idx; in _citrus_EUC_stdenc_cstowc()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | PdbSymUid.cpp | 76 PdbSymUid::PdbSymUid(const PdbCompilandSymId &csid) { in PdbSymUid() argument 79 repr.modi = csid.modi; in PdbSymUid() 80 repr.offset = csid.offset; in PdbSymUid()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | MemProf.h | 343 // TODO: Remove once we fully transition to CSId. 347 CallStackId CSId = 0; member 352 IndexedAllocationInfo(ArrayRef<FrameId> CS, CallStackId CSId, 355 : CallStack(CS.begin(), CS.end()), CSId(CSId), Info(MB, Schema) {} 365 if (Other.CSId != CSId) 857 std::vector<Frame> operator()(CallStackId CSId) { in operator() 859 auto CSIter = Map.find(CSId); in operator() 861 LastUnmappedId = CSId; in operator() 1062 // is intended to help transition from CallStack to CSId in 1067 // is intended to help transition from CallStack to CSId in
|
| /freebsd/lib/libiconv_modules/HZ/ |
| H A D | citrus_hz.c | 444 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_HZ_stdenc_wctocs() argument 454 *csid = (_csid_t)bit; in _citrus_HZ_stdenc_wctocs() 457 *csid = (_csid_t)(bit | 0x8000); in _citrus_HZ_stdenc_wctocs() 460 *csid = (_index_t)(wc & ~0x00FFFF7F); in _citrus_HZ_stdenc_wctocs() 470 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_HZ_stdenc_cstowc() argument 474 switch (csid) { in _citrus_HZ_stdenc_cstowc() 483 *wc |= (wchar_t)csid; in _citrus_HZ_stdenc_cstowc()
|
| /freebsd/lib/libiconv_modules/UES/ |
| H A D | citrus_ues.c | 344 _csid_t * __restrict csid, _index_t * __restrict idx, wchar_t wc) in _citrus_UES_stdenc_wctocs() argument 347 *csid = 0; in _citrus_UES_stdenc_wctocs() 356 wchar_t * __restrict wc, _csid_t csid, _index_t idx) in _citrus_UES_stdenc_cstowc() argument 359 if (csid != 0) in _citrus_UES_stdenc_cstowc()
|
| /freebsd/lib/libiconv_modules/BIG5/ |
| H A D | citrus_big5.c | 411 _csid_t * __restrict csid, in _citrus_BIG5_stdenc_wctocs() argument 415 *csid = (wc < 0x100) ? 0 : 1; in _citrus_BIG5_stdenc_wctocs() 425 _csid_t csid, _index_t idx) in _citrus_BIG5_stdenc_cstowc() argument 428 switch (csid) { in _citrus_BIG5_stdenc_cstowc()
|