Home
last modified time | relevance | path

Searched refs:check (Results 1 – 25 of 51) sorted by relevance

123

/system/extras/libfec/
Dfec_open.cpp46 check(offset); in find_offset()
47 check(get_appr_size); in find_offset()
48 check(get_real_size); in find_offset()
91 check(f); in find_verity_offset()
92 check(offset); in find_verity_offset()
101 check(f); in parse_ecc_header()
102 check(f->ecc.rsn > 0 && f->ecc.rsn < FEC_RSM); in parse_ecc_header()
103 check(f->size > sizeof(fec_header)); in parse_ecc_header()
207 check(f); in parse_ecc()
208 check(offset % FEC_BLOCKSIZE == 0); in parse_ecc()
[all …]
Dfec_verity.cpp41 check(dst); in parse_hex()
42 check(src); in parse_hex()
43 check(2 * size == strlen(src)); in parse_hex()
49 check(l >= 0); in parse_hex()
50 check(h >= 0); in parse_hex()
66 check(src); in parse_uint64()
67 check(dst); in parse_uint64()
126 check(f); in verity_hash()
127 check(f->verity.salt); in verity_hash()
130 check(block); in verity_hash()
[all …]
Dfec_read.cpp108 check(offset % FEC_BLOCKSIZE == 0); in __ecc_read()
120 check(!use_erasures || f->verity.hash); in __ecc_read()
154 check(data_index >= 0); in __ecc_read()
190 check(rc <= (use_erasures ? e->roots : e->roots / 2)); in __ecc_read()
209 check(f); in ecc_init()
235 check(f); in ecc_read()
236 check(dest); in ecc_read()
237 check(offset < f->data_size); in ecc_read()
238 check(offset + count <= f->data_size); in ecc_read()
239 check(errors); in ecc_read()
[all …]
Dfec_process.cpp46 check(f); in process()
47 check(buf) in process()
48 check(func); in process()
83 check(left > 0); in process()
112 check(left == 0); in process()
Dfec_private.h167 #define check(p) \ macro
/system/core/libnetutils/
Dpacket.c109 ip.check = 0; in send_packet()
112 ip.check = finish_sum(checksum(&ip, sizeof(ip), 0)); in send_packet()
117 udp.check = 0; in send_packet()
132 udp.check = finish_sum(udpsum); in send_packet()
213 ALOGW("IP header checksum failure (0x%x)", packet.ip.check); in receive_packet()
230 temp = packet.udp.check; in receive_packet()
231 packet.udp.check = 0; in receive_packet()
233 packet.udp.check = temp; in receive_packet()
/system/keymaster/include/keymaster/
Dkeymaster_tags.h66 static void check() {}
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/sepolicy/tools/
DAndroid.mk45 LOCAL_MODULE := sepolicy-check
49 LOCAL_SRC_FILES := sepolicy-check.c
Dsepolicy-check.c43 int check(int op, uint16_t arg1, uint16_t arg2) { in check() function
86 match &= check(s_op, source_type, cur->key.source_type); in expand_and_check()
87 match &= check(t_op, target_type, cur->key.target_type); in expand_and_check()
88 match &= check(c_op, target_class, cur->key.target_class); in expand_and_check()
DREADME10 argument in order to check the validity of the security contexts
54 sepolicy-check
59 …sepolicy-check -s <domain> -t <type> -c <class> -p <permission> -P out/target/product/<board>/root…
/system/core/fastboot/
Dusb_linux.cpp122 static int check(void *_desc, int len, unsigned type, int size) in check() function
149 if (check(ptr, len, USB_DT_DEVICE, USB_DT_DEVICE_SIZE)) in filter_usb_device()
155 if (check(ptr, len, USB_DT_CONFIG, USB_DT_CONFIG_SIZE)) in filter_usb_device()
204 if (check(hdr, len, USB_DT_INTERFACE, USB_DT_INTERFACE_SIZE) == 0) in filter_usb_device()
226 if (check(hdr, len, USB_DT_ENDPOINT, USB_DT_ENDPOINT_SIZE) == 0) in filter_usb_device()
249 if (check((struct usb_descriptor_hdr *)ptr, len, in filter_usb_device()
/system/sepolicy/
Dpolicy_capabilities4 # Enable open permission check.
Dclatd.te22 # under RLIMIT_MEMLOCK. If the latter check succeeds clatd won't have
/system/media/camera/docs/
Dmetadata-validate20 $thisdir/metadata-check-dependencies || exit 1
Dmetadata-generate194 $thisdir/metadata-check-dependencies || exit 1
196 $thisdir/metadata-parser-sanity-check || exit 1
Dmetadata-parser-sanity-check26 $thisdir/metadata-check-dependencies || exit 1
DREADME.md7 C code, Java code, and even XML itself (as a sanity check).
DACameraMetadata.mako54 // Skip check for vendor keys
/system/core/libmincrypt/tools/
DDumpPublicKey.java87 static int check(PublicKey key, boolean useSHA256) throws Exception { in check() method in DumpPublicKey
107 int version = check(key, useSHA256); in printRSA()
260 check(key, useSHA256); in main()
/system/media/radio/src/
Dradio_metadata.c136 bool check) in get_entry_at_index() argument
141 if (check) { in get_entry_at_index()
/system/connectivity/shill/bin/
Dff_debug110 # First check/remove instances where it lies between +'s
111 # Then check/remove instances where it lies at the ends
/system/security/keystore/tests/
DMakefile94 MEMCHECK_OPTS=--leak-check=full \
/system/extras/tests/sdcard/
DREADME9 to check how the sdcard scale with the number of processes.
/system/connectivity/shill/doc/
Dprofile-api.txt5 When an object is created in memory we check if state from any previous
170 check for portal. To alter this setting set the
/system/core/logd/tests/
Dlogd_test.cpp86 bool check = ret <= len; in alloc_statistics() local
88 if (check) { in alloc_statistics()

123