/external/skia/legacy/src/utils/ |
SkParsePath.cpp | 70 bool SkParsePath::FromSVGString(const char data[], SkPath* result) { 80 data = skip_ws(data); 81 if (data[0] == '\0') { 84 char ch = data[0]; 96 data++; 97 data = skip_sep(data); 101 data = find_points(data, points, 1, relative, &c) [all...] |
/external/skia/src/utils/ |
SkParsePath.cpp | 70 bool SkParsePath::FromSVGString(const char data[], SkPath* result) { 80 data = skip_ws(data); 81 if (data[0] == '\0') { 84 char ch = data[0]; 96 data++; 97 data = skip_sep(data); 101 data = find_points(data, points, 1, relative, &c) [all...] |
/hardware/invensense/libsensors_iio/software/core/mllite/ |
data_builder.h | 19 /** This is a new sample of accel data */ 21 /** This is a new sample of gyro data */ 23 /** This is a new sample of compass data */ 25 /** This is a new sample of temperature data */ 27 /** This is a new sample of quaternion data */ 30 /** Set if the data is contiguous. Typically not set if a sample was skipped */ 32 /** Set if the calibrated data has been solved for */ 34 /* INV_NEW_DATA set for a new set of data, cleared if not available. */ 36 /* Set if raw data exists */ 71 /** The raw data in raw data units in the mounting frame * [all...] |
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...] |
/external/chromium/chrome/browser/ |
keychain_mock_mac.cc | 25 // Create the test keychain data storage. 56 keychain_attr_list_[i].attr[j].data = calloc(1, data_size); 65 if (keychain_attr_list_[i].attr[j].data) { 66 free(keychain_attr_list_[i].attr[j].data); 70 if (keychain_data_[i].data) { 71 free(keychain_data_[i].data); 95 void MockKeychain::SetTestDataBytes(int item, UInt32 tag, const void* data, 101 if (attribute->data) { 102 free(attribute->data); 104 attribute->data = malloc(length) 119 UInt32* data = static_cast<UInt32*>(attribute->data); local 126 SecProtocolType* data = static_cast<SecProtocolType*>(attribute->data); local 133 SecAuthenticationType* data = static_cast<SecAuthenticationType*>( local 141 Boolean* data = static_cast<Boolean*>(attribute->data); local 148 OSType* data = static_cast<OSType*>(attribute->data); local 213 void* data = attrList->attr[change_attr].data; local 416 OSType* data = static_cast<OSType*>(attribute->data); local [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandler.java | 27 import android.provider.ContactsContract.Data; 37 * Handles inserts and update for a specific Data type. 47 Data.RAW_CONTACT_ID, 48 Data.IS_PRIMARY, 49 Data.DATA1, 53 Data._ID, 55 Data.RAW_CONTACT_ID, 56 Data.IS_PRIMARY, 57 Data.DATA1, 68 String[] COLUMNS = { Data._ID, Data.RAW_CONTACT_ID, Data.MIMETYPE } [all...] |
/external/flac/libFLAC/ |
metadata_object.c | 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 167 object->length = object->data.seek_table.num_points * FLAC__STREAM_METADATA_SEEKPOINT_LENGTH; 197 object->length += object->data.vorbis_comment.vendor_string.length; 199 for(i = 0; i < object->data.vorbis_comment.num_comments; i++) { 201 object->length += object->data.vorbis_comment.comments[i].length; 303 for(i = offset; i < object->data.vorbis_comment.num_comments; i++) { 304 if(FLAC__metadata_object_vorbiscomment_entry_matches(object->data.vorbis_comment.comments[i], field_name, field_name_length)) 325 object->length += object->data.cue_sheet.num_tracks * ( 335 for(i = 0; i < object->data.cue_sheet.num_tracks; i++) { 336 object->length += object->data.cue_sheet.tracks[i].num_indices * [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_sim_db.c | 177 static int db_add_pseudonym(struct eap_sim_db_data *data, 192 if (sqlite3_exec(data->sqlite_db, cmd, NULL, NULL, &err) != SQLITE_OK) 205 struct eap_sim_db_data *data = ctx; local 210 os_strlcpy(data->db_tmp_identity, argv[i], 211 sizeof(data->db_tmp_identity)); 220 db_get_pseudonym(struct eap_sim_db_data *data, const char *pseudonym) 226 os_memset(&data->db_tmp_identity, 0, sizeof(data->db_tmp_identity)); 230 if (sqlite3_exec(data->sqlite_db, cmd, get_pseudonym_cb, data, NULL) ! 305 struct eap_sim_db_data *data = ctx; local 573 struct eap_sim_db_data *data = eloop_ctx; local 696 struct eap_sim_db_data *data; local 760 struct eap_sim_db_data *data = priv; local [all...] |
/development/samples/BackupRestore/src/com/example/android/backuprestore/ |
ExampleAgent.java | 43 * to change what data we back up and how we store the state blob. 49 * data is backed up. This key identifies different data records 50 * within this one application's data set. Since we only maintain 51 * one piece of data we don't need to distinguish, so we just pick 56 /** The app's current data, read from the live disk file */ 61 /** The location of the application's persistent data file */ 64 /** For convenience, we set up the File object for the app's data on creation */ 71 * The set of data backed up by this application is very small: just 73 * easiest to simply store a copy of the backed-up data as the stat [all...] |
/external/expat/tests/ |
chardata.c | 44 int maxchars = sizeof(storage->data) / sizeof(storage->data[0]); 54 if (len + storage->count < sizeof(storage->data)) { 55 memcpy(storage->data + storage->count, s, len); 67 maxchars = sizeof(storage->data) / sizeof(storage->data[0]); 75 if (len + storage->count < sizeof(storage->data)) { 76 memcpy(storage->data + storage->count, s, 77 len * sizeof(storage->data[0])); 95 sprintf(buffer, "wrong number of data characters: [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/ |
JSilver.java | 22 import com.google.clearsilver.jsilver.data.Data; 23 import com.google.clearsilver.jsilver.data.DataFactory; 24 import com.google.clearsilver.jsilver.data.HDFDataFactory; 68 * // Set up some data. 69 * Data data = new Data(); 70 * data.setValue("name.first", "Mr"); 71 * data.setValue("name.last", "Man") 252 render(templateLoader.load(templateName, resourceLoader, escapeMode), data, output, local [all...] |
/external/sepolicy/ |
file.te | 28 # Default type for anything under /data. 30 # /data/drm - DRM plugin data 32 # /data/anr - ANR traces 34 # /data/tombstones - core dumps 36 # /data/app - user-installed apps 39 # /data/app-private - forward-locked apps 42 # /data/dalvik-cache 44 # /data/local - writable by shell 46 # /data/gp [all...] |
/frameworks/av/camera/ |
ICameraRecordingProxy.cpp | 46 Parcel data, reply; local 47 data.writeInterfaceToken(ICameraRecordingProxy::getInterfaceDescriptor()); 48 data.writeStrongBinder(listener->asBinder()); 49 remote()->transact(START_RECORDING, data, &reply); 56 Parcel data, reply; local 57 data.writeInterfaceToken(ICameraRecordingProxy::getInterfaceDescriptor()); 58 remote()->transact(STOP_RECORDING, data, &reply); 64 Parcel data, reply; local 65 data.writeInterfaceToken(ICameraRecordingProxy::getInterfaceDescriptor()); 66 data.writeStrongBinder(mem->asBinder()) [all...] |
/frameworks/av/media/libmedia/ |
IMediaLogService.cpp | 43 Parcel data, reply; local 44 data.writeInterfaceToken(IMediaLogService::getInterfaceDescriptor()); 45 data.writeStrongBinder(shared->asBinder()); 46 data.writeInt32((int32_t) size); 47 data.writeCString(name); 48 status_t status = remote()->transact(REGISTER_WRITER, data, &reply); 53 Parcel data, reply; local 54 data.writeInterfaceToken(IMediaLogService::getInterfaceDescriptor()); 55 data.writeStrongBinder(shared->asBinder()); 56 status_t status = remote()->transact(UNREGISTER_WRITER, data, &reply) [all...] |
/system/core/toolbox/ |
wipe.c | 19 "/data/misc", 20 "/data/local", 21 "/data/local/tmp", 22 "/data/data", 23 "/data/app_private", 24 "/data/app", 32 fprintf(stderr, "wipe <system|data|all>\n\n" 34 "data means '/data'\n") [all...] |
/system/extras/tests/sdcard/ |
plot_sdcard.py | 25 -p profile data generated by profile_sdcard.sh 27 ./plot_sdcard.py -t /tmp/data.txt 28 ./plot_sdcard.py -i /tmp/data.txt 33 >>> (metadata, data) = p.Parse('/tmp/data.txt') 34 >>> p.PlotIterations(metadata, data) 35 >>> p.PlotTimes(metadata, data) 48 """Dataset holds the summary and data (time,value pairs).""" 54 self.data = [] 61 return str(zip(self.time, self.data)) [all...] |
/external/chromium/crypto/ |
signature_creator_mac.cc | 53 CSSM_DATA data; local 54 data.Data = const_cast<uint8*>(data_part); 55 data.Length = data_part_len; 56 CSSM_RETURN crtn = CSSM_SignDataUpdate(sig_handle_, &data, 1); 70 signature->assign(sig->Data, sig->Data + sig->Length);
|
/external/compiler-rt/lib/tsan/lit_tests/ |
mop_with_offset.cc | 21 int *data = new int(42); local 22 fprintf(stderr, "ptr1=%p\n", data); 23 fprintf(stderr, "ptr2=%p\n", (char*)data + 2); 25 pthread_create(&t[0], NULL, Thread1, data); 26 pthread_create(&t[1], NULL, Thread2, data); 29 delete data; 34 // CHECK: WARNING: ThreadSanitizer: data race
|
mop_with_offset2.cc | 21 int *data = new int(42); local 22 fprintf(stderr, "ptr1=%p\n", data); 23 fprintf(stderr, "ptr2=%p\n", (char*)data + 2); 25 pthread_create(&t[0], NULL, Thread1, data); 26 pthread_create(&t[1], NULL, Thread2, data); 29 delete data; 34 // CHECK: WARNING: ThreadSanitizer: data race
|
/external/doclava/src/com/google/doclava/ |
KeywordEntry.java | 19 import com.google.clearsilver.jsilver.data.Data; 28 public void makeHDF(Data data, String base) { 29 data.setValue(base + ".label", this.label); 30 data.setValue(base + ".href", this.href); 31 data.setValue(base + ".comment", this.comment);
|
/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/icu4c/tools/makeconv/ |
makeconv.c | 49 initConvData(ConvData *data) { 50 uprv_memset(data, 0, sizeof(ConvData)); 51 data->sharedData.structSize=sizeof(UConverterSharedData); 52 data->staticData.structSize=sizeof(UConverterStaticData); 53 data->sharedData.staticData=&data->staticData; 57 cleanupConvData(ConvData *data) { 58 if(data!=NULL) { 59 if(data->cnvData!=NULL) { 60 data->cnvData->close(data->cnvData) 195 ConvData data; local [all...] |
/external/llvm/lib/Support/ |
DataExtractor.cpp | 18 bool isLittleEndian, const char *Data) { 22 std::memcpy(&val, &Data[offset], sizeof(val)); 34 const DataExtractor *de, bool isLittleEndian, const char *Data){ 40 *value_ptr = getU<T>(offset_ptr, de, isLittleEndian, Data); 43 // Return a non-NULL pointer to the converted data as an indicator of 51 return getU<uint8_t>(offset_ptr, this, IsLittleEndian, Data.data()); 57 Data.data()); 62 return getU<uint16_t>(offset_ptr, this, IsLittleEndian, Data.data()) [all...] |
/external/openssh/regress/ |
stderr-data.sh | 1 # $OpenBSD: stderr-data.sh,v 1.2 2002/03/27 22:39:52 markus Exp $ 4 tid="stderr data transfer" 6 DATA=/bin/ls${EXEEXT} 14 exec sh -c \'"exec > /dev/null; sleep 3; cat ${DATA} 1>&2 $s"\' \ 20 cmp ${DATA} ${COPY} || fail "stderr corrupt" 24 exec sh -c \'"echo a; exec > /dev/null; sleep 3; cat ${DATA} 1>&2 $s"\' \ 30 cmp ${DATA} ${COPY} || fail "stderr corrupt"
|
/external/skia/src/image/ |
SkImage_Codec.cpp | 32 SkImage_Codec::SkImage_Codec(SkData* data, int width, int height) : INHERITED(width, height) { 33 fEncodedData = data; 53 SkImage* SkImage::NewEncodedData(SkData* data) { 54 if (NULL == data) { 59 if (!SkImageDecoder::DecodeMemory(data->bytes(), data->size(), &bitmap, 65 return SkNEW_ARGS(SkImage_Codec, (data, bitmap.width(), bitmap.height()));
|