Searched defs:check (Results 1 - 10 of 10) sorted by relevance

/system/core/libmincrypt/tools/
H A DDumpPublicKey.java85 * Perform sanity check on public key.
87 static int check(PublicKey key, boolean useSHA256) throws Exception { method in class:DumpPublicKey
107 int version = check(key, useSHA256);
260 check(key, useSHA256);
/system/keymaster/include/keymaster/
H A Dkeymaster_tags.h40 * particular tag. This enables template functions to be written that check that the correct
66 static void check() {} function in struct:keymaster::StaticAssert
105 StaticAssert<(tag & tag_type) == tag_type>::check();
106 StaticAssert<(tag_type != KM_ENUM) && (tag_type != KM_ENUM_REP)>::check();
121 StaticAssert<(tag & tag_type) == tag_type>::check();
122 StaticAssert<(tag_type == KM_ENUM) || (tag_type == KM_ENUM_REP)>::check();
/system/extras/libfec/
H A Dfec_open.cpp46 check(offset);
47 check(get_appr_size);
48 check(get_real_size);
91 check(f);
92 check(offset);
101 check(f);
102 check(f->ecc.rsn > 0 && f->ecc.rsn < FEC_RSM);
103 check(f->size > sizeof(fec_header));
207 check(f);
208 check(offse
209 check(offset < UINT64_MAX - FEC_BLOCKSIZE); function
[all...]
H A Dfec_private.h49 #define VERITY_MIN_TABLE_SIZE (VERITY_TABLE_ARGS * 2) /* for a sanity check */
167 #define check(p) \ macro
/system/media/radio/src/
H A Dradio_metadata.c136 bool check)
141 if (check) {
302 /* sanity check on entry count versus buffer size */
312 /* sanity check on each entry */
326 /* do not request check because next entry can be the free slot */
133 get_entry_at_index( const radio_metadata_buffer_t *metadata, const unsigned index, bool check) argument
/system/sepolicy/tools/
H A Dsepolicy-check.c43 int check(int op, uint16_t arg1, uint16_t arg2) { function
86 match &= check(s_op, source_type, cur->key.source_type);
87 match &= check(t_op, target_type, cur->key.target_type);
88 match &= check(c_op, target_class, cur->key.target_class);
H A Dcheck_seapp.c319 static bool match_regex(key_map *assert, const key_map *check) { argument
321 char *tomatch = check->data;
377 * No policy file present means we cannot check
395 * No policy file present means we cannot check
417 * The key map to check
489 * a rule map to check
491 * a rule map to check
618 * The rule map to check for validity.
638 // mark that nrule->name is for a null check
656 * the nrule was marked in a null check an
[all...]
/system/core/fastboot/
H A Dusb_linux.cpp122 static int check(void *_desc, int len, unsigned type, int size) function
149 if (check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE))
155 if (check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE))
204 if (check(hdr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE) == 0)
226 if (check(hdr, len, USB_DT_ENDPOINT, USB_DT_ENDPOINT_SIZE) == 0)
249 if (check((struct usb_descriptor_hdr *)ptr, len,
/system/core/logd/tests/
H A Dlogd_test.cpp86 bool check = ret <= len; local
88 if (check) {
304 // check if we can read any logs from logd
334 // check if we can read any logs from kernel logger
383 // thresholds are tuned on a per-target basis. Here we check if the values
388 // being the worst) and check to make sure the logger can deal with it
401 " false OK for prune by worst UID check\n");
/system/core/libbacktrace/
H A Dbacktrace_test.cpp252 bool check = (cur_proc == nullptr); local
254 if (check) {
263 if (!check && bt_ign2->GetFrame(i)->func_name == cur_proc) {
264 check = true;

Completed in 311 milliseconds