/external/chromium_org/third_party/skia/src/core/ |
SkBBoxHierarchy.h | 18 * by SkBBoxHierarchy that require intrinsic knowledge of the data 27 * Must returns true if 'data' points to an object that should be re-wound 30 virtual bool shouldRewind(void* data) = 0; 34 * Interface for a spatial data structure that associates user data pointers with axis-aligned 44 * Insert a data pointer and corresponding bounding box 45 * @param data The data pointer, may be NULL 48 * an entire spatial data structure at once is often faster and produces better 52 virtual void insert(void* data, const SkIRect& bounds, bool defer = false) = 0 [all...] |
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data_unittest.cc | 21 OSExchangeData data; local 23 data.SetString(input); 25 OSExchangeData data2(data.provider().Clone()); 33 // No URLs in |data|, so url should be untouched. 38 OSExchangeData data; local 42 data.SetURL(url, url_title); 45 OSExchangeData data2(data.provider().Clone()); 67 OSExchangeData data; local 68 data.SetPickledData(kTestFormat, saved_pickle); 70 OSExchangeData copy(data.provider().Clone()) 84 OSExchangeData data; local [all...] |
/external/clang/test/Analysis/ |
simple-stream-checks.c | 5 void checkDoubleFClose(int *Data) { 9 if (!Data) 12 fputc(*Data, F); 17 int checkLeak(int *Data) { 23 if (Data) // expected-warning {{Opened file is never closed; potential resource leak}} 24 return *Data; 29 void checkLeakFollowedByAssert(int *Data) { 33 if (!Data) 46 void leakOnEnfOfPath1(int *Data) { 50 void leakOnEnfOfPath2(int *Data) { [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/ |
Connector.java | 26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 39 * and receiving of data. As opposed to the Kernel, this will 40 * only ever receive data from one Endpoint and so bypasses 60 * Returns true if there is currently data available for 68 * Reads a chunk of data from the connection, blocking if 69 * there is no data available. The buffer may only be valid 71 * the data if they need it for longer than that. 73 * @return The data read or null if there is no more data 79 * Writes a chunk of data to the connection from data.position( [all...] |
/external/jsilver/src/com/google/clearsilver/jsilver/data/ |
UnmodifiableData.java | 17 package com.google.clearsilver.jsilver.data; 24 * Data wrapper that prevents modifying the delegated Data node or its tree. 28 private static final String MODIFICATION_ERROR_MSG = "Cannot modify this Data object."; 30 public UnmodifiableData(Data delegate) { 35 protected DelegatedData newInstance(Data newDelegate) { 40 public void copy(Data from) { 45 public void copy(String toPath, Data from) { 54 public Data createChild(String path) { 56 Data child = getChild(path) [all...] |
/external/qemu/distrib/sdl-1.2.15/docs/man3/ |
SDL_AudioCVT.3 | 22 .SH "STRUCTURE DATA" 58 The \fBSDL_AudioCVT\fR is used to convert audio data between different formats\&. A \fBSDL_AudioCVT\fR structure is created with the \fI\fBSDL_BuildAudioCVT\fP\fR function, while the actual conversion is done by the \fI\fBSDL_ConvertAudio\fP\fR function\&. 61 .IP "\fBUint8 *\fP\fBbuf\fR" 10This points to the audio data that will be used in the conversion\&. It is both the source and the destination, which means the converted audio data overwrites the original data\&. It also means that the converted data may be larger than the original data (if you were converting from 8-bit to 16-bit, for instance), so you must ensure \fBbuf\fR is large enough\&. See below\&. 62 .IP "\fBint\fP \fBlen\fR" 10This is the length of the original audio data in bytes\&. 63 .IP "\fBint\fP \fBlen_mult\fR" 10As explained above, the audio buffer needs to be big enough to store the converted data, which may be bigger than the original audio data\&. The length of \fBbuf\fR should be \fBlen\fR*\fBlen_mult\fR\& [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
bitmap_glyph.cc | 28 CALLER_ATTACH BitmapGlyph* BitmapGlyph::CreateGlyph(ReadableFontData* data, 32 builder.Attach(Builder::CreateGlyphBuilder(data, format)); 39 BitmapGlyph::BitmapGlyph(ReadableFontData* data, int32_t format) 40 : SubTable(data), format_(format) { 50 BitmapGlyph::Builder::CreateGlyphBuilder(ReadableFontData* data, 61 builder = new SimpleBitmapGlyph::Builder(data, format); 65 builder = new CompositeBitmapGlyph::Builder(data, format); 71 BitmapGlyph::Builder::Builder(WritableFontData* data, int32_t format) 72 : SubTable::Builder(data), format_(format) { 75 BitmapGlyph::Builder::Builder(ReadableFontData* data, int32_t format [all...] |
/external/skia/gm/ |
gradientDirtyLaundry.cpp | 38 static SkShader* MakeLinear(const SkPoint pts[2], const GradData& data, 40 return SkGradientShader::CreateLinear(pts, data.fColors, data.fPos, 41 data.fCount, tm, mapper); 44 static SkShader* MakeRadial(const SkPoint pts[2], const GradData& data, 49 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, 50 data.fPos, data.fCount, tm, mapper); 53 static SkShader* MakeSweep(const SkPoint pts[2], const GradData& data, 58 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors [all...] |
/external/skia/src/core/ |
SkBBoxHierarchy.h | 18 * by SkBBoxHierarchy that require intrinsic knowledge of the data 27 * Must returns true if 'data' points to an object that should be re-wound 30 virtual bool shouldRewind(void* data) = 0; 34 * Interface for a spatial data structure that associates user data pointers with axis-aligned 44 * Insert a data pointer and corresponding bounding box 45 * @param data The data pointer, may be NULL 48 * an entire spatial data structure at once is often faster and produces better 52 virtual void insert(void* data, const SkIRect& bounds, bool defer = false) = 0 [all...] |
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/ |
DataListener.java | 21 import org.jivesoftware.smackx.bytestreams.ibb.packet.Data;
24 * DataListener handles all In-Band Bytestream IQ stanzas containing a data
27 * If a data packet is received it looks if a stored In-Band Bytestream session
31 * Data packets belonging to a running In-Band Bytestream session are processed
42 /* packet filter for all In-Band Bytestream data packets */
44 new PacketTypeFilter(Data.class));
56 Data data = (Data) packet;
local 58 data.getDataPacketExtension().getSessionID()); [all...] |
/frameworks/native/libs/binder/ |
IPermissionController.cpp | 42 Parcel data, reply; local 43 data.writeInterfaceToken(IPermissionController::getInterfaceDescriptor()); 44 data.writeString16(permission); 45 data.writeInt32(pid); 46 data.writeInt32(uid); 47 remote()->transact(CHECK_PERMISSION_TRANSACTION, data, &reply); 59 uint32_t code, const Parcel& data, Parcel* reply, uint32_t flags) 61 //printf("PermissionController received: "); data.print(); 64 CHECK_INTERFACE(IPermissionController, data, reply); 65 String16 permission = data.readString16() [all...] |
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
CursorPhotoSource.java | 48 ImageData data = null; local 50 data = unpackImageData(current.cursor, null); 51 data.cursor = current.cursor; 52 data.position = current.cursor.getPosition(); 54 return data; 65 ImageData data = null; local 67 data = unpackImageData(current.cursor, null); 68 data.cursor = current.cursor; 69 data.position = current.cursor.getPosition(); 71 return data; [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
LocaleICUTest.cpp | 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 142 return os << labels.toString().utf8().data(); 156 EXPECT_STREQ("MMMM yyyy", monthFormat("en_US").utf8().data()); 157 EXPECT_STREQ("MMMM yyyy", monthFormat("fr").utf8().data()); 158 EXPECT_STREQ("yyyy\xE5\xB9\xB4M\xE6\x9C\x88", monthFormat("ja").utf8().data()); 164 EXPECT_STREQ("h:mm:ss a", localizedDateFormatText("en_US").utf8().data()); 165 EXPECT_STREQ("HH:mm:ss", localizedDateFormatText("fr").utf8().data()); 166 EXPECT_STREQ("H:mm:ss", localizedDateFormatText("ja").utf8().data()); 171 EXPECT_STREQ("h:mm a", localizedShortDateFormatText("en_US").utf8().data()); 172 EXPECT_STREQ("HH:mm", localizedShortDateFormatText("fr").utf8().data()); [all...] |
/external/clang/test/SemaCXX/ |
cxx1y-variable-templates_in_class.cpp | 58 template const int B4::right<int,int>; // expected-error {{explicit instantiation of undefined static data member template 'right' of class}} 59 template const int B4::right_def<int,int>; // expected-error {{explicit instantiation of undefined static data member template 'right_def' of class}} 64 template<typename T> static T wrong_inst = T(10); // expected-error {{non-const static data member must be initialized out of line}} 67 template int A::wrong_inst<int>; // expected-note {{in instantiation of static data member 'non_const_init::A::wrong_inst<int>' requested here}} 73 template<typename T> static T wrong_inst<T*> = T(100); // expected-error {{non-const static data member must be initialized out of line}} 78 template int B::wrong_inst<int*>; // expected-note {{in instantiation of static data member 'non_const_init::B::wrong_inst<int *>' requested here}} 92 template<typename U> static U Data; 93 template<typename U> static const U Data<U*> = U(); // Okay 95 template const int C0::Data<int*>; 98 template<typename U> static U Data; [all...] |
/external/apache-http/src/org/apache/http/util/ |
EncodingUtils.java | 52 * @param data the byte array to be encoded 59 final byte[] data, 65 if (data == null) { 74 return new String(data, offset, length, charset); 76 return new String(data, offset, length); 86 * @param data the byte array to be encoded 90 public static String getString(final byte[] data, final String charset) { 91 if (data == null) { 94 return getString(data, 0, data.length, charset) [all...] |
/external/chromium_org/third_party/opus/src/src/ |
repacketizer.c | 21 PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 61 int opus_repacketizer_cat(OpusRepacketizer *rp, const unsigned char *data, opus_int32 len) 69 rp->toc = data[0]; 70 rp->framesize = opus_packet_get_samples_per_frame(data, 8000); 71 } else if ((rp->toc&0xFC) != (data[0]&0xFC)) 73 /*fprintf(stderr, "toc mismatch: 0x%x vs 0x%x\n", rp->toc, data[0]);*/ 76 curr_nb_frames = opus_packet_get_nb_frames(data, len); 85 ret=opus_packet_parse(data, len, &tmp_toc, &rp->frames[rp->nb_frames], &rp->len[rp->nb_frames], NULL); 97 opus_int32 opus_repacketizer_out_range_impl(OpusRepacketizer *rp, int begin, int end, unsigned char *data, opus_int32 maxlen, int self_delimited) 126 *data++ = rp->toc&0xFC [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
AbstractParser.java | 1 // Protocol Buffers - Google's data interchange format 26 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 98 public MessageType parsePartialFrom(ByteString data, 103 CodedInputStream input = data.newCodedInput(); 120 public MessageType parsePartialFrom(ByteString data) 122 return parsePartialFrom(data, EMPTY_REGISTRY); 125 public MessageType parseFrom(ByteString data, 128 return checkMessageInitialized(parsePartialFrom(data, extensionRegistry)); 131 public MessageType parseFrom(ByteString data) 133 return parseFrom(data, EMPTY_REGISTRY) [all...] |
/external/chromium_org/third_party/skia/src/utils/ |
SkParsePath.cpp | 70 bool SkParsePath::FromSVGString(const char data[], SkPath* result) { 80 data = skip_ws(data); 81 if (data[0] == '\0') { 84 char ch = data[0]; 96 data++; 97 data = skip_sep(data); 101 data = find_points(data, points, 1, relative, &c) [all...] |
/external/linux-tools-perf/util/ |
trace-event.h | 163 void *data; member in struct:record 184 void print_trace_event(int cpu, void *data, int size); 191 static inline unsigned short __data2host2(unsigned short data) 196 return data; 198 swap = ((data & 0xffULL) << 8) | 199 ((data & (0xffULL << 8)) >> 8); 204 static inline unsigned int __data2host4(unsigned int data) 209 return data; 211 swap = ((data & 0xffULL) << 24) | 212 ((data & (0xffULL << 8)) << 8) [all...] |
/external/skia/src/utils/ |
SkParsePath.cpp | 70 bool SkParsePath::FromSVGString(const char data[], SkPath* result) { 80 data = skip_ws(data); 81 if (data[0] == '\0') { 84 char ch = data[0]; 96 data++; 97 data = skip_sep(data); 101 data = find_points(data, points, 1, relative, &c) [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
data_builder.h | 19 /** This is a new sample of accel data */ 21 /** This is a new sample of gyro data */ 23 /** This is a new sample of compass data */ 25 /** This is a new sample of temperature data */ 27 /** This is a new sample of quaternion data */ 30 /** Set if the data is contiguous. Typically not set if a sample was skipped */ 32 /** Set if the calibrated data has been solved for */ 34 /* INV_NEW_DATA set for a new set of data, cleared if not available. */ 36 /* Set if raw data exists */ 71 /** The raw data in raw data units in the mounting frame * [all...] |
results_holder.c | 10 * Holds the data for MPL 68 * @param[in] data Quaternion Adjustment 71 void inv_set_compass_correction(const long *data, inv_time_t timestamp) 74 memcpy(rh.compass_correction, data, sizeof(rh.compass_correction)); 80 * @param[out] data Quaternion Adjustment 83 void inv_get_compass_correction(long *data, inv_time_t *timestamp) 85 memcpy(data, rh.compass_correction, sizeof(rh.compass_correction)); 158 * @param[in] data Local earth's magnetic field in uT scaled by 2^16. 162 void inv_set_local_field(const long *data) 164 memcpy(rh.local_field, data, sizeof(rh.local_field)) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_plistlib.py | 10 # This test data was generated through Cocoa's NSDictionary class 62 <data> 69 </data> 72 <data> 74 </data> 76 <data> 82 </data> 111 someData = plistlib.Data("<binary gunk>"), 112 someMoreData = plistlib.Data("<lots of binary gunk>\0\1\2\3" * 10), 113 nestedData = [plistlib.Data("<lots of binary gunk>\0\1\2\3" * 10)] [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_plistlib.py | 10 # This test data was generated through Cocoa's NSDictionary class 62 <data> 69 </data> 72 <data> 74 </data> 76 <data> 82 </data> 111 someData = plistlib.Data("<binary gunk>"), 112 someMoreData = plistlib.Data("<lots of binary gunk>\0\1\2\3" * 10), 113 nestedData = [plistlib.Data("<lots of binary gunk>\0\1\2\3" * 10)] [all...] |
/external/chromium/chrome/browser/ |
keychain_mock_mac.cc | 25 // Create the test keychain data storage. 56 keychain_attr_list_[i].attr[j].data = calloc(1, data_size); 65 if (keychain_attr_list_[i].attr[j].data) { 66 free(keychain_attr_list_[i].attr[j].data); 70 if (keychain_data_[i].data) { 71 free(keychain_data_[i].data); 95 void MockKeychain::SetTestDataBytes(int item, UInt32 tag, const void* data, 101 if (attribute->data) { 102 free(attribute->data); 104 attribute->data = malloc(length) 119 UInt32* data = static_cast<UInt32*>(attribute->data); local 126 SecProtocolType* data = static_cast<SecProtocolType*>(attribute->data); local 133 SecAuthenticationType* data = static_cast<SecAuthenticationType*>( local 141 Boolean* data = static_cast<Boolean*>(attribute->data); local 148 OSType* data = static_cast<OSType*>(attribute->data); local 213 void* data = attrList->attr[change_attr].data; local 416 OSType* data = static_cast<OSType*>(attribute->data); local [all...] |