/external/chromium/chrome/browser/safe_browsing/ |
chunk_range.cc | 60 for (int chunk = range.start(); chunk <= range.stop(); ++chunk) { 61 chunks->push_back(chunk); 70 // Crack the string into chunk parts, then crack each part looking for a 83 // atoi error, since chunk numbers are guaranteed to never be 0. 104 const ChunkRange& chunk = ranges[mid]; local 105 if ((chunk.stop() >= chunk_number) && (chunk.start() <= chunk_number)) 109 if (chunk.stop() < chunk_number [all...] |
/external/chromium_org/chrome/browser/safe_browsing/ |
chunk_range.cc | 60 for (int chunk = range.start(); chunk <= range.stop(); ++chunk) { 61 chunks->push_back(chunk); 70 // Crack the string into chunk parts, then crack each part looking for a 83 // atoi error, since chunk numbers are guaranteed to never be 0. 104 const ChunkRange& chunk = ranges[mid]; local 105 if ((chunk.stop() >= chunk_number) && (chunk.start() <= chunk_number)) 109 if (chunk.stop() < chunk_number [all...] |
/external/chromium_org/v8/tools/testrunner/server/ |
compression.py | 74 chunk = self.sock.recv(8192) 77 if not chunk: return None 78 self._AppendData(chunk) 83 chunk = self.sock.recv(8192) 86 if not chunk: return None 87 self._AppendData(chunk) 104 chunk = self.data.read(length) 111 return chunk
|
/frameworks/base/graphics/java/android/graphics/ |
NinePatch.java | 51 * @param chunk The 9-patch data chunk describing how the underlying bitmap 54 public NinePatch(Bitmap bitmap, byte[] chunk) { 55 this(bitmap, chunk, null); 62 * @param chunk The 9-patch data chunk describing how the underlying 66 public NinePatch(Bitmap bitmap, byte[] chunk, String srcName) { 69 mNativeChunk = validateNinePatchChunk(mBitmap.ni(), chunk); 81 // No need to validate the 9patch chunk again, it was done by 225 * Verifies that the specified byte array is a valid 9-patch data chunk [all...] |
/external/chromium_org/tools/grit/grit/gather/ |
skeleton_gatherer.py | 34 # True if a translatable chunk has been added 104 def _AddNontranslateableChunk(self, chunk): 105 '''Adds a nontranslateable chunk.''' 107 ph = tclib.Placeholder('XX%02dXX' % self.ph_counter_, chunk, chunk) 111 self.skeleton_.append(chunk) 113 def _AddTranslateableChunk(self, chunk): 114 '''Adds a translateable chunk. It will be unescaped before being added.''' 117 if chunk == '': 120 unescaped_text = self.UnEscape(chunk) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
SVGTextChunkBuilder.cpp | 103 // Build chunk style flags. 144 SVGTextChunk chunk(chunkStyle, desiredTextLength); 146 Vector<SVGInlineTextBox*>& boxes = chunk.boxes(); 150 m_textChunks.append(chunk); 153 void SVGTextChunkBuilder::processTextChunk(const SVGTextChunk& chunk) 155 bool processTextLength = chunk.hasDesiredTextLength(); 156 bool processTextAnchor = chunk.hasTextAnchor(); 160 const Vector<SVGInlineTextBox*>& boxes = chunk.boxes(); 165 // Calculate absolute length of whole text chunk (starting from text box 'start', spanning 'length' text boxes). 168 chunk.calculateLength(chunkLength, chunkCharacters) [all...] |
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/model/ |
datastorefile.py | 136 chunk = ChunkData() 137 chunk.index = chunk_index 139 chunk.reused_key = keys.pop() 140 chunk.entry_future = DataEntry.get_async(chunk.reused_key) 142 chunk.data_entry = DataEntry() 143 chunk_data.append(chunk) 146 for chunk in chunk_data: 147 if chunk.entry_future: 148 data_entry = chunk.entry_future.get_result( [all...] |
/external/mockito/src/org/mockito/internal/verification/ |
Only.java | 27 List<Invocation> chunk = finder.findInvocations(invocations,wantedMatcher);
local 28 if (invocations.size() != 1 && chunk.size() > 0) {
31 } else if (invocations.size() != 1 || chunk.size() == 0) {
34 marker.markVerified(chunk.get(0), wantedMatcher);
|
/external/mockito/src/org/mockito/internal/verification/checkers/ |
AtLeastXNumberOfInvocationsInOrderChecker.java | 30 List<Invocation> chunk = finder.findAllMatchingUnverifiedChunks(invocations, wanted, orderingContext); local 32 int actualCount = chunk.size(); 35 Location lastLocation = finder.getLastLocation(chunk); 39 invocationMarker.markVerifiedInOrder(chunk, wanted, orderingContext);
|
/external/qemu/distrib/sdl-1.2.15/src/main/symbian/EKA1/ |
SDL_main.cpp | 60 RChunk chunk; local 62 if(chunk.OpenGlobal(RThread().Name(), ETrue) != KErrNone) 65 TUint* ptr = (TUint*) chunk.Base(); 71 chunk.Close();
|
/external/sonivox/arm-fm-22k/host_src/ |
eas_wave.c | 157 /* initalize 'fmt' chunk */ 165 /* initialize 'data' chunk */ 298 } chunk; local 319 chunk.tag = chunk.size = 0; 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) 336 if (chunk.tag != riffTag) 356 /* looking for fmt chunk */ 358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1 [all...] |
/external/sonivox/arm-hybrid-22k/host_src/ |
eas_wave.c | 157 /* initalize 'fmt' chunk */ 165 /* initialize 'data' chunk */ 298 } chunk; local 319 chunk.tag = chunk.size = 0; 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) 336 if (chunk.tag != riffTag) 356 /* looking for fmt chunk */ 358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1 [all...] |
/external/sonivox/arm-wt-22k/host_src/ |
eas_wave.c | 157 /* initalize 'fmt' chunk */ 165 /* initialize 'data' chunk */ 298 } chunk; local 319 chunk.tag = chunk.size = 0; 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) 336 if (chunk.tag != riffTag) 356 /* looking for fmt chunk */ 358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1 [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
SharedBufferChunkReader.cpp | 73 bool SharedBufferChunkReader::nextChunk(Vector<char>& chunk, bool includeSeparator) 78 chunk.clear(); 85 chunk.append(m_separator.data(), m_separatorIndex); 88 chunk.append(currentCharacter); 94 chunk.append(m_separator); 107 chunk.append(m_separator.data(), m_separatorIndex); 108 return !chunk.isEmpty();
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
e_des.c | 138 size_t n,chunk=EVP_MAXCHUNK/8; local 141 if (inl<chunk) chunk=inl; 143 while (inl && inl>=chunk) 145 for(n=0 ; n < chunk*8; ++n) 153 inl-=chunk; 154 in +=chunk; 155 out+=chunk; 156 if (inl<chunk) chunk=inl [all...] |
/external/chromium_org/v8/test/cctest/ |
test-liveedit.cc | 115 for (DiffChunkStruct* chunk = first_chunk; 116 chunk != NULL; 117 chunk = chunk->next) { 118 int diff_pos1 = chunk->pos1; 122 ASSERT_EQ(diff_pos2, chunk->pos2); 129 diff_parameter += chunk->len1 + chunk->len2; 130 pos1 = diff_pos1 + chunk->len1; 131 pos2 = diff_pos2 + chunk->len2 [all...] |
/external/openssl/crypto/evp/ |
e_des.c | 138 size_t n,chunk=EVP_MAXCHUNK/8; local 141 if (inl<chunk) chunk=inl; 143 while (inl && inl>=chunk) 145 for(n=0 ; n < chunk*8; ++n) 153 inl-=chunk; 154 in +=chunk; 155 out+=chunk; 156 if (inl<chunk) chunk=inl [all...] |
/external/v8/test/cctest/ |
test-liveedit.cc | 113 for (DiffChunkStruct* chunk = first_chunk; 114 chunk != NULL; 115 chunk = chunk->next) { 116 int diff_pos1 = chunk->pos1; 120 ASSERT_EQ(diff_pos2, chunk->pos2); 127 diff_parameter += chunk->len1 + chunk->len2; 128 pos1 = diff_pos1 + chunk->len1; 129 pos2 = diff_pos2 + chunk->len2 [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/include/ |
dxbc.h | 95 dxbc_chunk_header* chunk; local 96 chunk = dxbc_find_chunk(data, size, FOURCC_SHDR); 97 if(!chunk) 98 chunk = dxbc_find_chunk(data, size, FOURCC_SHEX); 99 return chunk;
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/include/ |
dxbc.h | 95 dxbc_chunk_header* chunk; local 96 chunk = dxbc_find_chunk(data, size, FOURCC_SHDR); 97 if(!chunk) 98 chunk = dxbc_find_chunk(data, size, FOURCC_SHEX); 99 return chunk;
|
/frameworks/base/core/jni/android/graphics/ |
NinePatchImpl.cpp | 106 const SkBitmap& bitmap, const android::Res_png_9patch& chunk, 123 chunk.xDivs, chunk.numXDivs, 124 chunk.yDivs, chunk.numYDivs, 148 ALOGV("======== ninepatch xDivs [%d,%d]\n", chunk.xDivs[0], chunk.xDivs[1]); 149 ALOGV("======== ninepatch yDivs [%d,%d]\n", chunk.yDivs[0], chunk.yDivs[1]); 174 const int32_t x0 = chunk.xDivs[0] [all...] |
NinePatch.cpp | 33 const android::Res_png_9patch& chunk, const SkPaint* paint, SkRegion** outRegion); 40 * array required to hold a 9patch chunk is greater than sizeof(Res_png_9patch). 56 const Res_png_9patch* chunk = reinterpret_cast<const Res_png_9patch*>(array); local 57 int8_t wasDeserialized = chunk->wasDeserialized; 67 jniThrowRuntimeException(env, "Array too small for chunk."); 90 Res_png_9patch* chunk, const SkPaint* paint, jint destDensity, jint srcDensity) { 95 NinePatch_Draw(canvas, bounds, *bitmap, *chunk, paint, NULL); 112 NinePatch_Draw(canvas, bounds, *bitmap, *chunk, paint, NULL); 119 const SkBitmap* bitmap, Res_png_9patch* chunk, const SkPaint* paint, 124 SkASSERT(chunk); [all...] |
/external/compiler-rt/lib/lsan/ |
lsan_allocator.cc | 134 uptr chunk = reinterpret_cast<uptr>(allocator.GetBlockBeginFastLocked(p)); local 135 if (!chunk) return 0; 136 // LargeMmapAllocator considers pointers to the meta-region of a chunk to be 138 if (addr < chunk) return 0; 139 ChunkMetadata *m = Metadata(reinterpret_cast<void *>(chunk)); 141 if (m->allocated && addr < chunk + m->requested_size) 142 return chunk; 146 uptr GetUserBegin(uptr chunk) { 147 return chunk; 150 LsanMetadata::LsanMetadata(uptr chunk) { 180 void *chunk = allocator.GetBlockBegin(p); local [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/parser/ |
BackgroundHTMLParser.cpp | 190 OwnPtr<HTMLDocumentParser::ParsedChunk> chunk = adoptPtr(new HTMLDocumentParser::ParsedChunk); local 191 chunk->tokens = m_pendingTokens.release(); 192 chunk->preloads.swap(m_pendingPreloads); 193 chunk->xssInfos.swap(m_pendingXSSInfos); 194 chunk->tokenizerState = m_tokenizer->state(); 195 chunk->treeBuilderState = m_treeBuilderSimulator.state(); 196 chunk->inputCheckpoint = m_input.createCheckpoint(); 197 chunk->preloadScannerCheckpoint = m_preloadScanner->createCheckpoint(); 198 callOnMainThread(bind(&HTMLDocumentParser::didReceiveParsedChunkFromBackgroundParser, m_parser, chunk.release()));
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/d3d1xshader/src/ |
dxbc_parse.cpp | 44 dxbc_chunk_header* chunk = (dxbc_chunk_header*)((char*)data + offset); local 45 unsigned fourcc = bswap_le32(chunk->fourcc); 47 container->chunks.push_back(chunk); 62 dxbc_chunk_header* chunk = (dxbc_chunk_header*)((char*)data + offset); local 63 if(bswap_le32(chunk->fourcc) == fourcc) 64 return chunk;
|