/frameworks/base/core/tests/coretests/src/android/app/activity/ |
RemoteDeniedReceiver.java | 33 Parcel data = Parcel.obtain(); local 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); 35 data.writeString(BroadcastTest.RECEIVER_REMOTE); 36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0); 37 data.recycle();
|
RemoteGrantedReceiver.java | 33 Parcel data = Parcel.obtain(); local 34 data.writeInterfaceToken(LaunchpadActivity.LAUNCH); 35 data.writeString(BroadcastTest.RECEIVER_REMOTE); 36 caller.transact(BroadcastTest.GOT_RECEIVE_TRANSACTION, data, null, 0); 37 data.recycle();
|
/frameworks/native/services/batteryservice/ |
IBatteryPropertiesListener.cpp | 34 Parcel data, reply; local 35 data.writeInterfaceToken(IBatteryPropertiesListener::getInterfaceDescriptor()); 36 data.writeInt32(1); 37 props.writeToParcel(&data); 38 status_t err = remote()->transact(TRANSACT_BATTERYPROPERTIESCHANGED, data, &reply, IBinder::FLAG_ONEWAY);
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
results_holder.c | 10 * Holds the data for MPL 68 * @param[in] data Quaternion Adjustment 71 void inv_set_compass_correction(const long *data, inv_time_t timestamp) 74 memcpy(rh.compass_correction, data, sizeof(rh.compass_correction)); 80 * @param[out] data Quaternion Adjustment 83 void inv_get_compass_correction(long *data, inv_time_t *timestamp) 85 memcpy(data, rh.compass_correction, sizeof(rh.compass_correction)); 158 * @param[in] data Local earth's magnetic field in uT scaled by 2^16. 162 void inv_set_local_field(const long *data) 164 memcpy(rh.local_field, data, sizeof(rh.local_field)) [all...] |
/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/ |
Chunk.java | 22 * A chunk of DDM data. This is really just meant to hold a few pieces 23 * of data together. 34 public byte[] data; // chunk data field in class:Chunk 35 public int offset, length; // position within "data" 45 public Chunk(int type, byte[] data, int offset, int length) { 47 this.data = data; 59 this.data = buf.array();
|
/libcore/dom/src/test/java/org/w3c/domts/ |
UserDataNotification.java | 24 private final Object data; field in class:UserDataNotification 34 Object data, 39 this.data = data; 63 * Gets value of data parameter 65 * @return value of data parameter 68 return data;
|
/art/runtime/ |
leb128.h | 27 static inline uint32_t DecodeUnsignedLeb128(const uint8_t** data) { 28 const uint8_t* ptr = *data; 48 *data = ptr; 56 static inline int32_t DecodeUnsignedLeb128P1(const uint8_t** data) { 57 return DecodeUnsignedLeb128(data) - 1; 63 static inline int32_t DecodeSignedLeb128(const uint8_t** data) { 64 const uint8_t* ptr = *data; 92 *data = ptr; 97 static inline uint32_t UnsignedLeb128Size(uint32_t data) { 100 data >>= 7 [all...] |
/external/chromium_org/third_party/ots/src/ |
layout.h | 19 bool (*parse)(const OpenTypeFile *file, const uint8_t *data, 26 bool Parse(const OpenTypeFile *file, const uint8_t *data, 30 bool ParseScriptListTable(const uint8_t *data, const size_t length, 33 bool ParseFeatureListTable(const uint8_t *data, const size_t length, 37 bool ParseLookupListTable(OpenTypeFile *file, const uint8_t *data, 42 bool ParseClassDefTable(const uint8_t *data, size_t length, 46 bool ParseCoverageTable(const uint8_t *data, size_t length, 49 bool ParseDeviceTable(const uint8_t *data, size_t length); 52 bool ParseContextSubtable(const uint8_t *data, const size_t length, 57 bool ParseChainingContextSubtable(const uint8_t *data, const size_t length [all...] |
/external/wpa_supplicant_8/src/utils/ |
ext_password_test.c | 22 struct ext_password_test_data *data; local 24 data = os_zalloc(sizeof(*data)); 25 if (data == NULL) 29 data->params = os_strdup(params); 31 return data; 37 struct ext_password_test_data *data = ctx; local 39 os_free(data->params); 40 os_free(data); 46 struct ext_password_test_data *data = ctx local [all...] |
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
PoolingByteArrayOutputStreamTest.java | 56 byte[] data = new byte[16384]; 57 for (int i = 0; i < data.length; i++) { 58 data[i] = (byte) (i & 0xff); 61 os.write(data); 63 assertTrue(Arrays.equals(data, os.toByteArray())); 67 byte[] data = new byte[16384]; 68 for (int i = 0; i < data.length; i++) { 69 data[i] = (byte) (i & 0xff); 72 for (int i = 0; i < data.length; i++) { 73 os.write(data[i]) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
BytesBufferPool.java | 17 package com.android.gallery3d.data; 31 public byte[] data; field in class:BytesBufferPool.BytesBuffer 36 this.data = new byte[capacity]; 44 int capacity = data.length; 47 int rc = fis.read(data, length, step); 52 byte[] newData = new byte[data.length * 2]; 53 System.arraycopy(data, 0, newData, 0, data.length); 54 data = newData; 55 capacity = data.length [all...] |
/system/core/toolbox/grep/ |
queue.c | 22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 51 struct str data; member in struct:qentry 65 item->data.dat = grep_malloc(sizeof(char) * x->len); 66 item->data.len = x->len; 67 item->data.line_no = x->line_no; 68 item->data.off = x->off; 69 memcpy(item->data.dat, x->dat, x->len); 70 item->data.file = x->file; 76 free(item->data.dat); 101 printline(&item->data, '-', NULL, 0) [all...] |
/external/wpa_supplicant_8/src/wps/ |
wps.c | 25 * wps_init - Initialize WPS Registration protocol data 27 * Returns: Pointer to allocated data or %NULL on failure 29 * This function is used to initialize WPS data for a registration protocol 31 * Enrollee. The caller is responsible for freeing this data after the 36 struct wps_data *data = os_zalloc(sizeof(*data)); local 37 if (data == NULL) 39 data->wps = cfg->wps; 40 data->registrar = cfg->registrar; 42 os_memcpy(data->uuid_r, cfg->wps->uuid, WPS_UUID_LEN) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ANTLRReaderStream.java | 23 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * Manage the buffer manually to avoid unnecessary data copying. 71 data = new char[size]; 72 // read all the data in chunks of readChunkSize 76 if ( p+readChunkSize > data.length ) { // overflow? 77 // System.out.println("### overflow p="+p+", data.length="+data.length); 78 char[] newdata = new char[data.length*2]; // resize 79 System.arraycopy(data, 0, newdata, 0, data.length) [all...] |
/external/chromium_org/content/browser/geolocation/ |
wifi_data_provider_common_win.cc | 14 bool ConvertToAccessPointData(const NDIS_WLAN_BSSID& data, 19 access_point_data->mac_address = MacAddressAsString16(data.MacAddress); 20 access_point_data->radio_signal_strength = data.Rssi; 22 UTF8ToUTF16(reinterpret_cast<const char*>(data.Ssid.Ssid), 23 data.Ssid.SsidLength, 30 WifiData::AccessPointDataSet* data) { 46 data->insert(access_point_data);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/va/ |
htab.c | 67 VAGenericID vlAddDataHTAB(void *data) 69 assert(data); 74 handle = handle_table_add(htab, data); 78 return (VAGenericID)data; 86 void *data = NULL; local 89 data = handle_table_get(htab, handle); 91 return data;
|
/external/elfutils/libelf/ |
gelf_getlib.c | 63 gelf_getlib (data, ndx, dst) 64 Elf_Data *data; 68 if (data == NULL) 71 if (unlikely (data->d_type != ELF_T_LIB)) 77 Elf_Data_Scn *data_scn = (Elf_Data_Scn *) data; 86 /* The data is already in the correct form. Just make sure the 89 if (unlikely ((ndx + 1) * sizeof (GElf_Lib) > data->d_size)) 93 *dst = ((GElf_Lib *) data->d_buf)[ndx];
|
gelf_getmove.c | 63 gelf_getmove (data, ndx, dst) 64 Elf_Data *data; 71 if (data == NULL) 74 if (unlikely (data->d_type != ELF_T_MOVE)) 84 /* The data is already in the correct form. Just make sure the 86 if (unlikely ((ndx + 1) * sizeof (GElf_Move) > data->d_size)) 92 elf = ((Elf_Data_Scn *) data)->s->elf; 95 *dst = ((GElf_Move *) data->d_buf)[ndx];
|
gelf_getversym.c | 63 gelf_getversym (data, ndx, dst) 64 Elf_Data *data; 68 Elf_Data_Scn *data_scn = (Elf_Data_Scn *) data; 72 if (data == NULL) 75 if (unlikely (data->d_type != ELF_T_HALF)) 93 /* The data is already in the correct form. Just make sure the 95 if (unlikely ((ndx + 1) * sizeof (GElf_Versym) > data->d_size)) 102 *dst = ((GElf_Versym *) data->d_buf)[ndx];
|
/external/flac/libFLAC/include/private/ |
fixed.h | 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 50 * IN data[0,data_len-1] 55 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 59 unsigned FLAC__fixed_compute_best_predictor_asm_ia32_mmx_cmov(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 63 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC__float residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 65 unsigned FLAC__fixed_compute_best_predictor(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 66 unsigned FLAC__fixed_compute_best_predictor_wide(const FLAC__int32 data[], unsigned data_len, FLAC__fixedpoint residual_bits_per_sample[FLAC__MAX_FIXED_ORDER+1]); 75 * IN data[-order,data_len-1] original signal (NOTE THE INDICES!) 80 void FLAC__fixed_compute_residual(const FLAC__int32 data[], unsigned data_len, unsigned order, FLAC__int32 residual[]); 92 * IN data[-order,-1] previously-reconstructed historical sample [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/ |
PacketIgnore.java | 19 byte[] data; field in class:PacketIgnore 21 public void setData(byte[] data) 23 this.data = data; 53 if (data != null) 54 tw.writeString(data, 0, data.length);
|
/external/mesa3d/src/gallium/state_trackers/va/ |
htab.c | 67 VAGenericID vlAddDataHTAB(void *data) 69 assert(data); 74 handle = handle_table_add(htab, data); 78 return (VAGenericID)data; 86 void *data = NULL; local 89 data = handle_table_get(htab, handle); 91 return data;
|
/external/oprofile/libutil++/ |
generic_spec.h | 36 /// or a string convertible to T through istringtream(str) >> data 48 return data; 54 return rhs == data; 59 return is_all || rhs.is_all || rhs.data == data; 63 T data; member in class:generic_spec 71 data(T()), 86 data = op_lexical_cast<T>(str);
|
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
encode_lpc_swb.h | 78 * -data : pointer to matrix of LAR vectors. The matrix 87 const double* data, 98 * -data : uncorrelated LAR vectors. 103 * -data : quantized version of the input. 107 double* data, 118 * -data : uncorrelated parameters. 126 const double* data, 137 * -data 145 const double* data, 156 * -data : pointer to mean-removed LAR:s [all...] |
/frameworks/base/core/java/android/app/backup/ |
AbsoluteFileBackupHelper.java | 53 * Based on oldState, determine which of the files from the application's data directory 54 * need to be backed up, write them to the data stream, and fill in newState with the 57 public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, 60 performBackup_checked(oldState, data, newState, mFiles, mFiles); 66 public void restoreEntity(BackupDataInputStream data) { 67 if (DEBUG) Log.d(TAG, "got entity '" + data.getKey() + "' size=" + data.size()); 68 String key = data.getKey(); 71 writeFile(f, data);
|