/system/bt/btcore/src/ |
H A D | osi_module.c | 30 return NULL; 35 .init = NULL, 36 .start_up = NULL, 37 .shut_down = NULL, 39 .dependencies = {NULL}
|
H A D | bdaddr.c | 27 assert(addr != NULL); 34 assert(first != NULL); 35 assert(second != NULL); 41 assert(dest != NULL); 42 assert(src != NULL); 48 assert(addr != NULL); 49 assert(string != NULL); 52 return NULL; 62 assert(string != NULL); 81 assert(string != NULL); [all...] |
H A D | device_class.c | 60 assert(dc != NULL); 61 assert(data != NULL); 66 assert(dc != NULL); 67 assert(data != NULL); 76 assert(dc != NULL); 85 assert(dc != NULL); 91 assert(p1 != NULL); 92 assert(p2 != NULL); 97 assert(dest != NULL); 98 assert(src != NULL); [all...] |
/system/bt/profile/src/ |
H A D | manager.c | 43 NULL, 44 NULL, 45 NULL); 48 return NULL; 55 profile_map = NULL; 57 return NULL; 63 .start_up = NULL, 64 .shut_down = NULL, 67 NULL 75 assert(profile != NULL); [all...] |
/system/netd/server/ |
H A D | StrictController.cpp | 59 res |= execIptables(V4V6, "-N", LOCAL_PENALTY_LOG, NULL); 61 "-j", "CONNMARK", "--or-mark", connmarkFlagAccept, NULL); 63 "-j", "NFLOG", "--nflog-group", "0", NULL); 66 res |= execIptables(V4V6, "-N", LOCAL_PENALTY_REJECT, NULL); 68 "-j", "CONNMARK", "--or-mark", connmarkFlagReject, NULL); 70 "-j", "NFLOG", "--nflog-group", "0", NULL); 72 "-j", "REJECT", NULL); 76 res |= execIptables(V4V6, "-N", LOCAL_CLEAR_DETECT, NULL); 77 res |= execIptables(V4V6, "-N", LOCAL_CLEAR_CAUGHT, NULL); 82 "-j", "REJECT", NULL); [all...] |
H A D | NetlinkManager.cpp | 52 NetlinkManager *NetlinkManager::sInstance = NULL; 61 mBroadcaster = NULL; 81 return NULL; 87 return NULL; 93 return NULL; 99 return NULL; 105 return NULL; 109 return NULL; 113 return NULL; 121 return NULL; [all...] |
/system/bt/stack/btu/ |
H A D | btu_init.c | 153 if (btu_bta_msg_queue == NULL) 157 hash_function_pointer, NULL, (data_free_fn)alarm_free, NULL); 158 if (btu_general_alarm_hash_map == NULL) 161 if (pthread_mutex_init(&btu_general_alarm_lock, NULL)) 165 if (btu_general_alarm_queue == NULL) 169 hash_function_pointer, NULL, (data_free_fn)alarm_free, NULL); 170 if (btu_oneshot_alarm_hash_map == NULL) 173 if (pthread_mutex_init(&btu_oneshot_alarm_lock, NULL)) [all...] |
/system/media/private/camera/include/ |
H A D | camera_metadata_hidden.h | 27 #define VENDOR_SECTION_NAME_ERR NULL 28 #define VENDOR_TAG_NAME_ERR NULL
|
/system/bt/btif/src/ |
H A D | btif_config.c | 51 if (p_device_type == NULL) 69 if (p_addr_type == NULL) 92 pthread_mutex_init(&lock, NULL); 125 alarm_timer = NULL; 126 config = NULL; 141 alarm_timer = NULL; 142 config = NULL; 149 .start_up = NULL, 153 NULL 158 assert(config != NULL); [all...] |
H A D | btif_config_transcode.cpp | 35 return NULL; 41 return NULL; 47 return NULL; 50 for (XMLElement *i = rootElement->FirstChildElement(); i != NULL; i = i->NextSiblingElement()) 51 for (XMLElement *j = i->FirstChildElement(); j != NULL; j = j->NextSiblingElement()) { 53 for (XMLElement *k = j->FirstChildElement(); k != NULL; k = k->NextSiblingElement()) {
|
/system/bt/test/suite/support/ |
H A D | rfcomm.c | 27 return socket_interface != NULL;
|
/system/vold/tests/ |
H A D | VolumeManager_test.cpp | 44 EXPECT_TRUE(VolumeManager::asecHash(exp1, (char*)NULL, sizeof(buffer)) == NULL && errno == ESPIPE) 45 << "Should return NULL and set errno to ESPIPE when destination buffer is NULL"; 46 EXPECT_TRUE(VolumeManager::asecHash(exp1, dst, 0) == NULL && errno == ESPIPE) 47 << "Should return NULL and set errno to ESPIPE when destination buffer length is 0"; 48 EXPECT_TRUE(VolumeManager::asecHash((const char*)NULL, dst, sizeof(buffer)) == NULL && errno == ESPIPE) 49 << "Should return NULL and set errno to ESPIPE when source buffer is NULL"; [all...] |
/system/security/keystore-engine/ |
H A D | android_engine.cpp | 58 if (key_id != NULL) { 81 NULL /* argp */, 82 NULL /* new_func */, 86 NULL /* argp */, 87 NULL /* new_func */, 143 if (key_id == NULL) { 152 if (service == NULL) { 157 uint8_t* reply = NULL; 200 NULL /* app_data */, 202 NULL /* ini [all...] |
H A D | dsa_meth.cpp | 54 if (key_id == NULL) { 63 if (service == NULL) { 70 uint8_t* reply = NULL; 88 Unique_DSA_SIG dsa_sig(d2i_DSA_SIG(NULL, 91 if (dsa_sig.get() == NULL) { 104 NULL, /* dsa_sign_setup */ 105 NULL, /* dsa_do_verify */ 106 NULL, /* dsa_mod_exp */ 107 NULL, /* bn_mod_exp */ 108 NULL, /* ini [all...] |
/system/bt/device/src/classic/ |
H A D | peer.c | 51 NULL, 55 pthread_mutex_init(&bag_of_peers_lock, NULL); 58 return NULL; 65 peers_by_address = NULL; 68 return NULL; 74 .start_up = NULL, 75 .shut_down = NULL, 78 NULL 86 assert(address != NULL); 111 assert(peer != NULL); [all...] |
/system/extras/tests/bionic/libc/bionic/ |
H A D | test_pthread_cond.c | 71 pthread_cond_init(&cond1, NULL); 72 pthread_cond_init(&cond2, NULL); 73 pthread_create( &t[0], NULL, thread1_func, (void *)1 ); 74 pthread_create( &t[1], NULL, thread2_func, (void *)2 ); 75 pthread_create( &t[2], NULL, thread3_func, (void *)3 ); 76 pthread_create( &t[3], NULL, thread4_func, (void *)4 ); 78 pthread_join(t[0], NULL); 79 pthread_join(t[1], NULL); 80 pthread_join(t[2], NULL); 81 pthread_join(t[3], NULL); [all...] |
/system/core/toolbox/upstream-netbsd/usr.bin/grep/ |
H A D | grep.c | 172 {"binary-files", required_argument, NULL, BIN_OPT}, 173 {"decompress", no_argument, NULL, DECOMPRESS_OPT}, 174 {"help", no_argument, NULL, HELP_OPT}, 175 {"mmap", no_argument, NULL, MMAP_OPT}, 176 {"line-buffered", no_argument, NULL, LINEBUF_OPT}, 177 {"label", required_argument, NULL, LABEL_OPT}, 178 {"color", optional_argument, NULL, COLOR_OPT}, 179 {"colour", optional_argument, NULL, COLOR_OPT}, 180 {"exclude", required_argument, NULL, R_EXCLUDE_OPT}, 181 {"include", required_argument, NULL, R_INCLUDE_OP [all...] |
/system/bt/osi/src/ |
H A D | hash_map.c | 59 assert(hash_fn != NULL); 61 assert(zeroed_allocator != NULL); 64 if (hash_map == NULL) 65 return NULL; 75 if (hash_map->bucket == NULL) { 77 return NULL; 92 if (hash_map == NULL) 100 assert(hash_map != NULL); 105 assert(hash_map != NULL); 110 assert(hash_map != NULL); [all...] |
H A D | list.c | 27 return NULL; 47 assert(list != NULL); 52 assert(list != NULL); 53 assert(data != NULL); 64 assert(list != NULL); 69 assert(list != NULL); 76 assert(list != NULL); 83 assert(list != NULL); 84 assert(prev_node != NULL); 85 assert(data != NULL); [all...] |
H A D | data_dispatcher.c | 39 assert(name != NULL); 47 ret->dispatch_table = hash_map_new(DEFAULT_TABLE_BUCKETS, hash_function_naive, NULL, NULL, NULL); 63 return NULL; 79 assert(dispatcher != NULL); 87 assert(dispatcher != NULL); 93 assert(dispatcher != NULL); 94 assert(data != NULL); 105 return queue != NULL; [all...] |
/system/core/adb/ |
H A D | get_my_path_windows.cpp | 28 if (GetModuleFileName(NULL, exe, maxLen) > 0) { 30 if (r != NULL)
|
/system/keymaster/ |
H A D | asymmetric_key.cpp | 29 if (material == NULL || size == NULL) 33 if (pkey.get() == NULL) 39 *size = i2d_PrivateKey(pkey.get(), NULL /* key_data*/); 56 if (material == NULL || size == NULL) 63 int key_data_length = i2d_PUBKEY(pkey.get(), NULL); 68 if (material->get() == NULL)
|
/system/core/fastboot/ |
H A D | fs.c | 27 make_ext4fs_sparse_fd(fd, partSize, NULL, NULL); 35 return make_f2fs_sparse_fd(fd, partSize, NULL, NULL); 59 return NULL;
|
H A D | usb_windows.c | 95 if (NULL == ret) 96 return NULL; 101 if (NULL == ret->adb_interface) { 104 return NULL; 112 if (NULL != ret->adb_read_pipe) { 118 if (NULL != ret->adb_write_pipe) { 124 NULL, 130 if (NULL != ret->interface_name) { 152 return NULL; 162 if (NULL ! [all...] |
/system/bt/bta/mce/ |
H A D | bta_mce_act.c | 62 tSDP_DISC_REC *p_rec = NULL; 70 if (bta_mce_cb.p_dm_cback == NULL) return; 87 if (p_rec == NULL) 95 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SERVICE_NAME)) == NULL) 101 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_MAS_INSTANCE_ID)) == NULL) 106 if ((p_attr = SDP_FindAttributeInRec(p_rec, ATTR_ID_SUPPORTED_MSG_TYPE)) == NULL) 112 } while (p_rec != NULL && found < BTA_MCE_MAX_MAS_INSTANCES); 134 bta_mce_cb.p_dm_cback(BTA_MCE_ENABLE_EVT, (tBTA_MCE *)&status, NULL); 148 if(p_data == NULL) 162 bta_mce_cb.p_dm_cback(BTA_MCE_MAS_DISCOVERY_COMP_EVT, (tBTA_MCE *)&status, NULL); [all...] |