/frameworks/volley/tests/src/com/android/volley/utils/ |
CacheTestUtils.java | 13 * @param data Data to use, or null to use random data 18 byte[] data, boolean isExpired, boolean needsRefresh) { 21 if (data != null) { 22 entry.data = data; 24 entry.data = new byte[random.nextInt(1024)]; 37 public static Cache.Entry makeRandomCacheEntry(byte[] data) { 38 return makeRandomCacheEntry(data, false, false) [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/driver/include/ |
mlsl.h | 59 * This port is used to send and receive data to the device. 74 * This port is used to send and receive data to the device. 93 * inv_serial_single_write() - used to write a single byte of data. 97 * @data Single byte of data to write. 99 * It is called by the MPL to write a single byte of data to the MPU. 107 unsigned char data); 110 * inv_serial_write() - used to write multiple bytes of data to registers. 114 * @length Length of burst of data. 115 * @data Pointer to block of data [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/driver/include/ |
mlsl.h | 59 * This port is used to send and receive data to the device. 74 * This port is used to send and receive data to the device. 93 * inv_serial_single_write() - used to write a single byte of data. 97 * @data Single byte of data to write. 99 * It is called by the MPL to write a single byte of data to the MPU. 107 unsigned char data); 110 * inv_serial_write() - used to write multiple bytes of data to registers. 114 * @length Length of burst of data. 115 * @data Pointer to block of data [all...] |
/libcore/luni/src/test/java/libcore/io/ |
Base64Test.java | 40 int[] data = new int[61]; local 41 Arrays.fill(data, 0xff); 44 assertEncoded(expected, data); 47 public void assertEncoded(String expected , int... data) { 48 byte[] dataBytes = new byte[data.length]; 49 for (int i = 0; i < data.length; i++) { 50 dataBytes[i] = (byte) data[i];
|
/system/security/keystore-engine/ |
keyhandle.cpp | 19 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 62 void *ex_data_dup(void *data) { 63 char* keyhandle = reinterpret_cast<char*>(data); 67 void ex_data_free(void *data) { 68 char* keyhandle = reinterpret_cast<char*>(data); 72 void ex_data_clear_free(void *data) { 73 char* keyhandle = reinterpret_cast<char*>(data); 74 memset(data, '\0', strlen(keyhandle));
|
/external/srec/srec/ca/ |
pat_basi.c | 89 hPattern->data.prep = (preprocessed *) CALLOC_CLR(1, 90 sizeof(preprocessed), "ca.hPattern->data.prep"); 95 ret_code = init_newton_transform(hPattern->data.prep, 0, imelda, hPatInput->dimen); 101 hPattern->data.prep->use_dim = hPatInput->dimen; 102 hPattern->data.prep->use_from = hPatInput->feat_start; 106 hPattern->data.prep->whole_dim = hPatInput->dimen; 108 hPattern->data.prep->whole_dim = hPatInput->whole_dimen; 109 if (hPattern->data.prep->whole_dim > hPattern->data.prep->use_dim) 112 hPattern->data.prep->mix_score_scale = (prdata)(128 * hPatInput->mix_score_scale + 0.5 [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
results_holder.c | 10 * Holds the data for MPL 85 * @param[in] data Quaternion Adjustment 88 void inv_set_compass_correction(const long *data, inv_time_t timestamp) 91 memcpy(rh.compass_correction, data, sizeof(rh.compass_correction)); 97 * @param[in] data Quaternion Adjustment 100 void inv_set_geomagnetic_compass_correction(const long *data, inv_time_t timestamp) 103 memcpy(rh.geomag_compass_correction, data, sizeof(rh.geomag_compass_correction)); 109 * @param[out] data Quaternion Adjustment 112 void inv_get_compass_correction(long *data, inv_time_t *timestamp) 114 memcpy(data, rh.compass_correction, sizeof(rh.compass_correction)) [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/tcpdump/ |
print-smb.c | 93 trans2_findfirst(const u_char *param, const u_char *data, int pcnt, int dcnt) 104 printf("data:\n"); 105 print_data(data, dcnt); 110 trans2_qfsinfo(const u_char *param, const u_char *data, int pcnt, int dcnt) 135 smb_fdata(data, fmt, data + dcnt, unicodestr); 138 printf("data:\n"); 139 print_data(data, dcnt); 177 const u_char *data, *param; local 188 data = buf + EXTRACT_LE_16BITS(w + 12 * 2) 340 const u_char *data, *param; local 801 const u_char *words, *maxwords, *data; local [all...] |
print-radius.c | 417 { "ARAP Security Data", NULL, 0, 0, print_attr_string }, 442 /* value pointed by 'data' */ 448 print_attr_string(register u_char *data, u_int length, u_short attr_code ) 452 TCHECK2(data[0],length); 462 if (*data && (*data <=0x1F) ) 463 printf("Tag %u, ",*data); 464 data++; 466 printf("Salt %u ",EXTRACT_16BITS(data) ); 467 data+=2 [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
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...] |
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...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
h264bsd_intra_prediction.c | 162 static void Get4x4NeighbourPels(u8 *a, u8 *l, u8 *data, u8 *above, u8 *left, 164 static void Intra16x16VerticalPrediction(u8 *data, u8 *above); 165 static void Intra16x16HorizontalPrediction(u8 *data, u8 *left); 166 static void Intra16x16DcPrediction(u8 *data, u8 *above, u8 *left, 168 static void Intra16x16PlanePrediction(u8 *data, u8 *above, u8 *left); 169 static void IntraChromaDcPrediction(u8 *data, u8 *above, u8 *left, 171 static void IntraChromaHorizontalPrediction(u8 *data, u8 *left); 172 static void IntraChromaVerticalPrediction(u8 *data, u8 *above); 173 static void IntraChromaPlanePrediction(u8 *data, u8 *above, u8 *left); 175 static void Intra4x4VerticalPrediction(u8 *data, u8 *above) [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
StringHasher.h | 32 // LChar data is interpreted as Latin-1-encoded (zero extended to 16 bits). 91 template<typename T, UChar Converter(T)> void addCharactersAssumingAligned(const T* data, unsigned length) 99 addCharactersAssumingAligned(Converter(data[0]), Converter(data[1])); 100 data += 2; 104 addCharacter(Converter(*data)); 107 template<typename T> void addCharactersAssumingAligned(const T* data, unsigned length) 109 addCharactersAssumingAligned<T, defaultConverter>(data, length); 112 template<typename T, UChar Converter(T)> void addCharactersAssumingAligned(const T* data) 116 while (T a = *data++) [all...] |
/external/libselinux/src/ |
label_android_property.c | 50 static int nodups_specs(struct saved_data *data, const char *path) 54 struct spec *curr_spec, *spec_arr = data->spec_arr; 56 for (ii = 0; ii < data->nspec; ii++) { 58 for (jj = ii + 1; jj < data->nspec; jj++) { 90 struct saved_data *data = (struct saved_data *)rec->data; local 91 spec_t *spec_arr = data->spec_arr; 92 unsigned int nspec = data->nspec; 139 data->nspec = ++nspec; 146 struct saved_data *data = (struct saved_data *)rec->data local 227 struct saved_data *data = (struct saved_data *)rec->data; local 248 struct saved_data *data = (struct saved_data *)rec->data; local 288 struct saved_data *data; local [all...] |
/external/chromium_org/content/renderer/device_orientation/ |
device_orientation_event_pump.cc | 46 blink::WebDeviceOrientationData data; local 47 if (reader_->GetLatestData(&data) && ShouldFireEvent(data)) { 48 memcpy(&data_, &data, sizeof(data)); 49 listener_->didChangeDeviceOrientation(data); 62 const blink::WebDeviceOrientationData& data) const { 63 return data.allAvailableSensorsAreActive && 65 data_.hasAlpha, data_.alpha, data.hasAlpha, data.alpha) | [all...] |
/external/chromium_org/media/midi/ |
midi_message_queue.cc | 18 bool IsDataByte(uint8 data) { 19 return (data & 0x80) == 0; 22 bool IsFirstStatusByte(uint8 data) { 23 return !IsDataByte(data) && data != kEndOfSysEx; 26 bool IsSystemRealTimeMessage(uint8 data) { 27 return 0xf8 <= data && data <= 0xff; 37 void MIDIMessageQueue::Add(const std::vector<uint8>& data) { 38 queue_.insert(queue_.end(), data.begin(), data.end()) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/events/ |
TextEvent.cpp | 19 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 39 PassRefPtr<TextEvent> TextEvent::create(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType) 41 return adoptRef(new TextEvent(view, data, inputType)); 44 PassRefPtr<TextEvent> TextEvent::createForPlainTextPaste(PassRefPtr<AbstractView> view, const String& data, bool shouldSmartReplace) 46 return adoptRef(new TextEvent(view, data, 0, shouldSmartReplace, false)); 49 PassRefPtr<TextEvent> TextEvent::createForFragmentPaste(PassRefPtr<AbstractView> view, PassRefPtr<DocumentFragment> data, bool shouldSmartReplace, bool shouldMatchStyle) 51 return adoptRef(new TextEvent(view, "", data, shouldSmartReplace, shouldMatchStyle)); 54 PassRefPtr<TextEvent> TextEvent::createForDrop(PassRefPtr<AbstractView> view, const String& data) 56 return adoptRef(new TextEvent(view, data, TextEventInputDrop)); 67 TextEvent::TextEvent(PassRefPtr<AbstractView> view, const String& data, TextEventInputType inputType [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
u_dynarray.h | 36 * Also, size <= capacity and data != 0 if and only if capacity != 0 37 * capacity will always be the allocation size of data 41 void *data; member in struct:util_dynarray 55 if(buf->data) 57 FREE(buf->data); 72 buf->data = REALLOC(buf->data, buf->capacity, newcap); 76 p = (char *)buf->data + buf->size; 92 buf->data = REALLOC(buf->data, buf->capacity, buf->size) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_dynarray.h | 36 * Also, size <= capacity and data != 0 if and only if capacity != 0 37 * capacity will always be the allocation size of data 41 void *data; member in struct:util_dynarray 55 if(buf->data) 57 FREE(buf->data); 72 buf->data = REALLOC(buf->data, buf->capacity, newcap); 76 p = (char *)buf->data + buf->size; 92 buf->data = REALLOC(buf->data, buf->capacity, buf->size) [all...] |
/external/ppp/pppd/plugins/radius/ |
buildreq.c | 63 void rc_buildreq(SEND_DATA *data, int code, char *server, unsigned short port, 66 data->server = server; 67 data->svc_port = port; 68 data->seq_nbr = rc_get_seqnbr(); 69 data->timeout = timeout; 70 data->retries = retries; 71 data->code = code; 192 SEND_DATA data; local 198 data.send_pairs = send; 199 data.receive_pairs = NULL 249 SEND_DATA data; local 293 SEND_DATA data; local 377 SEND_DATA data; local 417 SEND_DATA data; local [all...] |
/external/smack/src/org/xbill/DNS/ |
SetResponse.java | 29 * The Zone contains the name, but no data of the requested type, 30 * or the Cache has determined that the name exists and has no data 63 private Object data; field in class:SetResponse 72 this.data = rrset; 79 this.data = null; 97 sr.data = null; 106 if (data == null) 107 data = new ArrayList(); 108 List l = (List) data; 159 List l = (List) data; [all...] |
/frameworks/native/libs/gui/ |
IGraphicBufferAlloc.cpp | 47 Parcel data, reply; local 48 data.writeInterfaceToken(IGraphicBufferAlloc::getInterfaceDescriptor()); 49 data.writeInt32(w); 50 data.writeInt32(h); 51 data.writeInt32(format); 52 data.writeInt32(usage); 53 remote()->transact(CREATE_GRAPHIC_BUFFER, data, &reply); 73 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 90 CHECK_INTERFACE(IGraphicBufferAlloc, data, reply); 91 uint32_t w = data.readInt32() [all...] |
/external/chromium_org/net/base/ |
big_endian_unittest.cc | 12 char data[] = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 0xA, 0xB, 0xC }; local 18 BigEndianReader reader(data, sizeof(data)); 21 EXPECT_EQ(data + 2, reader.ptr()); 22 EXPECT_EQ(reader.remaining(), static_cast<int>(sizeof(data)) - 2); 35 EXPECT_EQ(expected.data(), piece.data()); 39 char data[4]; local 45 BigEndianReader reader(data, sizeof(data)); 64 char data[sizeof(expected)]; local 78 char data[4]; local [all...] |
/external/webrtc/test/testsupport/ |
packet_reader_unittest.cc | 56 WebRtc_UWord8 data[kDataLengthInBytes]; local 57 WebRtc_UWord8* data_pointer = data; 58 memset(data, 1, kDataLengthInBytes); 60 reader_->InitializeReading(data, kDataLengthInBytes, kPacketSizeInBytes); 62 VerifyPacketData(kDataLengthInBytes, length_to_read, data, data_pointer); 63 EXPECT_EQ(0, data_pointer - data); // pointer hasn't moved 68 EXPECT_EQ(kDataLengthInBytes, data_pointer - data); 71 // Test with data length that exactly matches one packet 73 WebRtc_UWord8 data[kPacketSizeInBytes]; local 74 WebRtc_UWord8* data_pointer = data; 114 WebRtc_UWord8* data = new WebRtc_UWord8[kDataLengthInBytes]; local [all...] |