/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
DerInputStream.java | 83 && buffer[contentOffset] != 0 84 && (buffer[offset - 1] & UNUSED_BITS_MASK[buffer[contentOffset] - 1]) != 0) { 97 if (buffer[contentOffset] != 0 && buffer[contentOffset] != (byte) 0xFF) { 182 //if (buffer[offset - 1] != 'Z') {
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
CertificateIssuer.java | 73 public void dumpValue(StringBuffer buffer, String prefix) { 74 buffer.append(prefix).append("Certificate Issuer: "); 80 buffer.append("Unparseable (incorrect!) extension value:\n"); 81 super.dumpValue(buffer); 84 buffer.append(issuer).append('\n');
|
/system/core/nexus/ |
WifiNetwork.h | 79 virtual int get(int idx, int *buffer) = 0; 91 virtual int get(int idx, char *buffer, size_t max) = 0; 100 int get(int idx, int *buffer); 108 int get(int idx, int *buffer); 116 int get(int idx, int *buffer); 124 int get(int idx, char *buffer, size_t max); 132 int get(int idx, char *buffer, size_t max); 140 int get(int idx, char *buffer, size_t max); 148 int get(int idx, char *buffer, size_t max); 156 int get(int idx, char *buffer, size_t max) [all...] |
WifiNetwork.cpp | 185 char buffer[255]; local 189 len = sizeof(buffer); 190 if (mSuppl->getNetworkVar(mNetid, "psk", buffer, len)) 191 mPsk = strdup(buffer); 197 len = sizeof(buffer); 198 if (mSuppl->getNetworkVar(mNetid, name, buffer, len)) 199 mWepKeys[i] = strdup(buffer); 203 len = sizeof(buffer); 204 if (mSuppl->getNetworkVar(mNetid, "wep_tx_keyidx", buffer, len)) 205 mDefaultKeyIndex = atoi(buffer); [all...] |
/external/e2fsprogs/ext2ed/ |
inode_com.c | 26 char *ptr,buffer [80]; local 32 ptr=parse_word (command_line,buffer); 35 ptr=parse_word (ptr,buffer); 36 mult=atol (buffer); 55 sprintf (buffer,"setoffset %ld",device_offset);dispatch (buffer); 56 strcpy (buffer,"show");dispatch (buffer); 73 char *ptr,buffer [80]; local 79 ptr=parse_word (command_line,buffer); 285 char *ptr,buffer [80]; local 318 char buffer [80]; local 332 char buffer [80]; local 350 char buffer [80]; local [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
DexClassImpl.java | 41 private final DexBuffer buffer; field in class:DexClassImpl 69 public DexClassImpl(DexBuffer buffer, ClassDefItem classDefItem, 72 this.buffer = buffer; 120 buffer.setPosition(classDefItem.annotations_off); 122 annotationDir.class_annotations_off = buffer.readUInt(); 123 annotationDir.fields_size = buffer.readUInt(); 124 annotationDir.methods_size = buffer.readUInt(); 125 annotationDir.annotated_params_size = buffer.readUInt(); 132 annotationDir.fieldAnnotations[i].fieldIdx = buffer [all...] |
DexEncodedValueImpl.java | 30 private final DexBuffer buffer; field in class:DexEncodedValueImpl 41 * @param buffer 42 * the buffer with the correct position 47 public DexEncodedValueImpl(DexBuffer buffer, DexAnnotation annotation, 49 this.buffer = buffer; 58 typeAndValueArg = buffer.readUByte(); 135 // use the buffer directly to get adjusted offset 136 return new DexEncodedAnnotationImpl(buffer, annotation, typeIds, 146 int size = buffer.readUleb128() [all...] |
/external/srec/srec/clib/ |
srec_arb.c | 79 void read_questions(srec_question** pquestions, asr_int16_t num_questions, char **buffer, PFile *fp) 83 q = *pquestions = (srec_question*)(*buffer); 85 *buffer += num_questions * sizeof(srec_question); 178 tree_node* read_tree_node_f(char **buffer, PFile *fp) 180 tree_node* tnode = (tree_node*) * buffer; 189 *buffer += sizeof(tree_node); 192 tnode->node.fail = (struct tree_branch_info*)read_tree_node_f(buffer, fp); 193 tnode->node.pass = (struct tree_branch_info*)read_tree_node_f(buffer, fp); 198 void read_phoneme_data(phoneme_data** pdata, asr_int16_t num_phonemes, char **buffer, PFile *fp) 203 pd = *pdata = (phoneme_data*)(*buffer); 291 char* buffer; local [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ReadAsset.java | 56 // Read the entire asset into a local byte buffer. 57 byte[] buffer = new byte[size]; 58 is.read(buffer); 61 // Convert the buffer into a string. 62 String text = new String(buffer);
|
/external/apache-http/src/org/apache/commons/codec/net/ |
QuotedPrintableCodec.java | 111 * @param buffer 112 * the buffer to write to 114 private static final void encodeQuotedPrintable(int b, ByteArrayOutputStream buffer) { 115 buffer.write(ESCAPE_CHAR); 118 buffer.write(hex1); 119 buffer.write(hex2); 143 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local 150 buffer.write(b); 152 encodeQuotedPrintable(b, buffer); 155 return buffer.toByteArray() 177 ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local [all...] |
/external/chromium/net/tools/fetch/ |
http_listen_socket.cc | 117 std::string buffer; local 130 info->method = buffer; 131 buffer.clear(); 134 info->url = GURL(buffer); 135 buffer.clear(); 139 DCHECK(buffer == "HTTP/1.1"); 140 buffer.clear(); 143 header_name = buffer; 144 buffer.clear(); 147 header_value = buffer; [all...] |
/external/dropbear/ |
algo.h | 30 #include "buffer.h" 67 void buf_put_algolist(buffer * buf, algo_type localalgos[]); 69 algo_type * svr_buf_match_algo(buffer* buf, algo_type localalgos[], 71 algo_type * cli_buf_match_algo(buffer* buf, algo_type localalgos[],
|
/external/freetype/src/psaux/ |
psconv.h | 48 FT_Byte* buffer, 55 FT_Byte* buffer, 61 FT_Byte* buffer,
|
/external/qemu/distrib/sdl-1.2.12/src/video/riscos/ |
SDL_riscossprite.c | 42 /* Create sprite buffer for screen */ 48 unsigned char *buffer; local 75 buffer = SDL_malloc( (size_t) size + offsetToSpriteData ); 76 if (!buffer) return NULL; 80 *(unsigned int *)buffer = size + offsetToSpriteData; 81 *(unsigned int *)(buffer + 8) = 16; 84 regs.r[1] = (unsigned int)buffer; 88 regs.r[1] = (unsigned int)buffer; 109 int *sprite = (int *)(buffer + 16); 115 (*(int *)(buffer+12)) += 2048 [all...] |
/external/skia/include/effects/ |
SkColorMatrixFilter.h | 38 virtual void flatten(SkFlattenableWriteBuffer& buffer); 50 SkColorMatrixFilter(SkFlattenableReadBuffer& buffer); 53 static SkFlattenable* CreateProc(SkFlattenableReadBuffer& buffer);
|
/external/skia/src/effects/ |
SkLayerDrawLooper.cpp | 71 void SkLayerDrawLooper::flatten(SkFlattenableWriteBuffer& buffer) { 72 this->INHERITED::flatten(buffer); 86 buffer.writeInt(fCount); 90 buffer.writeScalar(rec->fOffset.fX); 91 buffer.writeScalar(rec->fOffset.fY); 92 rec->fPaint.flatten(buffer); 97 SkLayerDrawLooper::SkLayerDrawLooper(SkFlattenableReadBuffer& buffer) 98 : INHERITED(buffer) { 102 int count = buffer.readInt(); 105 SkScalar dx = buffer.readScalar() [all...] |
/external/webkit/JavaScriptCore/API/ |
JSStringRefCF.cpp | 45 OwnArrayPtr<UniChar> buffer(new UniChar[length]); 46 CFStringGetCharacters(string, CFRangeMake(0, length), buffer.get()); 48 return OpaqueJSString::create(reinterpret_cast<UChar*>(buffer.get()), length).releaseRef();
|
/external/webkit/WebCore/html/canvas/ |
WebGLArrayBuffer.cpp | 43 RefPtr<WebGLArrayBuffer> buffer = adoptRef(new WebGLArrayBuffer(other->byteLength())); local 44 memcpy(buffer->data(), other->data(), other->byteLength()); 45 return buffer.release();
|
/external/webkit/WebCore/loader/appcache/ |
ApplicationCacheResource.h | 45 static PassRefPtr<ApplicationCacheResource> create(const KURL& url, const ResourceResponse& response, unsigned type, PassRefPtr<SharedBuffer> buffer = SharedBuffer::create()) 48 return adoptRef(new ApplicationCacheResource(url, response, type, buffer)); 64 ApplicationCacheResource(const KURL& url, const ResourceResponse& response, unsigned type, PassRefPtr<SharedBuffer> buffer);
|
/external/webkit/WebCore/platform/ |
LinkHash.cpp | 155 void visitedURL(const KURL& base, const AtomicString& attributeURL, Vector<UChar, 512>& buffer) 176 buffer.append(attributeURL.characters(), attributeURL.length()); 184 buffer.append(characters, length); 185 buffer.append('/'); 191 buffer.append(base.string().characters(), base.pathStart()); 194 buffer.append(base.string().characters(), base.pathEnd()); 197 buffer.append(base.string().characters(), base.pathAfterLastSlash()); 200 buffer.append(characters, length); 201 cleanPath(buffer); 202 if (needsTrailingSlash(buffer.data(), buffer.size())) [all...] |
/external/webkit/WebCore/platform/graphics/chromium/ |
GlyphPageTreeNodeLinux.cpp | 43 bool GlyphPage::fill(unsigned offset, unsigned length, UChar* buffer, unsigned bufferLength, const SimpleFontData* fontData) 45 if (SkUTF16_IsHighSurrogate(buffer[bufferLength-1])) { 57 unsigned count = paint.textToGlyphs(buffer, bufferLength * 2, glyphs);
|
/external/webkit/WebCore/platform/text/ |
CString.h | 59 CString(CStringBuffer* buffer) : m_buffer(buffer) { } 68 CStringBuffer* buffer() const { return m_buffer.get(); } function in class:WebCore::CString
|
/external/webkit/WebCore/platform/text/wince/ |
TextBoundariesWince.cpp | 37 int findNextWordFromIndex(const UChar * buffer, int len, int position, bool forward) 43 void findWordBoundary(const UChar * buffer, int len, int position, int* start, int* end) 51 String str(buffer, len);
|
/frameworks/base/core/jni/android/graphics/ |
Utils.cpp | 31 size_t AssetStreamAdaptor::read(void* buffer, size_t size) { 34 if (NULL == buffer) { 53 amount = fAsset->read(buffer, size);
|
/frameworks/base/core/jni/ |
android_os_UEventObserver.cpp | 41 char *buffer = (char*)env->GetByteArrayElements(jbuffer, NULL); local 43 int length = uevent_next_event(buffer, buf_sz - 1); 45 env->ReleaseByteArrayElements(jbuffer, (jbyte*)buffer, 0);
|