Searched refs:length (Results 276 - 300 of 12787) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DTextCodecLatin1.h39 virtual String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) override;
40 virtual CString encode(const UChar*, size_t length, UnencodableHandling) override;
41 virtual CString encode(const LChar*, size_t length, UnencodableHandling) override;
44 CString encodeCommon(const CharType*, size_t length, UnencodableHandling);
H A DTextCodecUserDefined.cpp52 String TextCodecUserDefined::decode(const char* bytes, size_t length, FlushBehavior, bool, bool&) argument
55 result.reserveCapacity(length);
57 for (size_t i = 0; i < length; ++i) {
66 static CString encodeComplexUserDefined(const CharType* characters, size_t length, UnencodableHandling handling) argument
68 Vector<char> result(length);
72 for (size_t i = 0; i < length; ) {
74 U16_NEXT(characters, i, length, c);
82 result.grow(resultLength + replacementLength + length - i);
93 CString TextCodecUserDefined::encodeCommon(const CharType* characters, size_t length, UnencodableHandling handling) argument
96 CString result = CString::newUninitialized(length, byte
113 encode(const UChar* characters, size_t length, UnencodableHandling handling) argument
118 encode(const LChar* characters, size_t length, UnencodableHandling handling) argument
[all...]
H A DTextCodecUserDefined.h39 virtual String decode(const char*, size_t length, FlushBehavior, bool stopOnError, bool& sawError) override;
40 virtual CString encode(const UChar*, size_t length, UnencodableHandling) override;
41 virtual CString encode(const LChar*, size_t length, UnencodableHandling) override;
44 CString encodeCommon(const CharType*, size_t length, UnencodableHandling);
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
H A D_stream_base.py106 def _read(self, length):
107 """Reads length bytes from connection. In case we catch any exception,
115 read_bytes = self._request.connection.read(length)
119 (length, (self._request.connection.remote_addr,)))
128 (length, e))
133 (length, e))
149 def receive_bytes(self, length):
158 while length > 0:
159 new_read_bytes = self._read(length)
161 length
[all...]
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DShaderExecutable9.cpp17 ShaderExecutable9::ShaderExecutable9(const void *function, size_t length, IDirect3DPixelShader9 *executable) argument
18 : ShaderExecutable(function, length)
24 ShaderExecutable9::ShaderExecutable9(const void *function, size_t length, IDirect3DVertexShader9 *executable) argument
25 : ShaderExecutable(function, length)
/external/chromium_org/third_party/icu/source/common/
H A Dpatternprops.h62 static const UChar *skipWhiteSpace(const UChar *s, int32_t length);
65 * @return s except with leading and trailing Pattern_White_Space removed and length adjusted.
67 static const UChar *trimWhiteSpace(const UChar *s, int32_t &length);
74 static UBool isIdentifier(const UChar *s, int32_t length);
81 static const UChar *skipIdentifier(const UChar *s, int32_t length);
H A Ducharstrieiterator.cpp62 int32_t length=remainingMatchLength_; // Actual remaining match length minus 1. local
63 if(length>=0) {
65 ++length;
66 if(maxLength_>0 && length>maxLength_) {
67 length=maxLength_; // This will leave remainingMatchLength>=0 as a signal.
69 str_.append(pos_, length);
70 pos_+=length;
71 remainingMatchLength_-=length;
84 int32_t length local
111 int32_t length=stack_->elementAti(stackSize-1); local
171 int32_t length=node-kMinLinearMatch+1; local
184 branchNext(const UChar *pos, int32_t length, UErrorCode &errorCode) argument
[all...]
H A Ducol_swp.h34 const void *inData, int32_t length);
43 const void *inData, int32_t length, void *outData,
52 const void *inData, int32_t length, void *outData,
61 const void *inData, int32_t length, void *outData,
/external/chromium_org/third_party/icu/source/tools/toolutil/
H A Dswapimpl.h28 * its length. See UDataSwapFn.
40 const void *inData, int32_t length, void *outData,
/external/chromium_org/third_party/ots/src/
H A Dcbdt.cc15 bool ots_cbdt_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
22 file->cbdt->length = length;
31 if (!out->Write(file->cbdt->data, file->cbdt->length)) {
H A Dcblc.cc15 bool ots_cblc_parse(OpenTypeFile *file, const uint8_t *data, size_t length) { argument
22 file->cblc->length = length;
31 if (!out->Write(file->cblc->data, file->cblc->length)) {
H A Dmath.cc52 const size_t length) {
64 if (offset >= length) {
67 if (!ots::ParseDeviceTable(data + offset, length - offset)) {
75 bool ParseMathConstantsTable(const uint8_t *data, size_t length) { argument
76 ots::Buffer subtable(data, length);
145 if (!ParseMathValueRecord(&subtable, data, length)) {
161 const size_t length,
178 if (offset_coverage < sequence_end || offset_coverage >= length) {
182 length - offset_coverage,
189 if (!ParseMathValueRecord(subtable, data, length)) {
51 ParseMathValueRecord(ots::Buffer* subtable, const uint8_t *data, const size_t length) argument
159 ParseMathValueRecordSequenceForGlyphs(ots::Buffer* subtable, const uint8_t *data, const size_t length, const uint16_t num_glyphs) argument
197 ParseMathItalicsCorrectionInfoTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument
205 ParseMathTopAccentAttachmentTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument
213 ParseMathKernTable(const uint8_t *data, size_t length) argument
239 ParseMathKernInfoTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument
287 ParseMathGlyphInfoTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument
349 ParseGlyphAssemblyTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument
388 ParseMathGlyphConstructionTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument
434 ParseMathGlyphConstructionSequence(ots::Buffer* subtable, const uint8_t *data, size_t length, const uint16_t num_glyphs, uint16_t offset_coverage, uint16_t glyph_count, const unsigned sequence_end) argument
469 ParseMathVariantsTable(const uint8_t *data, size_t length, const uint16_t num_glyphs) argument
513 ots_math_parse(OpenTypeFile *file, const uint8_t *data, size_t length) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
H A Dbw_expand.h33 int16_t length /* (i) the length of lpc coefficient vectors */
H A Ddecoder_interpolate_lsf.h33 int16_t length, /* (i) length of lsf coefficient vector */
H A Dinterpolate.h33 int16_t length); /* (i) number of sample is vectors */
H A Dlsf_interpolate_to_poly_dec.h34 int16_t length /* (i) length of coefficient vectors */
H A Dlsf_interpolate_to_poly_enc.h35 int16_t length /* (i) length of coefficient vectors */
/external/chromium_org/tools/android/common/
H A Dnet.cc26 std::string DumpBinary(const char* buffer, size_t length) { argument
28 for (int i = 0; i < length; ++i) {
33 if (length)
34 result.erase(result.length() - 1);
/external/chromium_org/v8/src/
H A Dfixed-dtoa.h28 Vector<char> buffer, int* length, int* decimal_point);
/external/chromium_org/v8/test/mjsunit/
H A Darray-pop.js37 assertEquals(6, a.length, "length 1st pop");
40 assertEquals(5, a.length, "length 2nd pop");
43 assertEquals(4, a.length, "length 3rd pop");
46 assertEquals(3, a.length, "length 4th pop");
49 assertEquals(2, a.length, "length
[all...]
H A Ddebug-script-breakpoints-closure.js55 assertEquals(0, Debug.scriptBreakPoints().length);
58 assertEquals(1, Debug.scriptBreakPoints().length);
65 assertEquals(1, Debug.scriptBreakPoints().length);
67 assertEquals(0, Debug.scriptBreakPoints().length);
H A Ddebug-script-breakpoints-nested.js67 assertEquals(0, Debug.scriptBreakPoints().length);
69 assertEquals(1, Debug.scriptBreakPoints().length);
80 assertEquals(1, Debug.scriptBreakPoints().length);
82 assertEquals(0, Debug.scriptBreakPoints().length);
H A Ddebug-script-breakpoints.js34 assertEquals(1, Debug.scriptBreakPoints().length);
39 assertEquals(0, Debug.scriptBreakPoints().length);
47 assertEquals(3, Debug.scriptBreakPoints().length);
48 for (var i = 0; i < Debug.scriptBreakPoints().length; i++) {
65 assertEquals(3, Debug.scriptBreakPoints().length);
67 assertEquals(2, Debug.scriptBreakPoints().length);
69 assertEquals(1, Debug.scriptBreakPoints().length);
71 assertEquals(0, Debug.scriptBreakPoints().length);
75 assertEquals(1, Debug.scriptBreakPoints().length);
80 assertEquals(0, Debug.scriptBreakPoints().length);
[all...]
H A Dregexp-indexof.js29 assertEquals(matches.length > 0, re.test(str));
31 if (matches.length > 0) {
32 assertEquals(matches.length, result.length);
36 for (var idx = 0; idx < matches.length; idx++) {
38 var length = matches[idx][1];
39 var expected = str.substr(from, length);
40 var name = str + "[" + from + ".." + (from+length) + "]";
45 lastLength = length;
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-128018.js32 literal.length = 0;

Completed in 1460 milliseconds

<<11121314151617181920>>