/external/wpa_supplicant_8/src/utils/ |
wpabuf.h | 2 * Dynamic data buffer 12 /* wpabuf::buf is a pointer to external data */ 16 * Internal data structure for wpabuf. Please do not touch this directly from 18 * from this file to access data. 22 size_t used; /* length of data in the buffer */ 31 struct wpabuf * wpabuf_alloc_ext_data(u8 *data, size_t len); 32 struct wpabuf * wpabuf_alloc_copy(const void *data, size_t len); 52 * wpabuf_len - Get the current length of a wpabuf buffer data 72 * wpabuf_head - Get pointer to the head of the buffer data 74 * Returns: Pointer to the head of the buffer data 141 os_memcpy(wpabuf_put(buf, len), data, len); local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
ikev2.c | 17 void ikev2_responder_deinit(struct ikev2_responder_data *data) 19 ikev2_free_keys(&data->keys); 20 wpabuf_free(data->i_dh_public); 21 wpabuf_free(data->r_dh_private); 22 os_free(data->IDi); 23 os_free(data->IDr); 24 os_free(data->shared_secret); 25 wpabuf_free(data->i_sign_msg); 26 wpabuf_free(data->r_sign_msg); 27 os_free(data->key_pad) [all...] |
eap_fast.c | 78 struct eap_fast_data *data = ctx; local 86 data->session_ticket_used = 0; 87 if (data->provisioning_allowed) { 90 data->provisioning = 1; 91 data->current_pac = NULL; 98 if (data->current_pac == NULL) { 101 data->session_ticket_used = 0; 105 eap_fast_derive_master_secret(data->current_pac->pac_key, 109 data->session_ticket_used = 1; 115 static int eap_fast_parse_phase1(struct eap_fast_data *data, 149 struct eap_fast_data *data; local 225 struct eap_fast_data *data = priv; local 1515 struct eap_fast_data *data = priv; local 1643 struct eap_fast_data *data = priv; local 1661 struct eap_fast_data *data = priv; local 1668 struct eap_fast_data *data = priv; local 1687 struct eap_fast_data *data = priv; local 1706 struct eap_fast_data *data = priv; local [all...] |
eap_gpsk.c | 39 static struct wpabuf * eap_gpsk_send_gpsk_2(struct eap_gpsk_data *data, 43 static struct wpabuf * eap_gpsk_send_gpsk_4(struct eap_gpsk_data *data, 66 static void eap_gpsk_state(struct eap_gpsk_data *data, int state) 69 eap_gpsk_state_txt(data->state), 71 data->state = state; 80 struct eap_gpsk_data *data; local 90 data = os_zalloc(sizeof(*data)); 91 if (data == NULL) 93 data->state = GPSK_1 120 struct eap_gpsk_data *data = priv; local 645 struct eap_gpsk_data *data = priv; local 685 struct eap_gpsk_data *data = priv; local 692 struct eap_gpsk_data *data = priv; local 710 struct eap_gpsk_data *data = priv; local 728 struct eap_gpsk_data *data = priv; local [all...] |
/external/chromium/net/url_request/ |
view_cache_helper_unittest.cc | 36 void WriteHeaders(disk_cache::Entry* entry, int flags, const std::string data) { 37 if (data.empty()) 44 pickle.WriteString(data); 47 reinterpret_cast<const char*>(pickle.data()))); 55 void WriteData(disk_cache::Entry* entry, int index, const std::string data) { 56 if (data.empty()) 59 int len = data.length(); 61 memcpy(buf->data(), data.data(), data.length()) 107 std::string prefix, data; local 119 std::string prefix, data; local 141 std::string data; local 166 std::string key, data; local 199 std::string data; local [all...] |
url_request_data_job.cc | 5 // Simple implementation of a data: protocol handler. 25 std::string* data) const { 26 // Check if data URL is valid. If not, don't bother to try to extract data. 27 // Otherwise, parse the data from the data URL. 31 return DataURL::Parse(url, mime_type, charset, data);
|
/external/clang/test/CodeGenCXX/ |
debug-info-dup-fwd-decl.cpp | 6 Test () : reserved (new data()) {} 14 struct data { struct in class:Test 17 data* reserved; 23 // CHECK: metadata !"data", metadata !{{.*}}, i32 14, i64 32, i64 32, i32 0, i32 0 24 // CHECK-NOT: metadata !"data", metadata {{.*}}, i32 14, i64 0, i64 0, i32 0, i32 4,
|
/frameworks/base/core/java/android/database/ |
BulkCursorNative.java | 57 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) 62 data.enforceInterface(IBulkCursor.descriptor); 63 int startPos = data.readInt(); 76 data.enforceInterface(IBulkCursor.descriptor); 83 data.enforceInterface(IBulkCursor.descriptor); 90 data.enforceInterface(IBulkCursor.descriptor); 92 IContentObserver.Stub.asInterface(data.readStrongBinder()); 101 data.enforceInterface(IBulkCursor.descriptor); 102 int position = data.readInt(); 109 data.enforceInterface(IBulkCursor.descriptor) 157 Parcel data = Parcel.obtain(); local 178 Parcel data = Parcel.obtain(); local 194 Parcel data = Parcel.obtain(); local 209 Parcel data = Parcel.obtain(); local 223 Parcel data = Parcel.obtain(); local 248 Parcel data = Parcel.obtain(); local 266 Parcel data = Parcel.obtain(); local [all...] |
/external/webkit/Source/WebCore/dom/ |
SelectElement.cpp | 98 static int nextSelectableListIndex(SelectElementData& data, Element* element, int startIndex) 100 return nextValidIndex(data.listItems(element), startIndex, SkipForwards, 1); 103 static int previousSelectableListIndex(SelectElementData& data, Element* element, int startIndex) 106 startIndex = data.listItems(element).size(); 107 return nextValidIndex(data.listItems(element), startIndex, SkipBackwards, 1); 110 static int firstSelectableListIndex(SelectElementData& data, Element* element) 112 const Vector<Element*>& items = data.listItems(element); 119 static int lastSelectableListIndex(SelectElementData& data, Element* element) 121 return nextValidIndex(data.listItems(element), -1, SkipForwards, INT_MAX); 125 static int nextSelectableListIndexPageAway(SelectElementData& data, Element* element, int startIndex, SkipDirection direction [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
bgscan_learn.c | 89 struct bgscan_learn_data *data, const u8 *bssid) 93 dl_list_for_each(bss, &data->bss, struct bgscan_learn_bss, list) { 101 static int bgscan_learn_load(struct bgscan_learn_data *data) 107 if (data->fname == NULL) 110 f = fopen(data->fname, "r"); 114 wpa_printf(MSG_DEBUG, "bgscan learn: Loading data from %s", 115 data->fname); 119 wpa_printf(MSG_INFO, "bgscan learn: Invalid data file %s", 120 data->fname); 135 dl_list_add(&data->bss, &bss->list) 273 struct bgscan_learn_data *data = eloop_ctx; local 385 struct bgscan_learn_data *data; local 439 struct bgscan_learn_data *data = priv; local 477 struct bgscan_learn_data *data = priv; local 556 struct bgscan_learn_data *data = priv; local [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRDoubleKeyMap.m | 9 data = [[AMutableDictionary dictionaryWithCapacity:30] retain]; 16 AMutableDictionary *data2 = [data objectForKey:k1]; 20 [data setObject:data2 forKey:k1]; 31 AMutableDictionary *data2 = [data objectForKey:k1]; 39 return [data objectForKey:k1]; 48 AMutableDictionary *data2 = [data objectForKey:k1]; 60 return [data allKeys]; 69 AMutableDictionary * data2 = [data objectForKey:k1]; 80 for (AMutableDictionary *k2 in [data allValues]) { 96 [data release] [all...] |
/external/clang/test/CodeGen/ |
2002-07-14-MiscListTests.c | 15 // Recursive data structure tests... 18 int Data; 22 list *Data; 28 Data = (list*)malloc(12); // This is not a proper list allocation 41 void InsertIntoListTail(list **L, int Data) { 45 (*L)->Data = Data; 50 list *FindData(list *L, int Data) { 52 if (L->Data == Data) return L [all...] |
/external/icu4c/stubdata/ |
stubdata.c | 9 * Define initialized data that will build into a valid, but empty 10 * ICU data library. Used to bootstrap the ICU build, which has these 12 * ICU Common library depends on ICU data 13 * ICU data requires data building tools. 14 * ICU data building tools require the ICU common library. 16 * The stub data library (for which this file is the source) is sufficient 17 * for running the data building tools. 34 const void *const data; 58 { /* data format identifier * [all...] |
/packages/apps/Gallery2/src/com/android/photos/drawables/ |
MtpThumbnailDrawable.java | 27 public void setImage(MtpObjectInfo data) { 28 if (data == null) { 31 setImage(data, data.getImagePixWidth(), data.getImagePixHeight()); 36 protected byte[] getPreferredImageBytes(MtpObjectInfo data) { 37 if (data == null) { 42 return device.getThumbnail(data.getObjectHandle()); 49 protected InputStream getFallbackImageStream(MtpObjectInfo data) { 55 protected boolean dataChangedLocked(MtpObjectInfo data) { [all...] |
/external/chromium/net/tools/fetch/ |
http_session.cc | 20 // Generate a 10KB sequence of data. 21 static std::string data; local 22 if (data.length() == 0) { 23 while (data.length() < (10 * 1024)) 24 data += 'a' + (rand() % 26); 31 response_info.content_length = data.length(); 33 connection->Respond(&response_info, data);
|
/external/chromium/webkit/glue/ |
form_data.cc | 13 FormData::FormData(const FormData& data) 14 : name(data.name), 15 method(data.method), 16 origin(data.origin), 17 action(data.action), 18 user_submitted(data.user_submitted), 19 fields(data.fields) {
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/util/ |
StringEncoder.java | 16 public static byte[] GetBytes(String data)
19 return data.getBytes("UTF-8");
26 public static String GetString(byte[] data)
28 return GetString(data, 0, data.length);
31 public static String GetString(byte[] data, int off, int len)
34 return new String(data, off, len, "UTF-8");
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_psk.c | 35 struct eap_psk_data *data; local 37 data = os_zalloc(sizeof(*data)); 38 if (data == NULL) 40 data->state = PSK_1; 41 data->id_s = (u8 *) "hostapd"; 42 data->id_s_len = 7; 44 return data; 50 struct eap_psk_data *data = priv; local 51 os_free(data->id_p) 160 struct eap_psk_data *data = priv; local 179 struct eap_psk_data *data = priv; local 414 struct eap_psk_data *data = priv; local 442 struct eap_psk_data *data = priv; local 449 struct eap_psk_data *data = priv; local 467 struct eap_psk_data *data = priv; local 485 struct eap_psk_data *data = priv; local [all...] |
ikev2.c | 17 static int ikev2_process_idr(struct ikev2_initiator_data *data, 21 void ikev2_initiator_deinit(struct ikev2_initiator_data *data) 23 ikev2_free_keys(&data->keys); 24 wpabuf_free(data->r_dh_public); 25 wpabuf_free(data->i_dh_private); 26 os_free(data->IDi); 27 os_free(data->IDr); 28 os_free(data->shared_secret); 29 wpabuf_free(data->i_sign_msg); 30 wpabuf_free(data->r_sign_msg) [all...] |
eap_server_fast.c | 72 struct eap_fast_data *data); 102 static void eap_fast_state(struct eap_fast_data *data, int state) 105 eap_fast_state_txt(data->state), 107 data->state = state; 112 struct eap_fast_data *data) 115 eap_fast_state(data, FAILURE); 125 struct eap_fast_data *data = ctx; local 164 if (aes_unwrap(data->pac_opaque_encr, (pac_opaque_len - 8) / 8, 232 os_free(data->identity); 233 data->identity = os_malloc(identity_len) 409 struct eap_fast_data *data; local 503 struct eap_fast_data *data = priv; local 849 struct eap_fast_data *data = priv; local 1419 struct eap_fast_data *data = priv; local 1502 struct eap_fast_data *data = priv; local 1530 struct eap_fast_data *data = priv; local 1540 struct eap_fast_data *data = priv; local 1547 struct eap_fast_data *data = priv; local 1566 struct eap_fast_data *data = priv; local 1585 struct eap_fast_data *data = priv; local [all...] |
/frameworks/av/camera/ |
IProCameraCallbacks.cpp | 41 void readMetadata(const Parcel& data, camera_metadata_t** out); 42 void writeMetadata(Parcel& data, camera_metadata_t* metadata); 56 Parcel data, reply; local 57 data.writeInterfaceToken(IProCameraCallbacks::getInterfaceDescriptor()); 58 data.writeInt32(msgType); 59 data.writeInt32(ext1); 60 data.writeInt32(ext2); 61 remote()->transact(NOTIFY_CALLBACK, data, &reply, IBinder::FLAG_ONEWAY); 66 Parcel data, reply; local 67 data.writeInterfaceToken(IProCameraCallbacks::getInterfaceDescriptor()) 75 Parcel data, reply; local [all...] |
/frameworks/av/media/libmedia/ |
IEffectClient.cpp | 44 Parcel data, reply; local 45 data.writeInterfaceToken(IEffectClient::getInterfaceDescriptor()); 46 data.writeInt32((uint32_t)controlGranted); 47 remote()->transact(CONTROL_STATUS_CHANGED, data, &reply, IBinder::FLAG_ONEWAY); 53 Parcel data, reply; local 54 data.writeInterfaceToken(IEffectClient::getInterfaceDescriptor()); 55 data.writeInt32((uint32_t)enabled); 56 remote()->transact(ENABLE_STATUS_CHANGED, data, &reply, IBinder::FLAG_ONEWAY); 66 Parcel data, reply; local 67 data.writeInterfaceToken(IEffectClient::getInterfaceDescriptor()) [all...] |
IMediaMetadataRetriever.cpp | 40 static void sendSchedPolicy(Parcel& data) 44 data.writeInt32(policy); 47 static void setSchedPolicy(const Parcel& data) 49 SchedPolicy policy = (SchedPolicy) data.readInt32(); 81 Parcel data, reply; local 82 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); 83 remote()->transact(DISCONNECT, data, &reply); 89 Parcel data, reply; local 90 data.writeInterfaceToken(IMediaMetadataRetriever::getInterfaceDescriptor()); 91 data.writeCString(srcUrl) 110 Parcel data, reply; local 122 Parcel data, reply; local 139 Parcel data, reply; local 154 Parcel data, reply; local [all...] |
/frameworks/base/docs/html/guide/topics/data/ |
index.jd | 1 page.title=Data Storage 3 page.landing.intro=Store application data in databases, files, or preferences, in internal or removeable storage. You can also add a data backup service to let users store and recover application and system data. 17 data with the cloud using your own back-end web application, and backing up data using the cloud so 18 that users can restore their data when installing your application on a new device.</p>
|
/cts/tests/tests/permission/src/android/permission/cts/ |
FileSystemPermissionTest.java | 282 final File f = new File("/data/media"); 324 * <li>Data destruction by deleting or renaming files you don't own</li> 325 * <li>Data substitution by replacing trusted files with untrusted files</li> 347 "/data/_SamsungBnR_", 348 "/data/_SamsungBnR_/BR", 349 "/data/2nd-init", 350 "/data/amit", 351 "/data/anr", 352 "/data/app", 353 "/data/app-private" [all...] |