/frameworks/base/cmds/bugreport/ |
H A D | bugreport.c | 48 int length = read(s, buffer, sizeof(buffer)); local 49 if (length <= 0) 51 fwrite(buffer, 1, length, stdout);
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | DiscretePathEffect.java | 29 private static native int nativeCreate(float length, float deviation); argument
|
H A D | PointF.java | 79 public final float length() { method in class:PointF 80 return length(x, y); 86 public static float length(float x, float y) { method in class:PointF
|
/frameworks/base/cmds/keystore/ |
H A D | keystore_cli.cpp | 61 uint16_t length = strlen(argv[i]); local 62 bytes[0] = length >> 8; 63 bytes[1] = length; 65 send(sock, argv[i], length, 0); 77 int length; local 83 length = bytes[0] << 8 | bytes[1]; 84 for (offset = 0; offset < length; offset += i) { 85 i = recv(sock, &bytes[offset], length - offset, 0); 91 fwrite(bytes, 1, length, stdout);
|
H A D | keystore_get.h | 36 * The first two arguments are the key and its length. The third argument 38 * KEYSTORE_MESSAGE_SIZE bytes. This function returns the length of the value or 40 static int keystore_get(const char *key, int length, char *value) argument 42 uint8_t bytes[2] = {length >> 8, length}; 46 if (length < 0 || length > KEYSTORE_MESSAGE_SIZE) { 55 send(sock, key, length, 0) == length && shutdown(sock, SHUT_WR) == 0 && 59 length [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | NinePatchPeeker.cpp | 23 bool NinePatchPeeker::peek(const char tag[], const void* data, size_t length) { argument 24 if (strcmp("npTc", tag) == 0 && length >= sizeof(Res_png_9patch)) { 27 assert(length == patchSize);
|
/frameworks/base/opengl/libagl/ |
H A D | Tokenizer.h | 45 run_t(uint32_t f, uint32_t l) : first(f), length(l) {} 47 uint32_t length; member in struct:android::Tokenizer::run_t
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | DiscretePathEffect_Delegate.java | 65 /*package*/ static int nativeCreate(float length, float deviation) { argument
|
/frameworks/compile/libbcc/runtime/lib/ |
H A D | enable_execute_stack.c | 49 size_t length = endPage - startPage; local 50 (void) mprotect((void *)startPage, length, PROT_READ | PROT_WRITE | PROT_EXEC);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothInputStream.java | 69 * Reads at most {@code length} bytes from this stream and stores them in 77 * @param length 82 * if {@code offset < 0} or {@code length < 0}, or if 83 * {@code offset + length} is greater than the length of 89 public int read(byte[] b, int offset, int length) throws IOException { argument 93 if ((offset | length) < 0 || length > b.length - offset) { 94 throw new ArrayIndexOutOfBoundsException("invalid offset or length"); [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | SynthesisCallback.java | 62 * @param length The number of bytes of audio data in {@code buffer}. This must be 66 public int audioAvailable(byte[] buffer, int offset, int length); argument
|
/frameworks/base/core/java/android/webkit/ |
H A D | KeyStoreHandler.java | 43 * @param length The length of data. 45 public void didReceiveData(byte[] data, int length) { argument 47 mDataBuilder.append(data, 0, length);
|
H A D | PluginData.java | 27 * the length of the body, the response headers, and the response 42 * The content length. 62 * @param length The length of the plugin content. 65 * @param length The HTTP response status code. 74 long length, 78 mContentLength = length; 98 * Returns the length of the plugin content. 100 * @return the length of the plugin content. 72 PluginData( InputStream stream, long length, Map<String, String[]> headers, int code) argument
|
/frameworks/base/core/jni/ |
H A D | android_os_UEventObserver.cpp | 43 int length = uevent_next_event(buffer, buf_sz - 1); local 47 return length;
|
/frameworks/base/drm/common/ |
H A D | ReadWriteUtils.cpp | 45 off64_t length = sb.st_size; local 46 char* bytes = new char[length]; 47 if (length == read(fd, (void*) bytes, length)) { 48 string.append(bytes, length); 60 off64_t length = 0; local 67 length = sb.st_size; 68 *buffer = new char[length]; 69 if (length != read(fd, (void*) *buffer, length)) { [all...] |
H A D | DrmConstraints.cpp | 33 int length = strlen(value); local 34 char* charValue = new char[length + 1]; 36 strncpy(charValue, value, length); 37 charValue[length] = '\0';
|
H A D | DrmMetadata.cpp | 28 int length = strlen(value); local 29 char* charValue = new char[length + 1]; 31 memcpy(charValue, value, length); 32 charValue[length] = '\0';
|
/frameworks/base/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_crc.cpp | 56 uint32 length, number of element upon the crc will be calculated 142 uint32 length, 146 uint32 masking = 1 << length; 141 calculate_crc(uint32 data, uint32 length, uint32 *crc) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/cat/ |
H A D | TextAttribute.java | 27 public int length; field in class:TextAttribute 36 public TextAttribute(int start, int length, TextAlignment align, argument 40 this.length = length;
|
/frameworks/compile/linkloader/utils/ |
H A D | raw_ostream.cpp | 30 int const length, // Fill Width. 37 t_format.ptr = new char[length+1]; 38 t_format.ptr[length] = '\0'; 39 vsnprintf(t_format.ptr, length, format_s, valist); 41 int fill_len = length; 29 fillformat(char const fill_char, int const length, char const *format_s, ...) argument
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CharSequences.java | 36 public int length() { 37 return bytes.length; 59 * is greater than length(), or if start is greater than end 63 validate(start, end, bytes.length); 69 public int length() { 76 validate(newStart, newEnd, length()); 81 return new String(bytes, start, length()); 86 static void validate(int start, int end, int length) { argument 89 if (end > length) throw new IndexOutOfBoundsException(); 97 if (a.length() ! [all...] |
H A D | HexDump.java | 25 return dumpHexString(array, 0, array.length); 28 public static String dumpHexString(byte[] array, int offset, int length) argument 38 for (int i = offset ; i < offset + length ; i++) 101 return toHexString(array, 0, array.length); 104 public static String toHexString(byte[] array, int offset, int length) argument 106 char[] buf = new char[length * 2]; 109 for (int i = offset ; i < offset + length; i++) 154 int length = hexString.length(); 155 byte[] buffer = new byte[length / [all...] |
/frameworks/base/libs/hwui/ |
H A D | Vertex.h | 76 float length; member in struct:android::uirenderer::AAVertex 78 static inline void set(AAVertex* vertex, float x, float y, float width, float length) { argument 81 vertex[0].length = length; 84 static inline void setColor(AAVertex* vertex, float width, float length) { argument 86 vertex[0].length = length;
|
/frameworks/base/media/libmediaplayerservice/ |
H A D | MidiMetadataRetriever.cpp | 50 status_t MidiMetadataRetriever::setDataSource(int fd, int64_t offset, int64_t length) argument 52 LOGV("setDataSource: fd(%d), offset(%lld), and length(%lld)", fd, offset, length); 58 return mMidiPlayer->setDataSource(fd, offset, length);;
|
/frameworks/base/media/libstagefright/rtsp/ |
H A D | UDPPusher.cpp | 72 uint32_t length; local 73 if (fread(&length, 1, sizeof(length), mFile) < sizeof(length)) { 78 length = fromlel(length); 80 CHECK_GT(length, 0u); 82 sp<ABuffer> buffer = new ABuffer(length); 83 if (fread(buffer->data(), 1, length, mFile) < length) { [all...] |