Home
last modified time | relevance | path

Searched refs:dict (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.12.1/lib/xz/
Dxz_dec_lzma2.c267 struct dictionary dict; member
289 static void dict_reset(struct dictionary *dict, struct xz_buf *b) in dict_reset() argument
291 if (DEC_IS_SINGLE(dict->mode)) { in dict_reset()
292 dict->buf = b->out + b->out_pos; in dict_reset()
293 dict->end = b->out_size - b->out_pos; in dict_reset()
296 dict->start = 0; in dict_reset()
297 dict->pos = 0; in dict_reset()
298 dict->limit = 0; in dict_reset()
299 dict->full = 0; in dict_reset()
303 static void dict_limit(struct dictionary *dict, size_t out_max) in dict_limit() argument
[all …]
/linux-6.12.1/drivers/tty/vt/
Dconsolemap.c226 static void set_inverse_transl(struct vc_data *conp, struct uni_pagedict *dict, in set_inverse_transl() argument
232 if (!dict) in set_inverse_transl()
234 inv = dict->inverse_translations[m]; in set_inverse_transl()
237 inv = dict->inverse_translations[m] = kmalloc(MAX_GLYPH, in set_inverse_transl()
253 static void set_inverse_trans_unicode(struct uni_pagedict *dict) in set_inverse_trans_unicode() argument
258 if (!dict) in set_inverse_trans_unicode()
261 inv = dict->inverse_trans_unicode; in set_inverse_trans_unicode()
263 inv = dict->inverse_trans_unicode = kmalloc_array(MAX_GLYPH, in set_inverse_trans_unicode()
271 u16 **dir = dict->uni_pgdir[d]; in set_inverse_trans_unicode()
426 static void con_release_unimap(struct uni_pagedict *dict) in con_release_unimap() argument
[all …]
/linux-6.12.1/lib/zstd/decompress/
Dzstd_ddict.c118 const void* dict, size_t dictSize, in ZSTD_initDDict_internal() argument
122 if ((dictLoadMethod == ZSTD_dlm_byRef) || (!dict) || (!dictSize)) { in ZSTD_initDDict_internal()
124 ddict->dictContent = dict; in ZSTD_initDDict_internal()
125 if (!dict) dictSize = 0; in ZSTD_initDDict_internal()
131 ZSTD_memcpy(internalBuffer, dict, dictSize); in ZSTD_initDDict_internal()
142 ZSTD_DDict* ZSTD_createDDict_advanced(const void* dict, size_t dictSize, in ZSTD_createDDict_advanced() argument
153 dict, dictSize, in ZSTD_createDDict_advanced()
167 ZSTD_DDict* ZSTD_createDDict(const void* dict, size_t dictSize) in ZSTD_createDDict() argument
170 return ZSTD_createDDict_advanced(dict, dictSize, ZSTD_dlm_byCopy, ZSTD_dct_auto, allocator); in ZSTD_createDDict()
186 const void* dict, size_t dictSize, in ZSTD_initStaticDDict() argument
[all …]
Dzstd_decompress.c941 const void* dict, size_t dictSize, in ZSTD_decompressMultiFrame() argument
948 assert(dict==NULL || ddict==NULL); /* either dict or ddict set, not both */ in ZSTD_decompressMultiFrame()
951 dict = ZSTD_DDict_dictContent(ddict); in ZSTD_decompressMultiFrame()
977 FORWARD_IF_ERROR(ZSTD_decompressBegin_usingDict(dctx, dict, dictSize), ""); in ZSTD_decompressMultiFrame()
1011 const void* dict, size_t dictSize) in ZSTD_decompress_usingDict() argument
1013 return ZSTD_decompressMultiFrame(dctx, dst, dstCapacity, src, srcSize, dict, dictSize, NULL); in ZSTD_decompress_usingDict()
1270 static size_t ZSTD_refDictContent(ZSTD_DCtx* dctx, const void* dict, size_t dictSize) in ZSTD_refDictContent() argument
1273 …dctx->virtualStart = (const char*)dict - ((const char*)(dctx->previousDstEnd) - (const char*)(dctx… in ZSTD_refDictContent()
1274 dctx->prefixStart = dict; in ZSTD_refDictContent()
1275 dctx->previousDstEnd = (const char*)dict + dictSize; in ZSTD_refDictContent()
[all …]
/linux-6.12.1/lib/lz4/
Dlz4_compress.c184 const dict_directive dict, in LZ4_compress_generic() argument
212 switch (dict) { in LZ4_compress_generic()
269 if (dict == usingExtDict) { in LZ4_compress_generic()
338 if ((dict == usingExtDict) in LZ4_compress_generic()
404 if (dict == usingExtDict) { in LZ4_compress_generic()
778 LZ4_stream_t_internal *dict = &LZ4_dict->internal_donotuse; in LZ4_loadDict() local
783 if ((dict->initCheck) in LZ4_loadDict()
784 || (dict->currentOffset > 1 * GB)) { in LZ4_loadDict()
790 dict->dictionary = NULL; in LZ4_loadDict()
791 dict->dictSize = 0; in LZ4_loadDict()
[all …]
/linux-6.12.1/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py36 def add_stats(dict, key, value): argument
37 if key not in dict:
38 dict[key] = (value, value, value, 1)
40 min, max, avg, count = dict[key]
46 dict[key] = (min, max, avg, count + 1)
/linux-6.12.1/tools/perf/util/scripting-engines/
Dtrace-event-python.c144 static void pydict_set_item_string_decref(PyObject *dict, const char *key, PyObject *val) in pydict_set_item_string_decref() argument
146 PyDict_SetItemString(dict, key, val); in pydict_set_item_string_decref()
723 static void set_sample_datasrc_in_dict(PyObject *dict, in set_sample_datasrc_in_dict() argument
732 pydict_set_item_string_decref(dict, "datasrc", in set_sample_datasrc_in_dict()
739 pydict_set_item_string_decref(dict, "datasrc_decode", in set_sample_datasrc_in_dict()
767 static int set_regs_in_dict(PyObject *dict, in set_regs_in_dict() argument
781 pydict_set_item_string_decref(dict, "iregs", in set_regs_in_dict()
786 pydict_set_item_string_decref(dict, "uregs", in set_regs_in_dict()
793 static void set_sym_in_dict(PyObject *dict, struct addr_location *al, in set_sym_in_dict() argument
803 pydict_set_item_string_decref(dict, dso_field, in set_sym_in_dict()
[all …]
/linux-6.12.1/tools/perf/tests/shell/lib/
Dperf_metric_validation.py49 self.allresults = dict() # metric results of all workload
50 self.alltotalcnt = dict()
51 self.allpassedcnt = dict()
53 self.results = dict() # metric results of current workload
76 def read_json(self, filename: str) -> dict:
172 negmetric = dict()
190 second_results = dict()
206 def evaluate_formula(self, formula: str, alias: dict, ridx: int = 0): argument
250 def relationship_test(self, rule: dict): argument
259 alias = dict()
[all …]
/linux-6.12.1/include/linux/
Dzstd_lib.h817 const void* dict,size_t dictSize,
829 const void* dict,size_t dictSize);
897 ZSTDLIB_API unsigned ZSTD_getDictID_fromDict(const void* dict, size_t dictSize);
951 ZSTDLIB_API size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, const void* dict, size_t dictSize);
1003 ZSTDLIB_API size_t ZSTD_DCtx_loadDictionary(ZSTD_DCtx* dctx, const void* dict, size_t dictSize);
1549 const void* dict, size_t dictSize,
1556 const void* dict, size_t dictSize,
1578 ZSTDLIB_STATIC_API ZSTD_CDict* ZSTD_createCDict_advanced(const void* dict, size_t dictSize,
1604 const void* dict, size_t dictSize,
1611 const void* dict, size_t dictSize,
[all …]
Dzstd.h256 zstd_cdict *zstd_create_cdict_byreference(const void *dict, size_t dict_size,
345 zstd_ddict *zstd_create_ddict_byreference(const void *dict, size_t dict_size,
/linux-6.12.1/tools/net/sunrpc/xdrgen/generators/
Dprogram.py37 arguments = dict.fromkeys([])
47 results = dict.fromkeys([])
62 arguments = dict.fromkeys([])
76 results = dict.fromkeys([])
90 arguments = dict.fromkeys([])
104 results = dict.fromkeys([])
/linux-6.12.1/drivers/comedi/drivers/ni_routing/tools/
Dconvert_csv_to_c.py18 Locals = dict()
34 D0 = dict()
64 Locals = dict()
66 indents = dict(
83 D0 = dict()
Dconvert_py_to_csv.py26 S = dict()
41 dict(chain(
/linux-6.12.1/drivers/hwtracing/coresight/
Dcoresight-core.c1256 static inline int coresight_search_device_idx(struct coresight_dev_list *dict, in coresight_search_device_idx() argument
1261 for (i = 0; i < dict->nr_idx; i++) in coresight_search_device_idx()
1262 if (dict->fwnode_list[i] == fwnode) in coresight_search_device_idx()
1344 char *coresight_alloc_device_name(struct coresight_dev_list *dict, in coresight_alloc_device_name() argument
1353 idx = coresight_search_device_idx(dict, dev_fwnode(dev)); in coresight_alloc_device_name()
1356 idx = dict->nr_idx; in coresight_alloc_device_name()
1357 list = krealloc_array(dict->fwnode_list, in coresight_alloc_device_name()
1358 idx + 1, sizeof(*dict->fwnode_list), in coresight_alloc_device_name()
1366 dict->fwnode_list = list; in coresight_alloc_device_name()
1367 dict->nr_idx = idx + 1; in coresight_alloc_device_name()
[all …]
/linux-6.12.1/drivers/net/ppp/
Dbsd_comp.c160 struct bsd_dict *dict; /* dictionary */ member
335 vfree(db->dict); in bsd_free()
336 db->dict = NULL; in bsd_free()
409 db->dict = vmalloc(array_size(hsize, sizeof(struct bsd_dict))); in bsd_alloc()
410 if (!db->dict) in bsd_alloc()
490 db->dict[indx].codem1 = BADCODEM1; in bsd_init()
491 db->dict[indx].cptr = 0; in bsd_init()
523 #define dict_ptrx(p,idx) &(p->dict[idx])
/linux-6.12.1/tools/perf/scripts/python/
Dgecko.py59 tid_to_thread = dict()
123 stringMap: Dict[str, int] = field(default_factory=dict)
125 stackMap: Dict[Tuple[Optional[int], int], int] = field(default_factory=dict)
126 frameMap: Dict[str, int] = field(default_factory=dict)
Dtask-analyzer.py55 dict.iteritems
172 args.tid_renames = dict()
190 db = dict()
191 db["running"] = dict()
192 db["cpu"] = dict()
193 db["tid"] = dict()
196 db["task_info"] = dict()
197 db["runtime_info"] = dict()
210 db["inter_times"] = dict()
825 args.highlight_tasks_map = dict()
/linux-6.12.1/lib/zstd/compress/
Dzstd_compress.c154 static size_t ZSTD_sizeof_localDict(ZSTD_localDict dict) in ZSTD_sizeof_localDict() argument
156 size_t const bufferSize = dict.dictBuffer != NULL ? dict.dictSize : 0; in ZSTD_sizeof_localDict()
157 size_t const cdictSize = ZSTD_sizeof_CDict(dict.cdict); in ZSTD_sizeof_localDict()
1034 if (dl->dict == NULL) { in ZSTD_initLocalDict()
1048 assert(cctx->prefixDict.dict == NULL); in ZSTD_initLocalDict()
1051 dl->dict, in ZSTD_initLocalDict()
1063 ZSTD_CCtx* cctx, const void* dict, size_t dictSize, in ZSTD_CCtx_loadDictionary_advanced() argument
1070 if (dict == NULL || dictSize == 0) /* no dictionary mode */ in ZSTD_CCtx_loadDictionary_advanced()
1073 cctx->localDict.dict = dict; in ZSTD_CCtx_loadDictionary_advanced()
1080 ZSTD_memcpy(dictBuffer, dict, dictSize); in ZSTD_CCtx_loadDictionary_advanced()
[all …]
/linux-6.12.1/tools/cgroup/
Diocost_monitor.py114 def dict(self, now): member in IocStat
175 def dict(self, now, path): member in IocgStat
256 output += json.dumps(iocstat.dict(now))
273 output += '\n' + json.dumps(iocg_stat.dict(now, path))
/linux-6.12.1/lib/zstd/
Dzstd_decompress_module.c59 zstd_ddict *zstd_create_ddict_byreference(const void *dict, size_t dict_size, in zstd_create_ddict_byreference() argument
62 return ZSTD_createDDict_advanced(dict, dict_size, ZSTD_dlm_byRef, in zstd_create_ddict_byreference()
/linux-6.12.1/Documentation/admin-guide/kdump/
Dgdbmacros.txt240 set var $dict = &$info->dev_info.subsystem[0]
242 if ($dict[0] != '\0')
246 set var $c = $dict[$idx]
261 set var $dict = &$info->dev_info.device[0]
263 if ($dict[0] != '\0')
267 set var $c = $dict[$idx]
/linux-6.12.1/drivers/block/zram/
Dbackend_lz4hc.c83 ret = LZ4_loadDictHC(zctx->cstrm, params->dict, in lz4hc_compress()
107 ret = LZ4_setStreamDecode(zctx->dstrm, params->dict, in lz4hc_decompress()
Dbackend_lz4.c82 ret = LZ4_loadDict(zctx->cstrm, params->dict, params->dict_sz); in lz4_compress()
106 ret = LZ4_setStreamDecode(zctx->dstrm, params->dict, in lz4_decompress()
/linux-6.12.1/tools/power/pm-graph/
Dsleepgraph.py177 devprops = dict()
178 cfgdef = dict()
314 kprobes = dict()
354 self.signames = dict()
414 args = dict()
577 self.tracefuncs[i] = dict()
605 self.kprobes[name] = {'name': name,'func': name,'args': dict(),'format': name}
614 k['args'] = dict()
635 arglist = dict()
651 args = dict()
[all …]
/linux-6.12.1/scripts/
Dcheckkconfigsymbols.py328 referenced_symbols = dict() # {file: [symbols]}
354 inv_map = dict()
379 referenced_symbols = dict()
420 referenced_symbols = dict()

123