Searched defs:check (Results 1 - 11 of 11) sorted by path

/system/core/fastboot/
H A Dusb_linux.cpp126 static int check(void *_desc, int len, unsigned type, int size) function
153 if (check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE))
159 if (check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE))
208 if (check(hdr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE) == 0)
230 if (check(hdr, len, USB_DT_ENDPOINT, USB_DT_ENDPOINT_SIZE) == 0)
253 if (check((struct usb_descriptor_hdr *)ptr, len,
/system/core/libbacktrace/
H A Dbacktrace_test.cpp260 bool check = (cur_proc == nullptr); local
262 if (check) {
271 if (!check && bt_ign2->GetFrame(i)->func_name == cur_proc) {
272 check = true;
/system/core/logd/tests/
H A Dlogd_test.cpp93 bool check = ret <= len; local
95 if (check) {
357 // check if we can read any logs from logd
386 // check if we can read any logs from kernel logger
437 // thresholds are tuned on a per-target basis. Here we check if the values
442 // being the worst) and check to make sure the logger can deal with it
456 " false OK for prune by worst UID check\n");
1230 // cool down, and check unspammy rate still works
/system/extras/libfec/
H A Dfec_open.cpp47 check(offset);
48 check(get_appr_size);
49 check(get_real_size);
92 check(f);
93 check(offset);
102 check(f);
103 check(f->ecc.rsn > 0 && f->ecc.rsn < FEC_RSM);
104 check(f->size > sizeof(fec_header));
201 check(f);
202 check(offse
203 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/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/libfmq/
H A DFmqInternal.cpp24 void check(bool exp) { function in namespace:android::hardware::details
/system/media/radio/src/
H A Dradio_metadata.c141 bool check)
148 if (check) {
314 /* sanity check on entry count versus buffer size */
324 /* sanity check on each entry */
338 /* do not request check because next entry can be the free slot */
138 get_entry_at_index( const radio_metadata_buffer_t *metadata, const unsigned index, bool check) argument
/system/nfc/src/nfa/ee/
H A Dnfa_ee_act.c1076 ** Description check if any ee_status still has NFA_EE_STATUS_PENDING bit
1101 ** Description check if any ee_status still has NFA_EE_STATUS_RESTORING bit
1179 * check if the number of NFCEE expected is more than what's currently
1317 * i.e. check only first supported NFCEE interface is HCI access */
2164 ** nfa_ee_cb.ee_cfg_sts is used to check is any status is
2267 bool check = true; local
2294 check = false;
2307 for (xx = 0; (xx < nfa_ee_cb.cur_ee) && check; xx++, p_cb++) {
/system/sepolicy/tools/
H A Dcheck_seapp.c322 static bool match_regex(key_map *assert, const key_map *check) { argument
324 char *tomatch = check->data;
389 * No policy file present means we cannot check
407 * No policy file present means we cannot check
442 * The key map to check
518 * a rule map to check
520 * a rule map to check
647 * The rule map to check for validity.
667 // mark that nrule->name is for a null check
685 * the nrule was marked in a null check an
[all...]
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);

Completed in 226 milliseconds