/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/ |
byte_array_table_builder.cc | 24 ReadableFontDataPtr data = InternalReadData(); local 25 if (data == NULL) { 27 throw IOException("No font data for the table"); 31 return data->ReadByte(index); 35 WritableFontDataPtr data = InternalWriteData(); local 36 if (data == NULL) { 38 throw IOException("No font data for the table"); 42 data->WriteByte(index, b); 46 ReadableFontDataPtr data = InternalReadData(); local 47 if (data == NULL) [all...] |
/external/sfntly/cpp/src/sfntly/table/ |
byte_array_table_builder.cc | 24 ReadableFontDataPtr data = InternalReadData(); local 25 if (data == NULL) { 27 throw IOException("No font data for the table"); 31 return data->ReadByte(index); 35 WritableFontDataPtr data = InternalWriteData(); local 36 if (data == NULL) { 38 throw IOException("No font data for the table"); 42 data->WriteByte(index, b); 46 ReadableFontDataPtr data = InternalReadData(); local 47 if (data == NULL) [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
autoscan_periodic.c | 21 static int autoscan_periodic_get_params(struct autoscan_periodic_data *data, 34 data->periodic_interval = interval; 43 struct autoscan_periodic_data *data; local 45 data = os_zalloc(sizeof(struct autoscan_periodic_data)); 46 if (data == NULL) 49 if (autoscan_periodic_get_params(data, params) < 0) { 50 os_free(data); 55 data->periodic_interval); 57 return data; 63 struct autoscan_periodic_data *data = priv local 72 struct autoscan_periodic_data *data = priv; local [all...] |
/external/chromium_org/third_party/leveldatabase/src/util/ |
hash.cc | 18 uint32_t Hash(const char* data, size_t n, uint32_t seed) { 22 const char* limit = data + n; 26 while (data + 4 <= limit) { 27 uint32_t w = DecodeFixed32(data); 28 data += 4; 35 switch (limit - data) { 37 h += data[2] << 16; 40 h += data[1] << 8; 43 h += data[0];
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/ |
UnknownBox.java | 26 * will just hold the box's data. 29 ByteBuffer data; field in class:UnknownBox 37 return data.limit(); 42 data = content; 48 data.rewind(); 49 byteBuffer.put(data); 53 return data; 56 public void setData(ByteBuffer data) { 57 this.data = data; [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/facet.ctype.special/facet.ctype.char.members/ |
scan_is.pass.cpp | 31 assert(f.scan_is(F::space, in.data(), in.data() + in.size()) - in.data() == 0); 32 assert(f.scan_is(F::print, in.data(), in.data() + in.size()) - in.data() == 0); 33 assert(f.scan_is(F::cntrl, in.data(), in.data() + in.size()) - in.data() == 2); 34 assert(f.scan_is(F::upper, in.data(), in.data() + in.size()) - in.data() == 1) [all...] |
scan_not.pass.cpp | 31 assert(f.scan_not(F::space, in.data(), in.data() + in.size()) - in.data() == 1); 32 assert(f.scan_not(F::print, in.data(), in.data() + in.size()) - in.data() == 2); 33 assert(f.scan_not(F::cntrl, in.data(), in.data() + in.size()) - in.data() == 0); 34 assert(f.scan_not(F::upper, in.data(), in.data() + in.size()) - in.data() == 0) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/localization/locale.categories/category.ctype/locale.ctype/locale.ctype.members/ |
scan_is.pass.cpp | 31 assert(f.scan_is(F::space, in.data(), in.data() + in.size()) - in.data() == 0); 32 assert(f.scan_is(F::print, in.data(), in.data() + in.size()) - in.data() == 0); 33 assert(f.scan_is(F::cntrl, in.data(), in.data() + in.size()) - in.data() == 2); 34 assert(f.scan_is(F::upper, in.data(), in.data() + in.size()) - in.data() == 1) [all...] |
scan_not.pass.cpp | 31 assert(f.scan_not(F::space, in.data(), in.data() + in.size()) - in.data() == 1); 32 assert(f.scan_not(F::print, in.data(), in.data() + in.size()) - in.data() == 2); 33 assert(f.scan_not(F::cntrl, in.data(), in.data() + in.size()) - in.data() == 0); 34 assert(f.scan_not(F::upper, in.data(), in.data() + in.size()) - in.data() == 0) [all...] |
/system/core/libcutils/ |
load_file.c | 24 char *data; local 28 data = 0; 37 data = (char*) malloc(sz + 1); 38 if(data == 0) goto oops; 40 if(read(fd, data, sz) != sz) goto oops; 42 data[sz] = 0; 45 return data; 49 if(data != 0) free(data);
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
IntArray.m | 23 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 * This is simple enough that you can access the data array directly, 46 public int[] data; 51 data[++p] = v; 59 int v = data[p]; 74 if ( data==null ) { 75 data = new int[INITIAL_SIZE]; 77 else if ( (index+1)>=data.length ) { 78 int newSize = data.length*2; 83 System.arraycopy(data, 0, newData, 0, data.length) [all...] |
/external/lzma/CPP/7zip/Compress/ |
BranchMisc.cpp | 9 UInt32 CBC_ARM_Encoder::SubFilter(Byte *data, UInt32 size)
10 { return (UInt32)::ARM_Convert(data, size, _bufferPos, 1); }
12 UInt32 CBC_ARM_Decoder::SubFilter(Byte *data, UInt32 size)
13 { return (UInt32)::ARM_Convert(data, size, _bufferPos, 0); }
15 UInt32 CBC_ARMT_Encoder::SubFilter(Byte *data, UInt32 size)
16 { return (UInt32)::ARMT_Convert(data, size, _bufferPos, 1); }
18 UInt32 CBC_ARMT_Decoder::SubFilter(Byte *data, UInt32 size)
19 { return (UInt32)::ARMT_Convert(data, size, _bufferPos, 0); }
21 UInt32 CBC_PPC_Encoder::SubFilter(Byte *data, UInt32 size)
22 { return (UInt32)::PPC_Convert(data, size, _bufferPos, 1); } [all...] |
/external/clang/test/Analysis/ |
malloc-interprocedural.c | 21 void *data; local 22 data = malloc(size); 23 if (data == 0) 25 return data; 33 void *data = 0; local 34 my_malloc1(&data, 4); 35 } // expected-warning {{Potential leak of memory pointed to by 'data'}} 38 void *data = 0; local 39 my_malloc1(&data, 4); 40 my_free1(data); 44 void *data = my_malloc2(1, 4); local 51 void *data = my_malloc2(1, 4); local 58 int *data = (int*)my_malloc2(1, 4); local 66 int *data = (int *)my_malloc2(1, 4); local 73 int *data; local [all...] |
/frameworks/native/services/powermanager/ |
IPowerManager.cpp | 49 Parcel data, reply; local 50 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()); 52 data.writeStrongBinder(lock); 53 data.writeInt32(flags); 54 data.writeString16(tag); 55 data.writeString16(packageName); 56 data.writeInt32(0); // no WorkSource 57 return remote()->transact(ACQUIRE_WAKE_LOCK, data, &reply); 63 Parcel data, reply; local 64 data.writeInterfaceToken(IPowerManager::getInterfaceDescriptor()) 76 Parcel data, reply; local 84 Parcel data, reply; local [all...] |
/frameworks/base/core/java/android/app/ |
ApplicationThreadNative.java | 68 public boolean onTransact(int code, Parcel data, Parcel reply, int flags) 73 data.enforceInterface(IApplicationThread.descriptor); 74 IBinder b = data.readStrongBinder(); 75 boolean finished = data.readInt() != 0; 76 boolean userLeaving = data.readInt() != 0; 77 int configChanges = data.readInt(); 84 data.enforceInterface(IApplicationThread.descriptor); 85 IBinder b = data.readStrongBinder(); 86 boolean show = data.readInt() != 0; 87 int configChanges = data.readInt() 654 Parcel data = Parcel.obtain(); local 667 Parcel data = Parcel.obtain(); local 679 Parcel data = Parcel.obtain(); local 690 Parcel data = Parcel.obtain(); local 701 Parcel data = Parcel.obtain(); local 713 Parcel data = Parcel.obtain(); local 728 Parcel data = Parcel.obtain(); local 759 Parcel data = Parcel.obtain(); local 779 Parcel data = Parcel.obtain(); local 790 Parcel data = Parcel.obtain(); local 803 Parcel data = Parcel.obtain(); local 821 Parcel data = Parcel.obtain(); local 833 Parcel data = Parcel.obtain(); local 844 Parcel data = Parcel.obtain(); local 857 Parcel data = Parcel.obtain(); local 870 Parcel data = Parcel.obtain(); local 881 Parcel data = Parcel.obtain(); local 900 Parcel data = Parcel.obtain(); local 916 Parcel data = Parcel.obtain(); local 952 Parcel data = Parcel.obtain(); local 960 Parcel data = Parcel.obtain(); local 969 Parcel data = Parcel.obtain(); local 979 Parcel data = Parcel.obtain(); local 988 Parcel data = Parcel.obtain(); local 996 Parcel data = Parcel.obtain(); local 1005 Parcel data = Parcel.obtain(); local 1016 Parcel data = Parcel.obtain(); local 1025 Parcel data = Parcel.obtain(); local 1036 Parcel data = Parcel.obtain(); local 1048 Parcel data = Parcel.obtain(); local 1065 Parcel data = Parcel.obtain(); local 1074 Parcel data = Parcel.obtain(); local 1084 Parcel data = Parcel.obtain(); local 1101 Parcel data = Parcel.obtain(); local 1110 Parcel data = Parcel.obtain(); local 1121 Parcel data = Parcel.obtain(); local 1132 Parcel data = Parcel.obtain(); local 1149 Parcel data = Parcel.obtain(); local 1160 Parcel data = Parcel.obtain(); local 1168 Parcel data = Parcel.obtain(); local 1177 Parcel data = Parcel.obtain(); local 1186 Parcel data = Parcel.obtain(); local 1202 Parcel data = Parcel.obtain(); local 1211 Parcel data = Parcel.obtain(); local 1221 Parcel data = Parcel.obtain(); local 1231 Parcel data = Parcel.obtain(); local 1244 Parcel data = Parcel.obtain(); local 1254 Parcel data = Parcel.obtain(); local 1263 Parcel data = Parcel.obtain(); local [all...] |
/external/libexif/libexif/ |
exif-data.c | 1 /* exif-data.c 23 #include <libexif/exif-mnote-data.h> 24 #include <libexif/exif-data.h> 26 #include <libexif/exif-mnote-data-priv.h> 33 #include <libexif/canon/exif-mnote-data-canon.h> 34 #include <libexif/fuji/exif-mnote-data-fuji.h> 35 #include <libexif/olympus/exif-mnote-data-olympus.h> 36 #include <libexif/pentax/exif-mnote-data-pentax.h> 62 /* Temporarily used while loading data */ 70 exif_data_alloc (ExifData *data, unsigned int i 105 ExifData *data; local [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
mlarray.c | 28 * @brief APIs to read different data sets from FIFO. 54 * @param data 74 * @param data 93 * @param data 94 * A pointer to the data to be passed back to the user. 113 * @param data 119 inv_error_t inv_get_rot_mat(long *data) 126 if (NULL == data) { 131 inv_quaternion_to_rotation(qdata, data); 144 * @param data [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_ikev2.c | 73 static void eap_ikev2_state(struct eap_ikev2_data *data, int state) 76 eap_ikev2_state_txt(data->state), 78 data->state = state; 84 struct eap_ikev2_data *data; local 86 data = os_zalloc(sizeof(*data)); 87 if (data == NULL) 89 data->state = MSG; 90 data->fragment_size = sm->fragment_size > 0 ? sm->fragment_size : 92 data->ikev2.state = SA_INIT 126 struct eap_ikev2_data *data = priv; local 214 struct eap_ikev2_data *data = priv; local 347 struct eap_ikev2_data *data = priv; local 462 struct eap_ikev2_data *data = priv; local 469 struct eap_ikev2_data *data = priv; local 477 struct eap_ikev2_data *data = priv; local 495 struct eap_ikev2_data *data = priv; local [all...] |
/hardware/ti/omap4xxx/domx/domx/omx_rpc/inc/ |
omx_rpc_skel.h | 26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; 67 RPC_OMX_ERRORTYPE RPC_SKEL_EmptyBufferDone(void *data); 68 RPC_OMX_ERRORTYPE RPC_SKEL_FillBufferDone(void *data); 69 RPC_OMX_ERRORTYPE RPC_SKEL_EventHandler(void *data); 72 RPC_OMX_ERRORTYPE RPC_SKEL_GetHandle(uint32_t size, uint32_t * data); 74 uint32_t * data); 76 uint32_t * data); 77 RPC_OMX_ERRORTYPE RPC_SKEL_FreeHandle(uint32_t size, uint32_t * data); 79 uint32_t * data); 81 uint32_t * data); [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
TimelineRecordFactory.cpp | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 59 PassRefPtr<JSONObject> TimelineRecordFactory::createBackgroundRecord(double startTime, const String& threadName, const String& type, PassRefPtr<JSONObject> data) 65 record->setObject("data", data ? data : JSONObject::create()); 71 RefPtr<JSONObject> data = JSONObject::create(); local 72 data->setNumber("usedHeapSizeDelta", usedHeapSizeDelta); 73 return data.release(); 78 RefPtr<JSONObject> data = JSONObject::create(); local 79 data->setString("scriptName", scriptName) 86 RefPtr<JSONObject> data = JSONObject::create(); local 93 RefPtr<JSONObject> data = JSONObject::create(); local 100 RefPtr<JSONObject> data = JSONObject::create(); local 109 RefPtr<JSONObject> data = JSONObject::create(); local 117 RefPtr<JSONObject> data = JSONObject::create(); local 124 RefPtr<JSONObject> data = JSONObject::create(); local 132 RefPtr<JSONObject> data = JSONObject::create(); local 139 RefPtr<JSONObject> data = JSONObject::create(); local 146 RefPtr<JSONObject> data = JSONObject::create(); local 155 RefPtr<JSONObject> data = JSONObject::create(); local 164 RefPtr<JSONObject> data = JSONObject::create(); local 174 RefPtr<JSONObject> data = JSONObject::create(); local 182 RefPtr<JSONObject> data = JSONObject::create(); local 191 RefPtr<JSONObject> data = JSONObject::create(); local 198 RefPtr<JSONObject> data = JSONObject::create(); local 205 RefPtr<JSONObject> data = JSONObject::create(); local 212 RefPtr<JSONObject> data = JSONObject::create(); local 219 RefPtr<JSONObject> data = JSONObject::create(); local 226 RefPtr<JSONObject> data = JSONObject::create(); local 249 RefPtr<JSONObject> data = JSONObject::create(); local 262 RefPtr<JSONObject> data = TimelineRecordFactory::createLayerData(layerRootNodeId); local 270 RefPtr<JSONObject> data = JSONObject::create(); local [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_sim.c | 73 static void eap_sim_state(struct eap_sim_data *data, int state) 76 eap_sim_state_txt(data->state), 78 data->state = state; 84 struct eap_sim_data *data; local 87 data = os_zalloc(sizeof(*data)); 88 if (data == NULL) 91 if (random_get_bytes(data->nonce_mt, EAP_SIM_NONCE_MT_LEN)) { 92 wpa_printf(MSG_WARNING, "EAP-SIM: Failed to get random data " 94 os_free(data); 137 struct eap_sim_data *data = priv; local 921 struct eap_sim_data *data = priv; local 1013 struct eap_sim_data *data = priv; local 1020 struct eap_sim_data *data = priv; local 1028 struct eap_sim_data *data = priv; local 1045 struct eap_sim_data *data = priv; local 1063 struct eap_sim_data *data = priv; local 1070 struct eap_sim_data *data = priv; local 1089 struct eap_sim_data *data = priv; local 1112 struct eap_sim_data *data = priv; local [all...] |
eap_pwd.c | 71 static void eap_pwd_state(struct eap_pwd_data *data, int state) 74 eap_pwd_state_txt(data->state), eap_pwd_state_txt(state)); 75 data->state = state; 81 struct eap_pwd_data *data; local 97 if ((data = os_zalloc(sizeof(*data))) == NULL) { 98 wpa_printf(MSG_INFO, "EAP-PWD: memory allocation data fail"); 102 if ((data->bnctx = BN_CTX_new()) == NULL) { 104 os_free(data); 108 if ((data->id_peer = os_malloc(identity_len)) == NULL) 140 struct eap_pwd_data *data = priv; local 165 struct eap_pwd_data *data = priv; local 671 struct eap_pwd_data *data = priv; local 877 struct eap_pwd_data *data = priv; local 884 struct eap_pwd_data *data = priv; local [all...] |
/external/chromium_org/base/android/java/src/org/chromium/base/ |
ImportantFileWriterAndroid.java | 9 * important data files without risking data loss. 17 * This either writes all the data or leaves the file unchanged. 20 * @param data The data to be written to the file 21 * @return true if the data was written to the file, false if not. 23 public static boolean writeFileAtomically(String fileName, byte[] data) { 24 return nativeWriteFileAtomically(fileName, data); 28 String fileName, byte[] data);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
read_checksum_from_png.py | 24 # DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 32 data = filehandle.read(2048) 34 comment_pos = data.find(comment_key) 39 return data[checksum_pos:checksum_pos + 32]
|
/external/chromium_org/third_party/libwebp/utils/ |
quant_levels_dec.c | 20 int DequantizeLevels(uint8_t* const data, int width, int height) { 21 if (data == NULL || width <= 0 || height <= 0) return 0; 22 (void)data;
|