Home
last modified time | relevance | path

Searched refs:max_key (Results 1 – 6 of 6) sorted by relevance

/external/libdrm/amdgpu/
Dhandle_table.c34 if (key >= table->max_key) { in handle_table_insert()
36 uint32_t max_key = ALIGN(key + 1, alignment); in handle_table_insert() local
39 values = realloc(table->values, max_key * sizeof(void *)); in handle_table_insert()
43 memset(values + table->max_key, 0, (max_key - table->max_key) * in handle_table_insert()
46 table->max_key = max_key; in handle_table_insert()
55 if (key < table->max_key) in handle_table_remove()
61 if (key < table->max_key) in handle_table_lookup()
70 table->max_key = 0; in handle_table_fini()
Dhandle_table.h31 uint32_t max_key; member
Damdgpu_bo.c557 for (i = 0; i < dev->bo_handles.max_key; i++) { in amdgpu_find_bo_by_cpu_mapping()
566 if (i < dev->bo_handles.max_key) { in amdgpu_find_bo_by_cpu_mapping()
/external/rust/crates/itertools/src/
Dminmax.rs54 let (mut min, mut max, mut min_key, mut max_key) = match it.next() { in minmax_impl()
83 } else if !lt(&first, &max, &first_key, &max_key) { in minmax_impl()
97 if !lt(&second, &max, &second_key, &max_key) { in minmax_impl()
99 max_key = second_key; in minmax_impl()
106 if !lt(&first, &max, &first_key, &max_key) { in minmax_impl()
108 max_key = first_key; in minmax_impl()
/external/rust/crates/rayon/src/iter/
Dmod.rs1595 fn max_key<T, K: Ord>(a: (K, T), b: (K, T)) -> (K, T) { in max_by_key() function
1602 let (_, x) = self.map(key(f)).reduce_with(max_key)?; in max_by_key()
/external/python/asn1crypto/asn1crypto/
Dcore.py2293 max_key = len(new_native) - 1
2294 if key > max_key:
2295 new_native.extend([0] * (key - max_key))