HomeSort by relevance Sort by last modified time
    Searched refs:buffer (Results 226 - 250 of 5558) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/webkit/Source/WebCore/platform/graphics/android/fonts/
HarfbuzzSkia.h 36 HB_Error harfbuzzSkiaGetTable(void* voidface, const HB_Tag, HB_Byte* buffer, HB_UInt* len);
  /external/webkit/Source/WebCore/platform/graphics/chromium/
HarfbuzzSkia.h 40 HB_Error harfbuzzSkiaGetTable(void* voidface, const HB_Tag, HB_Byte* buffer, HB_UInt* len);
  /external/webkit/Source/WebCore/platform/graphics/wx/
GlyphMapWx.cpp 38 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData)
46 UChar lead = buffer[i * 2];
47 UChar trail = buffer[i * 2 + 1];
50 character = buffer[i];
  /external/webkit/Tools/WebKitTestRunner/InjectedBundle/win/
InjectedBundleWin.cpp 50 Vector<char> buffer(WKStringGetMaximumUTF8CStringSize(string));
51 WKStringGetUTF8CString(string, buffer.data(), buffer.size());
54 webProcessCrashingEvent = ::CreateEventA(0, FALSE, FALSE, buffer.data());
  /frameworks/av/media/mtp/
MtpUtils.h 25 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
  /frameworks/base/core/tests/coretests/src/android/content/
AssetTest.java 37 byte[] buffer = new byte[10];
41 while ((readCount = is.read(buffer, 0, buffer.length)) > 0) {
45 + " but found " + ((char) buffer[i]),
46 buffer[i], expectedString.charAt(curIndex));
51 readCount = is.read(buffer, 0, buffer.length);
52 assertEquals("Reading end of buffer: expected readCount=-1 but got " + readCount,
55 readCount = is.read(buffer, buffer.length, 0)
    [all...]
  /frameworks/base/media/java/android/media/
DataSource.java 31 * @param buffer the buffer to read the data into
35 public int readAt(long offset, byte[] buffer, int size);
  /frameworks/native/cmds/bugreport/
bugreport.c 25 char buffer[65536]; local
48 int length = read(s, buffer, sizeof(buffer));
51 fwrite(buffer, 1, length, stdout);
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ImageCacheService.java 51 * The image data will be stored in <code>buffer.data</code>, started from
52 * <code>buffer.offset</code> for <code>buffer.length</code> bytes. If the
53 * buffer.data is not big enough, a new byte array will be allocated and returned.
57 public boolean getImageData(Path path, int type, BytesBuffer buffer) {
63 request.buffer = buffer.data;
67 if (isSameKey(key, request.buffer)) {
68 buffer.data = request.buffer;
82 ByteBuffer buffer = ByteBuffer.allocate(key.length + value.length); local
    [all...]
  /system/vold/
Devmapper.cpp 43 char *buffer = (char *) malloc(1024 * 64); local
44 if (!buffer) {
48 memset(buffer, 0, (1024 * 64));
53 free(buffer);
60 free(buffer);
65 struct dm_ioctl *io = (struct dm_ioctl *) buffer;
70 free(buffer);
76 struct dm_name_list *n = (struct dm_name_list *) (((char *) buffer) + io->data_start);
78 free(buffer);
111 free(buffer);
134 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); local
168 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); local
265 char *buffer = (char *) malloc(DEVMAPPER_BUFFER_SIZE); local
    [all...]
  /external/harfbuzz_ng/src/
hb-ot-shape-complex-sea.cc 29 /* buffer var allocations */
70 hb_buffer_t *buffer);
74 hb_buffer_t *buffer);
78 hb_buffer_t *buffer);
167 hb_buffer_t *buffer,
170 HB_BUFFER_ALLOCATE_VAR (buffer, sea_category);
171 HB_BUFFER_ALLOCATE_VAR (buffer, sea_position);
176 unsigned int count = buffer->len;
178 set_sea_properties (buffer->info[i]);
184 hb_buffer_t *buffer)
    [all...]
hb-buffer.cc 30 #include "hb-buffer-private.hh"
61 /* Here is how the buffer works internally:
73 * to an alternate buffer (which we reuse the pos buffer for!), and its
467 /* If we hit the start of buffer, continue in out-buffer. */
495 /* If we hit the end of out-buffer, continue in buffer. */
510 /* If script is set to INVALID, guess from buffer contents */
537 dump_var_allocation (const hb_buffer_t *buffer)
    [all...]
  /frameworks/base/core/java/android/text/method/
