/frameworks/av/camera/ |
ICameraClient.cpp | 45 Parcel data, reply; local 46 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor()); 47 data.writeInt32(msgType); 48 data.writeInt32(ext1); 49 data.writeInt32(ext2); 50 remote()->transact(NOTIFY_CALLBACK, data, &reply, IBinder::FLAG_ONEWAY); 53 // generic data callback from camera service to app with image data 58 Parcel data, reply; local 59 data.writeInterfaceToken(ICameraClient::getInterfaceDescriptor()) 73 Parcel data, reply; local [all...] |
/frameworks/base/core/java/android/os/ |
ServiceManagerNative.java | 52 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) 57 data.enforceInterface(IServiceManager.descriptor); 58 String name = data.readString(); 65 data.enforceInterface(IServiceManager.descriptor); 66 String name = data.readString(); 73 data.enforceInterface(IServiceManager.descriptor); 74 String name = data.readString(); 75 IBinder service = data.readStrongBinder(); 76 boolean allowIsolated = data.readInt() != 0; 82 data.enforceInterface(IServiceManager.descriptor) 119 Parcel data = Parcel.obtain(); local 131 Parcel data = Parcel.obtain(); local 144 Parcel data = Parcel.obtain(); local 159 Parcel data = Parcel.obtain(); local 186 Parcel data = Parcel.obtain(); local [all...] |
/frameworks/base/services/common_time/ |
common_time_server_packets.cpp | 44 *((type*)(data + offset)) = converter(field_name); \ 55 field_name = converter(*((type*)(data + offset))); \ 78 ssize_t TimeServicePacketHeader::serializeHeader(uint8_t* data, 90 ssize_t TimeServicePacketHeader::deserializeHeader(const uint8_t* data, 103 ssize_t TimeServicePacketHeader::serializePacket(uint8_t* data, 107 ret = serializeHeader(data, length); 111 data += ret; 116 tmp =((WhoIsMasterRequestPacket*)(this))->serializePacket(data, 120 tmp =((WhoIsMasterResponsePacket*)(this))->serializePacket(data, 124 tmp =((SyncRequestPacket*)(this))->serializePacket(data, length) [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
storage_manager.c | 10 * @brief Motion Library - Stores Data for functions. 28 typedef inv_error_t (*load_func_t)(const unsigned char *data); 29 typedef inv_error_t (*save_func_t)(unsigned char *data); 41 size_t total_size; /**< Size in bytes to store non volatile data */ 42 load_func_t load[NUM_STORAGE_BOXES]; /**< Callback to load data */ 43 save_func_t save[NUM_STORAGE_BOXES]; /**< Callback to save data */ 56 /** Used to register your mechanism to load and store non-volative data. This should typical be 58 * @param[in] load_func function pointer you will use to receive data that was stored for you. 59 * @param[in] save_func function pointer you will use to save any data you want saved to 61 * @param[in] size The size in bytes of the amount of data you want loaded and saved [all...] |
/external/e2fsprogs/lib/ext2fs/ |
undo_io.c | 2 * undo_io.c --- This is the undo io manager that copies the old data that 3 * copies the old data being overwritten into a tdb database 77 int count, void *data); 79 int count, const void *data); 82 int size, const void *data); 134 struct undo_private_data *data; local 138 data = (struct undo_private_data *) undo_channel->private_data; 139 channel = data->real; 200 struct undo_private_data *data; local 205 data = (struct undo_private_data *) channel->private_data 345 struct undo_private_data *data = NULL; local 412 struct undo_private_data *data; local 439 struct undo_private_data *data; local 462 struct undo_private_data *data; local 477 struct undo_private_data *data; local 498 struct undo_private_data *data; local 532 struct undo_private_data *data; local 548 struct undo_private_data *data; local [all...] |
/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; 42 return data; 48 struct eap_psk_data *data = priv; local 49 os_free(data->id_p); 50 os_free(data); 55 struct eap_psk_data *data, u8 id 158 struct eap_psk_data *data = priv; local 177 struct eap_psk_data *data = priv; local 412 struct eap_psk_data *data = priv; local 440 struct eap_psk_data *data = priv; local 447 struct eap_psk_data *data = priv; local 465 struct eap_psk_data *data = priv; local 483 struct eap_psk_data *data = priv; local [all...] |
/external/v8/src/ia32/ |
disasm-ia32.cc | 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 335 static void get_modrm(byte data, int* mod, int* regop, int* rm) { 336 *mod = (data >> 6) & 3; 337 *regop = (data & 0x38) >> 3; 338 *rm = data & 7; 342 static void get_sib(byte data, int* scale, int* index, int* base) { 343 *scale = (data >> 6) & 3; 344 *index = (data >> 3) & 7; 345 *base = data & 7; 354 int PrintOperands(const char* mnem, OperandOrder op_order, byte* data); 881 byte* data = instr; local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
Base64Encoder.java | 51 * encode the input data producing a base 64 output stream. 56 byte[] data, 68 a1 = data[i] & 0xff; 69 a2 = data[i + 1] & 0xff; 70 a3 = data[i + 2] & 0xff; 89 d1 = data[off + dataLength] & 0xff; 99 d1 = data[off + dataLength] & 0xff; 100 d2 = data[off + dataLength + 1] & 0xff; 123 * decode the base 64 encoded byte data writing it to the given output stream, 129 byte[] data, [all...] |
/external/chromium_org/third_party/libxml/src/ |
list.c | 35 void *data; member in struct:_xmlLink 70 * @data0: first data 71 * @data1: second data 73 * Compares two arbitrary data 91 * @data: a data 93 * Search data in the ordered list walking from the beginning 95 * Returns the link containing the data or NULL 98 xmlListLowerSearch(xmlListPtr l, void *data) 104 for(lk = l->sentinel->next;lk != l->sentinel && l->linkCompare(lk->data, data) <0 ;lk = lk->next) [all...] |
/external/elfutils/src/ |
xelf.h | 76 # define xelf_getsym(data, idx, name) \ 77 name = &((Elf32_Sym *) (data)->d_buf)[idx] 78 # define xelf_getsym_ptr(data, idx, name) \ 79 name = &((Elf32_Sym *) (data)->d_buf)[idx] 80 # define xelf_getsymshndx(data, ndxdata, idx, name1, name2) \ 81 (name1 = &((Elf32_Sym *) ((data)->d_buf))[idx]); \ 84 # define xelf_update_sym(data, idx, sym) \ 85 /* nothing */ ((void) (data), (void) (idx), (void) (sym), 1) 86 # define xelf_update_symshndx(data, ndxdata, idx, name1, name2, datachanged) \ 88 ((Elf32_Sym *) ((data)->d_buf))[idx] = *name1; [all...] |
/external/libxml2/ |
list.c | 35 void *data; member in struct:_xmlLink 70 * @data0: first data 71 * @data1: second data 73 * Compares two arbitrary data 91 * @data: a data 93 * Search data in the ordered list walking from the beginning 95 * Returns the link containing the data or NULL 98 xmlListLowerSearch(xmlListPtr l, void *data) 104 for(lk = l->sentinel->next;lk != l->sentinel && l->linkCompare(lk->data, data) <0 ;lk = lk->next) [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_wsc.c | 53 static void eap_wsc_state(struct eap_wsc_data *data, int state) 56 eap_wsc_state_txt(data->state), 58 data->state = state; 142 struct eap_wsc_data *data; local 174 data = os_zalloc(sizeof(*data)); 175 if (data == NULL) 177 data->state = registrar ? MESG : WAIT_START; 178 data->registrar = registrar; 179 data->wps_ctx = wps 265 struct eap_wsc_data *data = priv; local 407 struct eap_wsc_data *data = priv; local [all...] |
/hardware/akm/AK8975_FS/akmdfs/ |
AK8975Driver.c | 62 Writes data to a register of the AK8975. When more than one byte of data is 63 specified, the data is written in contiguous locations starting at an address 67 @param[in] address Specify the address of a register in which data is to be 69 @param[in] data Specify data to write or a pointer to a data array containing 70 the data. When specifying more than one byte of data, specify the starting 73 data to write. When a pointer to an array is specified in data, this argumen [all...] |
/external/chromium_org/remoting/base/ |
typed_buffer_unittest.cc | 12 struct Data { 14 int data[1]; member in struct:remoting::__anon12098::Data 21 TypedBuffer<Data> buffer; 29 TypedBuffer<Data> buffer(0); 37 TypedBuffer<Data> buffer(sizeof(int) * 10); 43 (*buffer).data[9] = 0x12345678; 46 EXPECT_EQ(buffer->data[9], 0x12345678); 51 TypedBuffer<Data> left; 52 TypedBuffer<Data> right(sizeof(int)); 59 Data* raw_ptr = right.get() [all...] |
/external/smack/src/org/xbill/DNS/ |
TCPClient.java | 42 send(byte [] data) throws IOException { 44 verboseLog("TCP write", data); 46 lengthArray[0] = (byte)(data.length >>> 8); 47 lengthArray[1] = (byte)(data.length & 0xFF); 50 buffers[1] = ByteBuffer.wrap(data); 54 while (nsent < data.length + 2) { 60 if (nsent < data.length + 2 && 77 byte [] data = new byte[length]; 78 ByteBuffer buffer = ByteBuffer.wrap(data); 98 return data; [all...] |
/frameworks/av/media/libmedia/ |
IMediaPlayerClient.cpp | 40 Parcel data, reply; local 41 data.writeInterfaceToken(IMediaPlayerClient::getInterfaceDescriptor()); 42 data.writeInt32(msg); 43 data.writeInt32(ext1); 44 data.writeInt32(ext2); 46 data.appendFrom(const_cast<Parcel *>(obj), 0, obj->dataSize()); 48 remote()->transact(NOTIFY, data, &reply, IBinder::FLAG_ONEWAY); 57 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 61 CHECK_INTERFACE(IMediaPlayerClient, data, reply); 62 int msg = data.readInt32() [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
native_frame.h | 25 // A NativeFrame stores data in a memory buffer (on the heap). It is used for 26 // data processing on the CPU. 34 // Set the frame data and size in bytes. The NativeFrame object takes ownership of the data. 35 // To copy data into an existing frame, use WriteData(). 36 bool SetData(uint8_t* data, int size); 38 // Write the specified data of the given size to the frame at the specified offset. The 39 // receiver must be large enough to hold the data. 40 bool WriteData(const uint8_t* data, int offset, int size); 42 // Returns a pointer to the data, or NULL if no data was set [all...] |
/external/chromium_org/content/renderer/pepper/ |
url_request_info_util.cc | 84 // Checks that the request data is valid. Returns false on failure. Note that 87 bool ValidateURLRequestData(const ppapi::URLRequestInfoData& data) { 88 if (data.prefetch_buffer_lower_threshold < 0 || 89 data.prefetch_buffer_upper_threshold < 0 || 90 data.prefetch_buffer_upper_threshold <= 91 data.prefetch_buffer_lower_threshold) { 97 // Ensures that the file_ref members of the given request info data are 99 bool EnsureFileRefObjectsPopulated(ppapi::URLRequestInfoData* data) { 102 for (size_t i = 0; i < data->body.size(); ++i) { 103 URLRequestInfoData::BodyItem& item = data->body[i] [all...] |
/external/chromium_org/ui/base/resource/ |
data_pack_unittest.cc | 33 // Load the file through the data pack API. 37 base::StringPiece data; local 39 ASSERT_TRUE(pack.GetStringPiece(4, &data)); 40 EXPECT_EQ("this is id 4", data); 42 ASSERT_TRUE(pack.GetStringPiece(6, &data)); 43 EXPECT_EQ("this is id 6", data); 45 // Try reading zero-length data blobs, just in case. 46 ASSERT_TRUE(pack.GetStringPiece(1, &data)); 47 EXPECT_EQ(0U, data.length()); 48 ASSERT_TRUE(pack.GetStringPiece(10, &data)); 75 base::StringPiece data; local 137 base::StringPiece data; local [all...] |
/frameworks/compile/mclinker/unittests/ |
FactoriesTest.cpp | 60 node->data = (int*)malloc(sizeof(int)); 61 *(node->data) = i; 65 NodeAlloc::iterator data = m_pNodeAlloc->begin(); local 67 for (; data!=dEnd; ++data) { 68 ASSERT_EQ(counter, *(*data).data ); 69 free((*data).data); 70 (*data).data = 0 86 NodeAlloc::iterator data = m_pNodeAlloc->begin(); local 108 NodeAlloc::iterator data = m_pNodeAlloc->begin(); local 144 NodeAlloc::iterator data = m_pNodeAlloc->begin(); local [all...] |
/external/chromium_org/chrome/browser/performance_monitor/ |
event.cc | 13 scoped_ptr<base::DictionaryValue> data) 14 : type_(type), time_(time), data_(data.release()) { 20 scoped_ptr<Event> Event::FromValue(scoped_ptr<base::DictionaryValue> data) { 22 if (!data->GetInteger(std::string("eventType"), &type)) 25 if (!data->GetDouble(std::string("time"), &time)) 29 data.Pass()));
|
/external/chromium_org/chrome/test/functional.DEPS/ |
DEPS | 4 'src/chrome/test/data': '/trunk/src/chrome/test/data', 7 'src/content/test/data': '/trunk/src/content/test/data', 8 'src/net/data/ssl/certificates': '/trunk/src/net/data/ssl/certificates',
|
/external/chromium_org/media/base/ |
data_buffer_unittest.cc | 13 // eliminates clients from worrying about null data pointers. 15 EXPECT_TRUE(buffer->data()); 24 EXPECT_TRUE(buffer->data()); 31 // Data should be passed and both data and buffer size should be set. 33 scoped_ptr<uint8[]> data(new uint8[kSize]); 34 const uint8* kData = data.get(); 36 scoped_refptr<DataBuffer> buffer = new DataBuffer(data.Pass(), kSize); 37 EXPECT_TRUE(buffer->data()); 39 EXPECT_EQ(kData, buffer->data()); 104 uint8* data = buffer->writable_data(); local [all...] |
/external/chromium_org/net/quic/ |
quic_data_writer_test.cc | 22 char* data = writer.take(); local 24 EXPECT_EQ(1, data[0]); 25 EXPECT_EQ(2, data[1]); 26 EXPECT_EQ(3, data[2]); 27 EXPECT_EQ(4, data[3]); 29 delete[] data;
|
/external/chromium_org/third_party/icu/build/ |
icudt.mak | 4 @nmake /nologo /f $(ProjectDir)\..\source\data\makedata.mak ICUMAKE=$(ProjectDir)\..\source\data CFG=$(ConfigurationName) datalib 8 @nmake /nologo /f $(ProjectDir)\..\source\data\makedata.mak ICUMAKE=$(ProjectDir)\..\source\data CFG=$(ConfigurationName) clean datalib 12 @nmake /nologo /f $(ProjectDir)\..\source\data\makedata.mak ICUMAKE=$(ProjectDir)\..\source\data CFG=$(ConfigurationName) clean
|