/hardware/invensense/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/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...] |
Encoder.java | 12 int encode(byte[] data, int off, int length, OutputStream out) throws IOException; 14 int decode(byte[] data, int off, int length, OutputStream out) throws IOException; 16 int decode(String data, OutputStream out) throws IOException;
|
/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...] |
eap_ttls.c | 71 struct eap_ttls_data *data; local 75 data = os_zalloc(sizeof(*data)); 76 if (data == NULL) 78 data->ttls_version = EAP_TTLS_VERSION; 80 data->phase2_type = EAP_TTLS_PHASE2_EAP; 85 data->phase2_type = EAP_TTLS_PHASE2_EAP; 88 data->phase2_type = EAP_TTLS_PHASE2_MSCHAPV2; 91 data->phase2_type = EAP_TTLS_PHASE2_MSCHAP; 94 data->phase2_type = EAP_TTLS_PHASE2_PAP 138 struct eap_ttls_data *data = priv; local 1475 struct eap_ttls_data *data = priv; local 1522 struct eap_ttls_data *data = priv; local 1530 struct eap_ttls_data *data = priv; local 1542 struct eap_ttls_data *data = priv; local 1565 struct eap_ttls_data *data = priv; local 1607 struct eap_ttls_data *data = priv; local 1614 struct eap_ttls_data *data = priv; local 1633 struct eap_ttls_data *data = priv; local [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...] |
/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/compiler-rt/lib/tsan/lit_tests/ |
suppress_same_stacks.cc | 5 int **data; variable 9 data[i][0] = 42; 15 data = new int*[N]; 17 data[i] = new int; 23 delete data[i]; 24 delete[] data;
|
/external/icu4c/i18n/ |
utmscale.c | 57 const int64_t *data; local 68 data = (const int64_t *)(&timeScaleTable[timeScale]); 70 if (otherTime < data[UTSV_FROM_MIN_VALUE] || otherTime > data[UTSV_FROM_MAX_VALUE]) { 75 return (otherTime + data[UTSV_EPOCH_OFFSET_VALUE]) * data[UTSV_UNITS_VALUE]; 81 const int64_t *data; local 92 data = (const int64_t *)(&timeScaleTable[timeScale]); 94 if (universalTime < data[UTSV_TO_MIN_VALUE] || universalTime > data[UTSV_TO_MAX_VALUE]) [all...] |
/external/quake/ |
setupdevicesdcard.sh | 3 # Copy Quake's data files from perforce to the Android device's sd card. 26 adb shell mkdir /sdcard/data 27 adb shell mkdir /sdcard/data/quake 28 adb shell mkdir /sdcard/data/quake/id1 30 echo "Copying Quake data files to the device. (This could take several minutes)" 31 adb push $T/external/quake/quake/app/id1 /sdcard/data/quake/id1
|
/external/skia/src/images/ |
SkBitmapFactory.cpp | 16 bool SkBitmapFactory::DecodeBitmap(SkBitmap* dst, const SkData* data, Constraints constraint) { 17 if (NULL == data || data->size() == 0 || dst == NULL) { 21 SkMemoryStream stream(data->data(), data->size());
|
/ndk/sources/cxx-stl/llvm-libc++/test/localization/locale.categories/category.collate/locale.collate.byname/ |
compare.pass.cpp | 37 assert(f.compare(s2.data(), s2.data() + s2.size(), 38 s3.data(), s3.data() + s3.size()) == 1); 44 assert(f.compare(s2.data(), s2.data() + s2.size(), 45 s3.data(), s3.data() + s3.size()) == 1); 54 assert(f.compare(s2.data(), s2.data() + s2.size() [all...] |
/sdk/emulator/opengl/host/libs/GLESv1_dec/ |
gl.addon | 7 GL_ENTRY(void, glVertexPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen) 8 GL_ENTRY(void, glColorPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen) 9 GL_ENTRY(void, glNormalPointerData, GLenum type, GLsizei stride, void * data, GLuint datalen) 10 GL_ENTRY(void, glTexCoordPointerData, GLint size, GLenum type, GLsizei stride, void * data, GLuint datalen) 11 GL_ENTRY(void, glPointSizePointerData, GLenum type, GLsizei stride, void * data, GLuint datalen) 14 GL_ENTRY(void, glDrawElementsData, GLenum mode, GLsizei count, GLenum type, void *data, GLuint datalen);
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_ttls.c | 68 static void eap_ttls_state(struct eap_ttls_data *data, int state) 71 eap_ttls_state_txt(data->state), 73 data->state = state; 127 * it. All the other pointers are pointing to the packet data, i.e., 196 wpa_hexdump(MSG_DEBUG, "EAP-TTLS: AVP data", dpos, dlen); 205 "for Phase 2 EAP data"); 216 "for Phase 2 EAP data"); 303 struct eap_ttls_data *data, size_t len) 305 return eap_server_tls_derive_key(sm, &data->ssl, "ttls challenge", 312 struct eap_ttls_data *data; local 332 struct eap_ttls_data *data = priv; local 438 struct eap_ttls_data *data = priv; local 1067 struct eap_ttls_data *data = priv; local 1082 struct eap_ttls_data *data = priv; local 1125 struct eap_ttls_data *data = priv; local 1135 struct eap_ttls_data *data = priv; local 1142 struct eap_ttls_data *data = priv; local 1165 struct eap_ttls_data *data = priv; local [all...] |
/frameworks/native/libs/gui/ |
IGraphicBufferProducer.cpp | 55 Parcel data, reply; local 56 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); 57 data.writeInt32(bufferIdx); 58 status_t result =remote()->transact(REQUEST_BUFFER, data, &reply); 73 Parcel data, reply; local 74 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()); 75 data.writeInt32(bufferCount); 76 status_t result =remote()->transact(SET_BUFFER_COUNT, data, &reply); 86 Parcel data, reply; local 87 data.writeInterfaceToken(IGraphicBufferProducer::getInterfaceDescriptor()) 111 Parcel data, reply; local 125 Parcel data, reply; local 133 Parcel data, reply; local 146 Parcel data, reply; local 158 Parcel data, reply; local 171 Parcel data, reply; local [all...] |
/libcore/luni/src/main/java/java/net/ |
DatagramPacket.java | 21 * This class represents a datagram packet which contains data either to be sent 29 private byte[] data; field in class:DatagramPacket 32 * Length of the data to be sent or size of data that was received via 40 * It's used to limit the amount of data that will be taken from future packets. 51 * Constructs a new {@code DatagramPacket} object to receive data up to 54 * @param data 57 * the length of the data buffer. 59 public DatagramPacket(byte[] data, int length) { 60 this(data, 0, length) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowTypedValue.java | 27 return Float.intBitsToFloat(typedValue.data); 47 public static float complexToDimension(int data, DisplayMetrics metrics) 50 (data>>COMPLEX_UNIT_SHIFT)&COMPLEX_UNIT_MASK, 51 complexToFloat(data), 56 public static int complexToDimensionPixelOffset(int data, 60 (data>>COMPLEX_UNIT_SHIFT)&COMPLEX_UNIT_MASK, 61 complexToFloat(data), 66 public static int complexToDimensionPixelSize(int data, 69 final float value = complexToFloat(data); 71 (data>>COMPLEX_UNIT_SHIFT)&COMPLEX_UNIT_MASK [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Socket.java | 35 /** Endianness of data transferred in this connection. */ 48 * @param endian Endianness of data transferred in this connection. 76 * Gets endianness of data transferred via this socket. 78 * @return Endianness of data transferred via this socket. 85 * Sends data to the socket. 87 * @param data Data to send. Data size is defined by the length of the 91 public void send(byte[] data) throws IOException { 94 // of data transfer - it's OK, since it will produce an exception, an [all...] |
/external/iptables/extensions/ |
libxt_ipvs.c | 68 struct xt_ipvs_mtinfo *data = cb->data; local 73 data->l4proto = cb->val.protocol; 76 memcpy(&data->vaddr, &cb->val.haddr, sizeof(cb->val.haddr)); 77 memcpy(&data->vmask, &cb->val.hmask, sizeof(cb->val.hmask)); 81 data->bitmask |= XT_IPVS_DIR; 82 data->invert &= ~XT_IPVS_DIR; 84 data->bitmask |= XT_IPVS_DIR; 85 data->invert |= XT_IPVS_DIR; 93 data->fwd_method = IP_VS_CONN_F_DROUTE 227 const struct xt_ipvs_mtinfo *data = (const void *)match->data; local 234 const struct xt_ipvs_mtinfo *data = (const void *)match->data; local 240 const struct xt_ipvs_mtinfo *data = (const void *)match->data; local 246 const struct xt_ipvs_mtinfo *data = (const void *)match->data; local [all...] |