/external/libsepol/src/ |
policydb_convert.c | 8 /* Construct a policydb from the supplied (data, len) pair */ 11 void *data, size_t len, policydb_t * policydb) 18 pf.data = data; 32 /* Write a policydb to a memory region, and return the (data, len) pair. */ 55 pf.data = malloc(pf.len); 56 if (!pf.data) { 61 /* Need to save len and data prior to modification by policydb_write. */ 63 tmp_data = pf.data; 74 pf.data = tmp_data [all...] |
/external/mockito/src/org/mockito/internal/verification/ |
AtLeast.java | 33 public void verify(VerificationData data) { 38 missingInvocation.check(data.getAllInvocations(), data.getWanted()); 40 numberOfInvocations.check(data.getAllInvocations(), data.getWanted(), wantedCount); 43 public void verifyInOrder(VerificationDataInOrder data) { 44 List<Invocation> allInvocations = data.getAllInvocations(); 45 InvocationMatcher wanted = data.getWanted(); 48 AtLeastXNumberOfInvocationsInOrderChecker numberOfCalls = new AtLeastXNumberOfInvocationsInOrderChecker(data.getOrderingContext()); 51 missingInvocation.check(allInvocations, wanted, this, data.getOrderingContext()) [all...] |
Times.java | 33 public void verify(VerificationData data) { 36 missingInvocation.check(data.getAllInvocations(), data.getWanted()); 39 numberOfInvocations.check(data.getAllInvocations(), data.getWanted(), wantedCount); 42 public void verifyInOrder(VerificationDataInOrder data) { 43 List<Invocation> allInvocations = data.getAllInvocations(); 44 InvocationMatcher wanted = data.getWanted(); 48 missingInvocation.check(allInvocations, wanted, this, data.getOrderingContext()); 51 numberOfCalls.check(allInvocations, wanted, wantedCount, data.getOrderingContext()) [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/ |
AbstractDescriptorBox.java | 36 public ByteBuffer data; field in class:AbstractDescriptorBox 45 data.rewind(); // has been fforwarded by parsing 46 byteBuffer.put(data); 51 return 4 + data.limit(); 62 public void setData(ByteBuffer data) { 63 this.data = data; 69 data = content.slice(); 72 data.rewind(); 73 descriptor = ObjectDescriptorFactory.createFrom(-1, data); [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/piff/ |
ProtectionSpecificHeader.java | 22 ByteBuffer data; field in class:ProtectionSpecificHeader 32 return data.equals(((ProtectionSpecificHeader) obj).data); 58 data = buffer; 63 return data; 70 sb.append("{data="); 71 ByteBuffer data = getData().duplicate(); local 72 data.rewind(); 73 byte[] bytes = new byte[data.limit()]; 74 data.get(bytes) [all...] |
/external/openssl/crypto/des/ |
des3s.cpp | 41 unsigned long data[2]; local 48 des_encrypt3(&data[0],key1,key2,key3); 50 des_encrypt3(&data[0],key1,key2,key3); 51 des_encrypt3(&data[0],key1,key2,key3); 52 des_encrypt3(&data[0],key1,key2,key3); 55 des_encrypt3(&data[0],key1,key2,key3); 56 des_encrypt3(&data[0],key1,key2,key3); 57 des_encrypt3(&data[0],key1,key2,key3); 58 des_encrypt3(&data[0],key1,key2,key3); 60 des_encrypt3(&data[0],key1,key2,key3) [all...] |
dess.cpp | 41 unsigned long data[2]; local 48 des_encrypt1(&data[0],key,1); 50 des_encrypt1(&data[0],key,1); 51 des_encrypt1(&data[0],key,1); 52 des_encrypt1(&data[0],key,1); 55 des_encrypt1(&data[0],key,1); 56 des_encrypt1(&data[0],key,1); 57 des_encrypt1(&data[0],key,1); 58 des_encrypt1(&data[0],key,1); 60 des_encrypt1(&data[0],key,1) [all...] |
/external/webkit/Source/WebKit2/Shared/ |
WebOpenPanelParameters.cpp | 19 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 33 PassRefPtr<WebOpenPanelParameters> WebOpenPanelParameters::create(const Data& data) 35 return adoptRef(new WebOpenPanelParameters(data)); 38 WebOpenPanelParameters::WebOpenPanelParameters(const Data& data) 39 : m_data(data) 47 void WebOpenPanelParameters::Data::encode(CoreIPC::ArgumentEncoder* encoder) const 52 bool WebOpenPanelParameters::Data::decode(CoreIPC::ArgumentDecoder* decoder, Data& result [all...] |
/external/webrtc/src/system_wrappers/interface/ |
sort.h | 34 // Sorts intrinsic data types. 36 // data [in/out] A pointer to an array of intrinsic type. 42 WebRtc_Word32 Sort(void* data, WebRtc_UWord32 numOfElements, Type dataType); 44 // Sorts arbitrary data types. This requires an array of intrinsically typed 45 // key values which will be used to sort the data array. There must be a 46 // one-to-one correspondence between data elements and key elements, with 50 // data [in/out] A pointer to an array of arbitrary type. 53 // data array. 55 // sizeOfElement The size, in bytes, of the data array. 60 WebRtc_Word32 KeySort(void* data, void* key, WebRtc_UWord32 numOfElements [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
Parameters.cpp | 24 sp<Parameters> Parameters::Parse(const char *data, size_t size) { 26 status_t err = params->parse(data, size); 39 status_t Parameters::parse(const char *data, size_t size) { 43 while (i < size && data[i] != ':') { 51 AString name(&data[nameStart], i - nameStart); 59 while (i + 1 < size && (data[i] != '\r' || data[i + 1] != '\n')) { 63 AString value(&data[valueStart], i - valueStart); 68 while (i + 1 < size && data[i] == '\r' && data[i + 1] == '\n') [all...] |
/frameworks/base/docs/html/training/basics/data-storage/ |
index.jd | 1 page.title=Saving Data 2 page.tags="data storage","files","sql","database","preferences" 22 <li><a href="{@docRoot}guide/topics/data/data-storage.html">Storage Options</a></li> 28 <p>Most Android apps need to save data, even if only to save information about the app state 32 principal data storage options in Android, including:</p> 35 <li>Saving key-value pairs of simple data types in a shared preferences 50 <dd>Learn to save a basic file, such as to store long sequences of data that 53 <dt><b><a href="databases.html">Saving Data in SQL Databases</a></b></dt> 54 <dd>Learn to use a SQLite database to read and write structured data.</dd [all...] |
/frameworks/base/drm/java/android/drm/ |
ProcessedData.java | 35 * @param data Rights data. 38 /* package */ ProcessedData(byte[] data, String accountId) { 39 mData = data; 46 * @param data Rights data. 50 /* package */ ProcessedData(byte[] data, String accountId, String subscriptionId) { 51 mData = data; 57 * Retrieves the processed data. 59 * @return The rights data [all...] |
/frameworks/native/libs/utils/ |
JenkinsHash.cpp | 37 uint32_t data = bytes[i] | (bytes[i+1] << 8) | (bytes[i+2] << 16) | (bytes[i+3] << 24); local 38 hash = JenkinsHashMix(hash, data); 41 uint32_t data = bytes[i]; local 42 data |= ((size & 3) > 1) ? (bytes[i+1] << 8) : 0; 43 data |= ((size & 3) > 2) ? (bytes[i+2] << 16) : 0; 44 hash = JenkinsHashMix(hash, data); 53 uint32_t data = shorts[i] | (shorts[i+1] << 16); local 54 hash = JenkinsHashMix(hash, data); 57 uint32_t data = shorts[i]; local 58 hash = JenkinsHashMix(hash, data); [all...] |
/libcore/luni/src/main/java/libcore/io/ |
DropBox.java | 47 public void addData(String tag, byte[] data, int flags); 48 public void addText(String tag, String data); 56 public void addData(String tag, byte[] data, int flags) { 57 System.out.println(tag + ": " + Base64.encode(data)); 60 public void addText(String tag, String data) { 61 System.out.println(tag + ": " + data); 65 public static void addData(String tag, byte[] data, int flags) { 66 getReporter().addData(tag, data, flags); 69 public static void addText(String tag, String data) { 70 getReporter().addText(tag, data); [all...] |
/packages/apps/Nfc/nci/jni/ |
DataQueue.h | 18 * Store data bytes in a variable-size queue. 59 ** Description: Append data to the queue. 60 ** data: array of bytes 61 ** dataLen: length of the data. 66 bool enqueue (UINT8* data, UINT16 dataLen); 73 ** Description: Retrieve and remove data from the front of the queue. 74 ** buffer: array to store the data. 76 ** actualLen: actual length of the data. 98 UINT16 mDataLen; //number of octets of data 99 UINT16 mOffset; //offset of the first octet of data [all...] |
/external/linux-tools-perf/ |
builtin-kmem.c | 27 static char const *input_name = "perf.data"; 124 struct alloc_stat *data = NULL; local 128 data = rb_entry(*node, struct alloc_stat, node); 130 if (ptr > data->ptr) 132 else if (ptr < data->ptr) 138 if (data && data->ptr == ptr) { 139 data->hit++; 140 data->bytes_req += bytes_req; 141 data->bytes_alloc += bytes_alloc 164 struct alloc_stat *data = NULL; local 242 struct alloc_stat *data; local 366 struct alloc_stat *data = rb_entry(next, struct alloc_stat, local 469 struct alloc_stat *data; local [all...] |
/external/webkit/Source/WebCore/rendering/svg/ |
SVGTextQuery.cpp | 37 // Base structure for callback user data 38 struct SVGTextQuery::Data { 39 Data() 108 bool SVGTextQuery::executeQuery(Data* queryData, ProcessTextFragmentCallback fragmentCallback) const 142 bool SVGTextQuery::mapStartEndPositionsIntoFragmentCoordinates(Data* queryData, const SVGTextFragment& fragment, int& startPosition, int& endPosition) const 159 void SVGTextQuery::modifyStartEndPositionsRespectingLigatures(Data* queryData, int& startPosition, int& endPosition) const 236 bool SVGTextQuery::numberOfCharactersCallback(Data*, const SVGTextFragment&) const 247 Data data; 248 executeQuery(&data, &SVGTextQuery::numberOfCharactersCallback) [all...] |
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
HugeAgent.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 57 /** The app's current data, read from the live disk file */ 62 /** The location of the application's persistent data file */ 65 /** For convenience, we set up the File object for the app's data on creation */ 72 * The set of data backed up by this application is very small: just 74 * easiest to simply store a copy of the backed-up data as the stat [all...] |
/cts/suite/audio_quality/lib/src/audio/ |
AudioProtocol.cpp | 36 bool AudioProtocol::handleReply(const uint32_t* data, AudioParam* param) 38 if (!checkHeaderId(data, mCommand)) { 41 if (data[1] != 0) { // no endian change for 0 42 LOGE("error in reply %d", ntohl(data[1])); 45 if (data[2] != 0) { 46 LOGE("payload length %d not zero", ntohl(data[2])); 52 bool AudioProtocol::handleReplyHeader(ClientSocket& socket, uint32_t* data, CommandId& id) 54 if (!socket.readData((char*)data, REPLY_HEADER_SIZE)) { 58 uint32_t command = ntohl(data[0]); 60 LOGE("Wrong header %x %x", command, data[0]) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
Statistics.java | 29 /** {@code non-null;} data about each type of item */ 30 private final HashMap<String, Data> dataMap; 36 dataMap = new HashMap<String, Data>(50); 46 Data data = dataMap.get(typeName); local 48 if (data == null) { 49 dataMap.put(typeName, new Data(item, typeName)); 51 data.add(item); 79 TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
Statistics.java | 29 /** {@code non-null;} data about each type of item */ 30 private final HashMap<String, Data> dataMap; 36 dataMap = new HashMap<String, Data>(50); 46 Data data = dataMap.get(typeName); local 48 if (data == null) { 49 dataMap.put(typeName, new Data(item, typeName)); 51 data.add(item); 79 TreeMap<String, Data> sortedData = new TreeMap<String, Data>(); [all...] |
/development/host/windows/prebuilt/usb/ |
AdbWinApi.a | 6 L .text `.data |