Searched refs:data (Results 101 - 125 of 135) sorted by relevance

123456

/system/core/adb/
H A Dadb_auth_host.c381 int adb_auth_get_userkey(unsigned char *data, size_t len) argument
405 memcpy(data, file, ret);
406 data[ret] = '\0';
H A Djdwp_service.c429 ** we do implement a custom asocket to receive the data
591 p->len = jdwp_process_list((char*)p->data, MAX_PAYLOAD);
647 memcpy(p->data, buffer, len);
680 p->len = jdwp_process_list_msg((char*)p->data, sizeof(p->data));
H A Dcommandline.c127 " ('-r' means reinstall the app, keeping its data)\n"
131 " ('-k' means keep the data and cache directories)\n"
136 " - write an archive of the device's data to <file>.\n"
137 " If no -f option is supplied then the data is written\n"
181 " - If <directory> is not specified, both /system and /data partitions will be updated.\n"
183 " - If it is \"system\" or \"data\", only the corresponding partition\n"
374 int adb_download_buffer(const char *service, const void* data, int sz, argument
393 ptr = data;
404 fprintf(stderr,"* failed to write data '%s' *\n", adb_error());
437 void *data; local
[all...]
H A Dfdevent.c132 ev.data.ptr = fde;
148 ev.data.ptr = fde;
167 ev.data.ptr = fde;
220 fde = ev->data.ptr;
559 // If there is data left, it will show up in the select().
561 // data when in this fd_func().
H A Dtransport.c132 dump_hex(p->data, len);
221 x = (unsigned char *) p->data;
273 D("%s: data pump started\n", t->serial);
445 memcpy(p->data, buffer, len);
566 static void transport_registration_func(int _fd, unsigned ev, void *data) argument
1175 x = p->data;
/system/core/libcutils/
H A Dhashmap.c157 char* data = (char*) key; local
160 h = h * 31 + *data;
161 data++;
/system/extras/tests/sdcard/
H A Dsdcard_perf_test.cpp56 // write: Open a file write some random data and close.
67 // Use --dump to also get the raw data.
74 // adb shell /system/bin/sdcard_perf_test --test=read --size=1000 --chunk-size=100 --procnb=1 --iterations=10 --dump > /tmp/data.txt
75 // adb shell /system/bin/sdcard_perf_test --test=write --size=1000 --chunk-size=100 --procnb=1 --iterations=100 --dump > /tmp/data.txt
132 " -s --size: Size in kbytes of the data.\n"
493 char *data = new char[chunk_size]; local
495 memset(data, 0xaa, chunk_size);
503 if (!writeData(data, i, testCase))
509 delete [] data;
/system/core/libdiskconfig/
H A Dconfig_mbr.c94 pentry = (struct pc_partition *) &item->data;
154 * lba counter since that is where the logical data partition will start */
158 ebr = (struct pc_boot_record *) &item->data;
/system/core/libpixelflinger/
H A Draster.cpp106 uint8_t* src = reinterpret_cast<uint8_t*>(cb->data)
108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data)
H A Dscanline.cpp859 uint16_t* p = (uint16_t*)(cb->data)+(x+(cb->stride*y));
951 m_src = reinterpret_cast<uint32_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
968 m_src = reinterpret_cast<uint16_t*>(tx.surface.data)+(u+(tx.surface.stride*v));
992 m_data = tx.surface.data;
1079 m_data = tx.surface.data;
1420 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y));
1720 gen.data = int32_t(t.surface.data);
2080 dst = reinterpret_cast<uint16_t*>(cb->data) + (x+(cb->stride*y));
2119 dst = reinterpret_cast<uint16_t*>(cb->data)
[all...]
/system/core/libzipfile/
H A Dcentraldir.c145 // the size of the extraField in the central dir is how much data there is,
152 entry->data = file->buf + dataOffset;
154 printf("file->buf=%p entry->data=%p dataOffset=%x localHeaderRelOffset=%d "
156 file->buf, entry->data, dataOffset, localHeaderRelOffset,
/system/core/toolbox/
H A Dmount.c146 do_mount(char *dev, char *dir, char *type, unsigned long rwflag, void *data, int loop, argument
183 if (mount(dev, dir, s, rwflag, data) == -1) {
/system/extras/tests/ext4/
H A Dandroid_emmc_perf_tests.sh80 adb shell umount /data >/dev/null 2>&1
111 # Megabytes of data, and subsequent reads are nearly instantaneous. Since
/system/netd/
H A DDnsProxyListener.cpp64 // Sends 4 bytes of big-endian length, followed by the data.
66 static bool sendLenAndData(SocketClient *c, const int len, const void* data) { argument
69 (len == 0 || c->sendData(data, len) == 0);
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c136 if (mi && mi->data) {
137 const map_info_data_t* data = (const map_info_data_t*)mi->data; local
138 exidx_start = data->exidx_start;
139 exidx_size = data->exidx_size;
185 handler = entry_handler_ptr; // in-place handler data
269 * The data for the built-in personality routines consists of a sequence
/system/extras/tests/iptables/qtaguid/
H A DsocketTag.cpp77 int writeModuleParam(const char *param, const char *data) { argument
88 res = write(param_fd, data, strlen(data));
/system/security/softkeymaster/
H A Dkeymaster_openssl.cpp105 /* int type + int size + private key data + int size + public key data */
324 ALOGE("Could not allocate memory for public key data");
334 ALOGV("Length of x509 data is %d", len);
344 const uint8_t* data, const size_t dataLength,
351 if (data == NULL) {
352 ALOGW("input data to sign == NULL");
391 if (RSA_private_encrypt(dataLength, data, tmp, rsa.get(), RSA_NO_PADDING) <= 0) {
408 ALOGW("data or signature buffers == NULL");
430 ALOGW("signed data lengt
341 openssl_sign_data(const keymaster_device_t* dev, const void* params, const uint8_t* keyBlob, const size_t keyBlobLength, const uint8_t* data, const size_t dataLength, uint8_t** signedData, size_t* signedDataLength) argument
[all...]
/system/core/init/
H A Ddevices.c707 char *root, *loading, *data, *file1 = NULL, *file2 = NULL, *file3 = NULL; local
722 l = asprintf(&data, "%sdata", root);
742 data_fd = open(data, O_WRONLY);
782 free(data);
H A Dinit.c721 /* read any property files on system or data and
724 * that /data/local.prop cannot interfere with them.
777 { SELABEL_OPT_PATH, "/data/system/property_contexts" },
828 int audit_callback(void *data, security_class_t cls, char *buf, size_t len) argument
830 snprintf(buf, len, "property=%s", !data ? "NULL" : (char *)data);
939 action_for_each_trigger("post-fs-data", action_add_queue_tail);
/system/security/keystore/
H A Dtest-keystore57 run adb shell ls -al /data/misc/keystore
/system/core/cpio/
H A Dmkbootfs.c85 static void _eject(struct stat *s, char *out, int olen, char *data, unsigned datasize) argument
130 fwrite(data, datasize, 1, stdout);
/system/core/rootdir/
H A DAndroid.mk81 data \
/system/core/charger/
H A Dcharger.c515 static int uevent_callback(int fd, short revents, void *data) argument
517 struct charger *charger = data;
758 static int set_key_callback(int code, int value, void *data) argument
760 struct charger *charger = data;
894 static int input_callback(int fd, short revents, void *data) argument
896 struct charger *charger = data;
/system/extras/ext4_utils/
H A Dsha1.c18 #define SHA1HANDSOFF /* Copies data before messing with it. */
215 * Run your data through this.
217 void SHA1Update(context, data, len)
219 const u_char *data;
225 assert(data != 0);
232 (void)memcpy(&context->buffer[j], data, (i = 64-j));
235 SHA1Transform(context->state, &data[i]);
240 (void)memcpy(&context->buffer[j], &data[i], len - i);
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h1110 uint8_t data[240]; member in struct:__anon100
1117 uint8_t data[240]; member in struct:__anon101
1539 uint8_t data[31]; member in struct:__anon153
1546 uint8_t data[31]; member in struct:__anon154
1670 uint8_t data[16]; member in struct:__anon168
2089 uint8_t data[240]; member in struct:__anon215
2184 uint8_t data[0]; member in struct:__anon228
2211 uint8_t data[0]; member in struct:__anon230
2309 uint8_t data[0]; member in struct:__anon241

Completed in 1115 milliseconds

123456