| /external/chromium_org/third_party/icu/source/common/ |
| unames.cpp | 53 * and we don't want to make it less compact, so we changed the access code. 101 UChar32 code; member in struct:__anon16636 448 static uint16_t getExtName(uint32_t code, char *buffer, uint16_t bufferLength) { 449 const char *catname = getCharCatName(code); 460 for (cp = code, ndigits = 0; cp; ++ndigits, cp >>= 4) 464 for (cp = code, i = ndigits; (cp || i > 0) && bufferLength; cp >>= 4, bufferLength--) { 477 * Unicode code point "code". 478 * The return value is always a valid Group* that may contain "code" 479 * or else is the highest group before "code" 1079 UChar32 code; local [all...] |
| /external/chromium_org/third_party/icu/source/test/cintltst/ |
| cldrtest.c | 505 /* TODO: Compare against parent's data too. This code can't handle fallbacks that some tools do already. */ 1131 UScriptCode code[MAX_SCRIPTS_PER_LOCALE]; local [all...] |
| /external/chromium_org/third_party/leveldatabase/ |
| env_chromium.cc | 2 // Use of this source code is governed by a BSD-style license that can be 298 int code = GetCorruptionCode(status); local 299 if (code == 0) 301 return patterns[code - 1];
|
| /external/chromium_org/third_party/libwebp/enc/ |
| backward_references.c | 3 // Use of this source code is governed by a BSD-style license 374 // Alternative#1: Code the pixels starting at 'i' using backward reference. 384 // Alternative#2: Insert the pixel at 'i' as literal, and code the 548 int code, extra_bits; local 549 VP8LPrefixEncodeBits(length, &code, &extra_bits); 550 return m->literal_[VALUES_IN_BYTE + code] + extra_bits; 555 int code, extra_bits; local 556 VP8LPrefixEncodeBits(distance, &code, &extra_bits); 557 return m->distance_[code] + extra_bits; 616 const int code = DistanceToPlaneCode(xsize, offset) local [all...] |
| histogram.c | 3 // Use of this source code is governed by a BSD-style license 141 int code, extra_bits; local 142 VP8LPrefixEncodeBits(PixOrCopyLength(v), &code, &extra_bits); local 143 ++histo->literal_[NUM_LITERAL_CODES + code]; 144 VP8LPrefixEncodeBits(PixOrCopyDistance(v), &code, &extra_bits); local 145 ++histo->distance_[code]; 156 // Two symbols, they will be 0 and 1 in a Huffman code. 225 // Small bias because Huffman code length is typically not stored in 498 // TODO(vikasa): Evaluate if this method can be avoided by altering the code
|
| /external/chromium_org/third_party/lzma_sdk/ |
| LzmaDec.c | 17 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); } 19 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 21 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); 47 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); } 49 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 51 #define UPDATE_1_CHECK range -= bound; code -= bound; 151 UInt32 code = p->code; local 490 UInt32 code = p->code; local [all...] |
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/ |
| radeon_code.h | 252 } code; member in struct:rX00_fragment_program_code
|
| /external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
| r300_emit.c | 228 struct rc_constant_list *constants = &fs->shader->code.constants; 289 struct rc_constant_list *constants = &fs->shader->code.constants; 999 struct r300_vertex_program_code* code = &vs->code; local [all...] |
| /external/chromium_org/third_party/mesa/src/src/mesa/main/ |
| texcompress_fxt1.c | 194 * and is vaguely based on Texus2 by 3dfx. Note that this code 1641 const GLubyte *code = (const GLubyte *)texture + local [all...] |
| /external/chromium_org/third_party/ots/src/ |
| woff2.cc | 2 // Use of this source code is governed by a BSD-style license that can be 157 uint8_t code = 0; local 158 if (!buf->ReadU8(&code)) { 161 if (code == kWordCode) { 168 } else if (code == kOneMoreByteCode1) { 175 } else if (code == kOneMoreByteCode2) { 183 *value = code; 191 uint8_t code = 0; local 192 if (!buf->ReadU8(&code)) { 199 result = (result << 7) | (code & 0x7f) [all...] |
| /external/chromium_org/third_party/ots/third_party/lzma_sdk/ |
| LzmaDec.c | 18 #define NORMALIZE if (range < kTopValue) { range <<= 8; code = (code << 8) | (*buf++); } 20 #define IF_BIT_0(p) ttt = *(p); NORMALIZE; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 22 #define UPDATE_1(p) range -= bound; code -= bound; *(p) = (CLzmaProb)(ttt - (ttt >> kNumMoveBits)); 48 #define NORMALIZE_CHECK if (range < kTopValue) { if (buf >= bufLimit) return DUMMY_ERROR; range <<= 8; code = (code << 8) | (*buf++); } 50 #define IF_BIT_0_CHECK(p) ttt = *(p); NORMALIZE_CHECK; bound = (range >> kNumBitModelTotalBits) * ttt; if (code < bound) 52 #define UPDATE_1_CHECK range -= bound; code -= bound; 152 UInt32 code = p->code; local 491 UInt32 code = p->code; local [all...] |
| /external/chromium_org/third_party/re2/re2/ |
| parse.cc | 2 // Use of this source code is governed by a BSD-style 795 // It's too much of a pain to write this code with an explicit stack, 1254 int code; local [all...] |
| regexp.h | 2 // Use of this source code is governed by a BSD-style 83 // form accessible to clients, so that client code can analyze the 188 void set_code(enum RegexpStatusCode code) { code_ = code; } 191 enum RegexpStatusCode code() const { return code_; } function in class:re2::RegexpStatus 193 bool ok() const { return code() == kRegexpSuccess; } 198 // Returns text equivalent of code, e.g.: 200 static string CodeText(enum RegexpStatusCode code);
|
| /external/chromium_org/third_party/skia/src/pdf/ |
| SkPDFShader.cpp | 5 * Use of this source code is governed by a BSD-style license that can be 106 /* Generate Type 4 function code to map t=[0,1) to the passed gradient, 107 clamping at the edges of the range. The generated code will be of the form: 198 // Code Stack 214 * Returns PS function code that applies inverse perspective 218 * After executing this code on a PS stack, the last 2 elements are updated 224 SkString code; local 226 return code; 242 code.append(" dup "); // x y y 243 code.appendScalar(p1); // x y y p [all...] |
| /external/chromium_org/third_party/sqlite/src/src/ |
| func.c | 4 ** The author disclaims copyright to this source code. In place of 17 ** All other code has file scope. 368 ** here. But now they are implemented as VDBE code so that unused arguments 763 ** that identifies the particular version of the source code used to build 832 ** change. This function may disappear. Do not write code that depends 1161 int code = iCode[zIn[i]&0x7f]; local [all...] |
| /external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
| section.c | 9 * 1. Redistributions of source code must retain the above copyright 68 int code; /* section contains code (instructions) */ member in struct:yasm_section 304 unsigned long align, int code, int res_only, 344 s->code = code; 402 return sect->code; 726 * CODE GENERATION FOR SHORT/LONG ADDRESS MACHINES [all...] |
| /external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/bin/ |
| bin-objfmt.c | 9 * 1. Redistributions of source code must retain the above copyright 1461 unsigned long code; member in struct:bin_section_switch_data [all...] |
| /external/chromium_org/ui/events/ |
| event.h | 2 // Use of this source code is governed by a BSD-style license that can be 580 // code, then key_code_ is that code; if not, then key_code_ is the unmapped 581 // VKEY_ code. For example, US, Greek, Cyrillic, Japanese, etc. all use 590 // -- key_code_ is conflated with character_ by some code, because both 607 // Used for synthetic events with code of DOM KeyboardEvent (e.g. 'KeyA') 611 const std::string& code, 650 // Gets the platform key code. For XKB, this is the xksym value. 683 std::string code() const { return code_; } function in class:ui::KeyEvent 707 // String of 'code' defined in DOM KeyboardEvent (e.g. 'KeyA', 'Space' [all...] |
| /external/chromium_org/v8/src/arm64/ |
| builtins-arm64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 99 // Run the native code for the InternalArray function called as a normal 127 // Run the native code for the Array function called as a normal function. 275 __ Add(x2, x2, Code::kHeaderSize - kHeapObjectTag); 281 __ Add(x0, x0, Code::kHeaderSize - kHeapObjectTag); 339 // Try to allocate the object without transitioning into C code. If any of 340 // the preconditions is not met, the code bails out to the runtime call. 482 // and jump into the continuation code at any time from now on. Any 618 Handle<Code> code local [all...] |
| regexp-macro-assembler-arm64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 9 #include "src/code-stubs.h" 25 * - w19 : Used to temporarely store a value before a call to C code. 27 * - x20 : Pointer to the current code object (Code*), 48 * registers need to be retained every time a call to C code 58 * the code) 65 * - fp[88] lr Return from the RegExp code. 68 * - fp[-8] direct_call 1 => Direct call from JavaScript code. 91 * code and the remaining arguments are passed in registers, e.g. by calling th 1044 Handle<Code> code = isolate()->factory()->NewCode( local [all...] |
| /external/chromium_org/v8/src/compiler/ |
| register-allocator.h | 2 // Use of this source code is governed by a BSD-style license that can be 107 // Code relies on kStep being a power of two. 322 explicit RegisterAllocator(InstructionSequence* code); 343 inline InstructionSequence* code() const { return code_; } function in class:v8::internal::compiler::BASE_EMBEDDED 350 inline Zone* code_zone() { return code()->zone(); } 353 int vreg = code()->NextVirtualRegister(); 493 return code()->InstructionAt(index);
|
| /external/chromium_org/v8/src/ |
| debug.h | 2 // Use of this source code is governed by a BSD-style license that can be 95 return static_cast<int>(pc() - debug_info_->code()->entry()); 101 inline Code* code() { return debug_info_->code(); } function in class:v8::internal::BreakLocationIterator 337 // setting break points in the code. 409 // Purge all code objects that have no debug break slots. 476 // Support for embedding into generated code. 720 // Code generator routines. 737 // FrameDropper is a code replacement for a JavaScript frame with possibl [all...] |
| /external/chromium_org/v8/src/x64/ |
| assembler-x64.h | 8 // - Redistributions of source code must retain the above copyright notice, 31 // The original source code covered by the above license above has been 50 // compatible with int, which has caused code-generation bugs. 62 // code generated for some assembly instructions (because they boil down 63 // to a few constants). If this is a problem, we could change the code 66 // and best performance in optimized code. 83 return kAllocationIndexByRegisterCode[reg.code()]; 110 static Register from_code(int code) { 111 Register r = { code }; 118 int code() const function in struct:v8::internal::Register [all...] |
| /external/chromium_org/v8/test/cctest/ |
| test-cpu-profiler.cc | 6 // * Redistributions of source code must retain the above copyright 102 i::Code* CreateCode(LocalContext* env) { 120 return fun->code(); 133 i::Code* aaa_code = CreateCode(&env); 134 i::Code* comment_code = CreateCode(&env); 135 i::Code* args5_code = CreateCode(&env); 136 i::Code* comment2_code = CreateCode(&env); 137 i::Code* moved_code = CreateCode(&env); 138 i::Code* args3_code = CreateCode(&env); 139 i::Code* args4_code = CreateCode(&env) 269 i::Code* code = CreateCode(&env); local [all...] |
| test-regexp.cc | 6 // * Redistributions of source code must retain the above copyright 713 static ArchRegExpMacroAssembler::Result Execute(Code* code, 720 code, 744 Handle<Code> code = Handle<Code>::cast(code_object); local 753 Execute(*code, 798 Handle<Code> code = Handle<Code>::cast(code_object) local 864 Handle<Code> code = Handle<Code>::cast(code_object); local 928 Handle<Code> code = Handle<Code>::cast(code_object); local 972 Handle<Code> code = Handle<Code>::cast(code_object); local 1021 Handle<Code> code = Handle<Code>::cast(code_object); local 1079 Handle<Code> code = Handle<Code>::cast(code_object); local 1140 Handle<Code> code = Handle<Code>::cast(code_object); local 1239 Handle<Code> code = Handle<Code>::cast(code_object); local 1282 Handle<Code> code = Handle<Code>::cast(code_object); local 1328 Handle<Code> code = Handle<Code>::cast(code_object); local [all...] |