LinkMovementMethod.java 30 * A movement method that traverses links in the text buffer and scrolls if necessary.
39 protected boolean handleMovementKey(TextView widget, Spannable buffer, int keyCode,
46 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) {
52 return super.handleMovementKey(widget, buffer, keyCode, movementMetaState, event);
56 protected boolean up(TextView widget, Spannable buffer) {
57 if (action(UP, widget, buffer)) {
61 return super.up(widget, buffer);
65 protected boolean down(TextView widget, Spannable buffer) {
66 if (action(DOWN, widget, buffer)) {
70 return super.down(widget, buffer);
    [all...]
  /cts/suite/audio_quality/lib/src/audio/
AudioSignalFactory.cpp 23 android::sp<Buffer> AudioSignalFactory::generateSineWave(AudioHardware::BytesPerSample BPS,
28 android::sp<Buffer> buffer(new Buffer(bufferSize));
31 int16_t* data = reinterpret_cast<int16_t*>(buffer->getData());
42 buffer->setSize(buffer->getCapacity());
43 return buffer;
45 android::sp<Buffer> AudioSignalFactory::generateWhiteNoise(AudioHardware::BytesPerSample BPS,
49 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize))
    [all...]
  /external/icu4c/samples/ustring/
ustring.cpp 151 UChar buffer[32]; local
156 buffer[0]=0; /* empty, NUL-terminated string */
157 u_strncat(buffer, text, 1); /* append just n=1 character ('A') */
158 u_strcat(buffer, appendText); /* buffer=="Aabc" */
159 length=u_strlen(buffer); /* length=4 */
160 printUString("should be \"Aabc\": ", buffer, -1);
162 /* bitwise comparing buffer with text */
163 compare=u_strcmp(buffer, text);
168 /* Build "A<sharp s>C" in the buffer... *
196 UChar buffer[32]; local
567 UChar buffer[200]; local
    [all...]
  /external/skia/legacy/src/effects/
SkBlurDrawLooper.cpp 48 SkBlurDrawLooper::SkBlurDrawLooper(SkFlattenableReadBuffer& buffer)
49 : INHERITED(buffer) {
51 fDx = buffer.readScalar();
52 fDy = buffer.readScalar();
53 fBlurColor = buffer.readU32();
54 fBlur = static_cast<SkMaskFilter*>(buffer.readFlattenable());
55 fColorFilter = static_cast<SkColorFilter*>(buffer.readFlattenable());
56 fBlurFlags = buffer.readU32() & kAll_BlurFlag;
64 void SkBlurDrawLooper::flatten(SkFlattenableWriteBuffer& buffer) {
65 buffer.writeScalar(fDx)
    [all...]
  /frameworks/base/core/java/android/hardware/usb/
UsbDeviceConnection.java 111 * This method transfers data starting from index 0 in the buffer.
120 * @param buffer buffer for data portion of transaction,
128 int index, byte[] buffer, int length, int timeout) {
129 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout);
144 * @param buffer buffer for data portion of transaction,
146 * @param offset the index of the first byte in the buffer to send or receive
153 byte[] buffer, int offset, int length, int timeout) {
154 checkBounds(buffer, offset, length)
    [all...]
  /libcore/luni/src/main/java/javax/xml/parsers/
FilePathToURI.java 64 StringBuilder buffer = new StringBuilder(len*3); local
65 buffer.append("file://");
70 buffer.append('/');
82 buffer.append('%');
83 buffer.append(gAfterEscaping1[ch]);
84 buffer.append(gAfterEscaping2[ch]);
88 buffer.append((char)ch);
111 buffer.append('%');
112 buffer.append(gHexChs[ch >> 4]);
113 buffer.append(gHexChs[ch & 0xf])
    [all...]
  /libcore/luni/src/main/java/javax/xml/transform/stream/
FilePathToURI.java 64 StringBuilder buffer = new StringBuilder(len*3); local
65 buffer.append("file://");
70 buffer.append('/');
82 buffer.append('%');
83 buffer.append(gAfterEscaping1[ch]);
84 buffer.append(gAfterEscaping2[ch]);
88 buffer.append((char)ch);
111 buffer.append('%');
112 buffer.append(gHexChs[ch >> 4]);
113 buffer.append(gHexChs[ch & 0xf])
    [all...]
  /libcore/luni/src/main/java/libcore/io/
Posix.java 94 public int pread(FileDescriptor fd, ByteBuffer buffer, long offset) throws ErrnoException {
95 if (buffer.isDirect()) {
96 return preadBytes(fd, buffer, buffer.position(), buffer.remaining(), offset);
98 return preadBytes(fd, NioUtils.unsafeArray(buffer), NioUtils.unsafeArrayOffset(buffer) + buffer.position(), buffer.remaining(), offset);
105 private native int preadBytes(FileDescriptor fd, Object buffer, int bufferOffset, int byteCount, long offset) throws ErrnoException
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
BinaryDictIOUtils.java 69 final FusionDictionaryBufferInterface buffer, final int headerSize,
89 if (buffer.position() != p.mAddress) buffer.position(p.mAddress);
93 p.mNumOfCharGroup = BinaryDictInputOutput.readCharGroupCount(buffer);
101 CharGroupInfo info = BinaryDictInputOutput.readCharGroup(buffer,
121 final int forwardLinkAddress = buffer.readUnsignedInt24();
134 p.mAddress = buffer.position();
148 * @param buffer the buffer to read.
155 public static void readUnigramsAndBigramsBinary(final FusionDictionaryBufferInterface buffer,
    [all...]
  /external/e2fsprogs/lib/ss/
list_rqs.c 33 char buffer[BUFSIZ]; local
57 buffer[0] = '\0';
62 strncat(buffer, *name, len);
65 strcat(buffer, ", ");
69 strcat(buffer, NL);
70 fputs(buffer, output);
72 buffer[0] = '\0';
74 strncat(buffer, twentyfive_spaces, 25-spacing);
75 strcat(buffer, entry->info_string);
76 strcat(buffer, NL)
    [all...]
  /external/icu4c/io/
sscanf.c 34 u_sscanf(const UChar *buffer,
42 converted = u_vsscanf(buffer, patternSpecification, ap);
49 u_sscanf_u(const UChar *buffer,
57 converted = u_vsscanf_u(buffer, patternSpecification, ap);
64 u_vsscanf(const UChar *buffer,
86 converted = u_vsscanf_u(buffer, pattern, ap);
97 u_vsscanf_u(const UChar *buffer,
111 inStr.str.fBuffer = (UChar *)buffer;
112 inStr.str.fPos = (UChar *)buffer;
113 inStr.str.fLimit = buffer + u_strlen(buffer)
    [all...]
  /external/webkit/Source/JavaScriptCore/wtf/url/src/
URLQueryCanonicalizer.h 44 static void canonicalize(const InChar* spec, const URLComponent& query, URLBuffer<OutChar>& buffer, URLComponent& resultQuery)
51 buffer->append('?');
52 resultQuery.setBegin(buffer->length());
53 convertToQueryEncoding(spec, query, buffer);
54 resultQuery.setLength(buffer->length() - resultQuery.begin());
79 static void appendRaw8BitQueryString(const InChar* source, int length, URLBuffer<OutChar>* buffer)
84 appendURLEscapedCharacter(static_cast<unsigned char>(source[i]), buffer); local
86 buffer->append(static_cast<char>(source[i]));
90 static void convertToQueryEncoding(const InChar* spec, const URLComponent& query, URLBuffer<OutChar>& buffer)
93 appendRaw8BitQueryString(&spec[query.begin()], query.length(), buffer);
    [all...]
  /external/webkit/Source/WebCore/platform/graphics/mac/
FontCustomPlatformData.cpp 46 FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer* buffer)
48 ASSERT_ARG(buffer, buffer);
51 OpenTypeSanitizer sanitizer(buffer);
55 buffer = transcodeBuffer.get();
58 if (isWOFF(buffer)) {
60 if (!convertWOFFToSfnt(buffer, sfnt))
64 buffer = sfntBuffer.get();
73 RetainPtr<CFDataRef> bufferData(AdoptCF, buffer->createCFData());
83 ATSFontActivateFromMemory((void*)buffer->data(), buffer->size(), 3, kATSFontFormatUnspecified, NULL, kATSOptionFlagsDefault, &containerRef (…)
    [all...]

Completed in 820 milliseconds

1 2 3 4 5 6 7 8 91011>>