/dports/www/trafficserver/trafficserver-9.1.1/src/tscore/ |
H A D | IpMapConf.cc | 90 zret = static_cast<char *>(ats_malloc(ERR_STRING_LEN)); in Load_IpMap_From_File() 142 char *error_str = static_cast<char *>(ats_malloc(ERR_STRING_LEN)); in Load_IpMap_From_File() 161 char *error_str = static_cast<char *>(ats_malloc(ERR_STRING_LEN)); in Load_IpMap_From_File() 165 char *error_str = static_cast<char *>(ats_malloc(ERR_STRING_LEN)); in Load_IpMap_From_File() 174 char *error_str = static_cast<char *>(ats_malloc(ERR_STRING_LEN)); in Load_IpMap_From_File() 180 char *error_str = static_cast<char *>(ats_malloc(ERR_STRING_LEN)); in Load_IpMap_From_File()
|
H A D | ink_memory.cc | 45 ats_malloc(size_t size) in ats_malloc() function 94 return ats_malloc(size); in ats_memalign() 159 return ats_unique_buf(static_cast<uint8_t *>(ats_malloc(size))); in ats_unique_malloc() 214 void *ptr = ats_malloc(size); in ats_track_malloc() 266 newstr = static_cast<char *>(ats_malloc(length + 1)); in _xstrdup() 284 _r = static_cast<char *>(ats_malloc(s.size() + 1)); in operator =()
|
H A D | llqueue.cc | 52 Q->free = (LLQrec *)ats_malloc(RECORD_CHUNK * sizeof(LLQrec)); in newrec() 76 LLQ *new_val = static_cast<LLQ *>(ats_malloc(sizeof(LLQ))); in create_queue() 107 new_val = static_cast<LLQrec *>(ats_malloc(sizeof(LLQrec))); in enqueue()
|
H A D | MMH.cc | 411 xxh = (i4_t *)ats_malloc(4 * sizeof(uint32_t) * TEST_COLLISIONS); in main() 412 xf = (double *)ats_malloc(sizeof(double) * TEST_COLLISIONS); in main() 444 unsigned char *s1 = (unsigned char *)ats_malloc(l + 3); in main() 447 unsigned char *s2 = (unsigned char *)ats_malloc(l + 3); in main() 450 unsigned char *s3 = (unsigned char *)ats_malloc(l + 3); in main()
|
H A D | Tokenizer.cc | 254 add_ptr = static_cast<char *>(ats_malloc(length + 1)); in addToken() 269 add_node->next = static_cast<tok_node *>(ats_malloc(sizeof(tok_node))); in addToken()
|
/dports/www/trafficserver/trafficserver-9.1.1/lib/records/ |
H A D | RecConfigParse.cc | 69 *file_buf = static_cast<char *>(ats_malloc(*file_size + 1)); in RecFileImport_Xmalloc() 260 cfe = static_cast<RecConfigFileEntry *>(ats_malloc(sizeof(RecConfigFileEntry))); in RecConfigFileParse() 270 cfe = static_cast<RecConfigFileEntry *>(ats_malloc(sizeof(RecConfigFileEntry))); in RecConfigFileParse()
|
H A D | RecMessage.cc | 47 msg = static_cast<RecMessage *>(ats_malloc(sizeof(RecMessageHdr) + initial_size)); in RecMessageAlloc() 272 …msg = static_cast<RecMessage *>(ats_malloc((msg_hdr.o_end - msg_hdr.o_start) + sizeof(RecMessageHd… in RecMessageReadFromDisk()
|
/dports/www/trafficserver/trafficserver-9.1.1/proxy/ |
H A D | Plugin.cc | 226 str = static_cast<char *>(ats_malloc(128)); in plugin_expand() 236 str = static_cast<char *>(ats_malloc(128)); in plugin_expand() 246 str = static_cast<char *>(ats_malloc(128)); in plugin_expand()
|
H A D | StatPages.cc | 62 stat_pages[n_stat_pages].module = static_cast<char *>(ats_malloc(strlen(module) + 3)); in register_http() 179 response = static_cast<char *>(ats_malloc(size)); in resp_add()
|
/dports/www/trafficserver/trafficserver-9.1.1/iocore/cache/ |
H A D | RamCacheCLFUS.cc | 178 …Entry, hash_link) *new_bucket = static_cast<DList(RamCacheCLFUSEntry, hash_link) *>(ats_malloc(s)); in _resize_hashtable() 194 this->_seen = static_cast<uint16_t *>(ats_malloc(size)); in _resize_hashtable() 259 b = static_cast<char *>(ats_malloc(e->len)); in get() 463 b = static_cast<char *>(ats_malloc(l)); in compress_entries() 527 bb = static_cast<char *>(ats_malloc(l)); in compress_entries() 538 bb = static_cast<char *>(ats_malloc(e->len)); in compress_entries() 612 char *b = static_cast<char *>(ats_malloc(len)); in put() 722 char *b = static_cast<char *>(ats_malloc(len)); in put()
|
H A D | CacheHosting.cc | 115 char *data = static_cast<char *>(ats_malloc(rlen + 1)); in Match() 288 current = static_cast<matcher_line *>(ats_malloc(sizeof(matcher_line))); in BuildTableFromString() 429 cp = static_cast<CacheVol **>(ats_malloc(cp_list_len * sizeof(CacheVol *))); in Init() 445 vols = static_cast<Vol **>(ats_malloc(num_vols * sizeof(Vol *))); in Init() 514 cp = static_cast<CacheVol **>(ats_malloc(num_cachevols * sizeof(CacheVol *))); in Init() 571 vols = static_cast<Vol **>(ats_malloc(num_vols * sizeof(Vol *))); in Init()
|
H A D | RamCacheLRU.cc | 88 …RUEntry, hash_link) *new_bucket = static_cast<DList(RamCacheLRUEntry, hash_link) *>(ats_malloc(s)); in resize_hashtable() 104 seen = static_cast<uint16_t *>(ats_malloc(size)); in resize_hashtable()
|
H A D | Cache.cc | 596 gdisks = static_cast<CacheDisk **>(ats_malloc(gndisks * sizeof(CacheDisk *))); in start_internal() 827 gvol = static_cast<Vol **>(ats_malloc(gnvol * sizeof(Vol *))); in diskInitialized() 1256 hash_text = static_cast<char *>(ats_malloc(hash_text_size)); in init() 1277 evacuate = static_cast<DLL<EvacuationBlock> *>(ats_malloc(evac_len)); in init() 1819 unsigned int *mapping = static_cast<unsigned int *>(ats_malloc(sizeof(unsigned int) * num_vols)); in build_vol_hash_table() 1820 Vol **p = static_cast<Vol **>(ats_malloc(sizeof(Vol *) * num_vols)); in build_vol_hash_table() 1883 rtable_pair *rtable = static_cast<rtable_pair *>(ats_malloc(sizeof(rtable_pair) * rtable_size)); in build_vol_hash_table() 2093 cp->vols = static_cast<Vol **>(ats_malloc(cp->num_vols * sizeof(Vol *))); in open() 2548 new_p->disk_vols = static_cast<DiskVol **>(ats_malloc(gndisks * sizeof(DiskVol *))); in cplist_init() 2725 cp->disk_vols = static_cast<DiskVol **>(ats_malloc(gndisks * sizeof(DiskVol *))); in cplist_reconfigure() [all …]
|
/dports/www/trafficserver/trafficserver-9.1.1/mgmt/ |
H A D | ProcessManager.cc | 62 MgmtMessageHdr *full_msg = static_cast<MgmtMessageHdr *>(ats_malloc(msg_size)); in read_management_message() 230 void *buffer = ats_malloc(len); in signalConfigFileChild() 249 mh = static_cast<MgmtMessageHdr *>(ats_malloc(sizeof(MgmtMessageHdr) + data_len)); in signalManager() 262 …mh = static_cast<MgmtMessageHdr *>(ats_malloc(sizeof(MgmtMessageHdr) + text.size() + 1)); in signalManager()
|
H A D | Alarms.cc | 222 atmp = static_cast<Alarm *>(ats_malloc(sizeof(Alarm))); in signalAlarm() 255 atmp->description = static_cast<char *>(ats_malloc(sz)); in signalAlarm()
|
/dports/www/trafficserver/trafficserver-9.1.1/proxy/hdrs/ |
H A D | load_http_hdr.cc | 84 char *r = (char *)ats_malloc(len + 1); in load_string() 205 char *file_buf = (char *)ats_malloc(sizeof(char) * (s_info.st_size + 1)); in load_buffer() 250 char *hdr_heap = (char *)ats_malloc(hdr_size); in load_buffer()
|
/dports/www/trafficserver/trafficserver-9.1.1/include/tscore/ |
H A D | defalloc.h | 33 return ats_malloc(s); in alloc()
|
H A D | ink_memory.h | 96 void *ats_malloc(size_t size); 517 explicit ats_scoped_str(size_t n) : super(static_cast<char *>(ats_malloc(n))) {} in ats_scoped_str()
|
/dports/www/trafficserver/trafficserver-9.1.1/mgmt/api/ |
H A D | EventCallback.cc | 49 EventCallbackT *event_cb = static_cast<EventCallbackT *>(ats_malloc(sizeof(EventCallbackT))); in create_event_callback() 84 CallbackTable *cb_table = static_cast<CallbackTable *>(ats_malloc(sizeof(CallbackTable))); in create_callback_table()
|
H A D | NetworkMessage.cc | 134 msgbuf = static_cast<char *>(ats_malloc(msglen + 4)); in send_mgmt_request() 168 req.ptr = static_cast<char *>(ats_malloc(msglen)); in send_mgmt_request() 287 reply.ptr = static_cast<char *>(ats_malloc(msglen)); in send_mgmt_response()
|
H A D | EventControlMain.cc | 61 EventClientT *ele = static_cast<EventClientT *>(ats_malloc(sizeof(EventClientT))); in new_event_client() 68 ele->adr = static_cast<struct sockaddr *>(ats_malloc(sizeof(struct sockaddr))); in new_event_client()
|
/dports/www/trafficserver/trafficserver-9.1.1/proxy/logging/ |
H A D | LogFormat.cc | 67 m_format_str = static_cast<char *>(ats_malloc(m_format_str_size)); in setup() 142 m_agg_marshal_space = static_cast<char *>(ats_malloc(m_field_count * INK_MIN_ALIGN)); in init_variables() 647 *printf_str = static_cast<char *>(ats_malloc(len + 1)); in parse_format_string() 648 *fields_str = static_cast<char *>(ats_malloc(len + 1)); in parse_format_string()
|
H A D | LogFilter.cc | 205 …m_value_uppercase[i] = static_cast<char *>(ats_malloc(static_cast<unsigned int>(m_length[i]) + 1)); in _setValues() 324 big_buf = static_cast<char *>(ats_malloc(marsh_len)); in wipe_this_entry() 355 big_buf_upper = static_cast<char *>(ats_malloc(static_cast<unsigned int>(marsh_len))); in wipe_this_entry() 407 big_buf = static_cast<char *>(ats_malloc(static_cast<unsigned int>(marsh_len))); in toss_this_entry() 435 big_buf_upper = static_cast<char *>(ats_malloc(static_cast<unsigned int>(marsh_len))); in toss_this_entry()
|
/dports/www/trafficserver/trafficserver-9.1.1/mgmt/utils/ |
H A D | ExpandingArray.cc | 34 internalArray = static_cast<void **>(ats_malloc(initialSize * sizeof(void *))); in ExpandingArray()
|
/dports/www/trafficserver/trafficserver-9.1.1/iocore/net/ |
H A D | SSLNextProtocolSet.cc | 63 *npn = advertised = static_cast<unsigned char *>(ats_malloc(*len)); in create_npn_advertisement()
|