/external/opencv/otherlibs/highgui/ |
grfmt_bmp.cpp | 19 // * Redistribution's of source code must retain the above copyright notice, 258 int code = m_strm.GetWord(); local 259 int len = code & 255; 260 code >>= 8; 267 clr[0] = m_palette[code >> 4]; 268 clr[1] = m_palette[code & 15]; 269 gray_clr[0] = gray_palette[code >> 4]; 270 gray_clr[1] = gray_palette[code & 15]; 284 else if( code > 2 ) // absolute mode 286 if( data + code*nch > line_end ) goto decode_rle4_bad 347 int code = m_strm.GetWord(); local [all...] |
/external/chromium_org/chrome/test/chromedriver/chrome/ |
navigation_tracker_unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 21 ASSERT_EQ(kOk, tracker->IsPendingNavigation(frame_id, &is_pending).code()); 33 kOk, tracker.OnEvent(&client, "Page.frameStartedLoading", params).code()); 36 kOk, tracker.OnEvent(&client, "Page.frameStoppedLoading", params).code()); 52 &client, "Page.frameScheduledNavigation", params_scheduled).code()); 55 kOk, tracker.OnEvent(&client, "Page.frameStartedLoading", params).code()); 60 .code()); 63 kOk, tracker.OnEvent(&client, "Page.frameStoppedLoading", params).code()); 77 &client, "Page.frameScheduledNavigation", params_scheduled).code()); 93 &client, "Page.frameScheduledNavigation", params_scheduled).code()); [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/ |
r300_vs.c | 116 c->code->inputs[i] = i; 120 c->code->outputs[outputs->pos] = reg++; 127 c->code->outputs[outputs->psize] = reg++; 140 c->code->outputs[outputs->color[i]] = reg++; 150 c->code->outputs[outputs->bcolor[i]] = reg++; 159 c->code->outputs[outputs->generic[i]] = reg++; 165 c->code->outputs[outputs->fog] = reg++; 169 c->code->outputs[outputs->wpos] = reg++; 217 compiler.code = &vs->code; [all...] |
/external/mesa3d/src/gallium/drivers/r300/ |
r300_vs.c | 116 c->code->inputs[i] = i; 120 c->code->outputs[outputs->pos] = reg++; 127 c->code->outputs[outputs->psize] = reg++; 140 c->code->outputs[outputs->color[i]] = reg++; 150 c->code->outputs[outputs->bcolor[i]] = reg++; 159 c->code->outputs[outputs->generic[i]] = reg++; 165 c->code->outputs[outputs->fog] = reg++; 169 c->code->outputs[outputs->wpos] = reg++; 217 compiler.code = &vs->code; [all...] |
/frameworks/av/media/mtp/ |
MtpDebug.cpp | 23 uint16_t code; member in struct:android::CodeEntry 370 static const char* getCodeName(uint16_t code, const CodeEntry* table) { 373 if (entry->code == code) 380 const char* MtpDebug::getOperationCodeName(MtpOperationCode code) { 381 return getCodeName(code, sOperationCodes); 384 const char* MtpDebug::getFormatCodeName(MtpObjectFormat code) { 385 if (code == 0) 387 return getCodeName(code, sFormatCodes); 390 const char* MtpDebug::getObjectPropCodeName(MtpPropertyCode code) { [all...] |
/external/chromium_org/v8/tools/ |
ll_prof.py | 8 # * Redistributions of source code must retain the above copyright 84 class Code(object): 85 """Code object.""" 94 self.id = Code._id 95 Code._id += 1 106 self.codetype = Code.OPTIMIZED 108 self.codetype = Code.FULL_CODEGEN 110 self.codetype = Code.V8INTERNAL 112 self.codetype = Code.UNKNOWN 208 """Group of adjacent code objects."" [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/md5/asm/ |
md5-x86_64.pl | 6 # Licence: I hereby disclaim the copyright on this code and place it 12 my $code; 22 $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1); 23 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 24 $code .= <<EOF; 46 $code .= " mov 1*4(%rsi), %r10d /* (NEXT STEP) X[1] */\n" if ($pos == -1); 47 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 48 $code .= " mov %edx, %r12d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 49 $code .= <<EOF; 72 $code .= " mov 5*4(%rsi), %r10d /* (NEXT STEP) X[5] */\n" if ($pos == -1) [all...] |
/external/openssl/crypto/md5/asm/ |
md5-x86_64.pl | 6 # Licence: I hereby disclaim the copyright on this code and place it 12 my $code; 22 $code .= " mov 0*4(%rsi), %r10d /* (NEXT STEP) X[0] */\n" if ($pos == -1); 23 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 24 $code .= <<EOF; 46 $code .= " mov 1*4(%rsi), %r10d /* (NEXT STEP) X[1] */\n" if ($pos == -1); 47 $code .= " mov %edx, %r11d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 48 $code .= " mov %edx, %r12d /* (NEXT STEP) z' = %edx */\n" if ($pos == -1); 49 $code .= <<EOF; 72 $code .= " mov 5*4(%rsi), %r10d /* (NEXT STEP) X[5] */\n" if ($pos == -1) [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
XMPPError.java | 27 * problems by sending the packet back and including an error packet. Each error has a code, type, 31 * <hr><td><b>Code</b></td><td><b>XMPP Error</b></td><td><b>Type</b></td></hr> 62 private int code; field in class:XMPPError 70 * Creates a new error with the specified condition infering the type and code. 71 * If the Condition is predefined, client code should be like: 84 * Creates a new error with the specified condition and message infering the type and code. 85 * If the Condition is predefined, client code should be like: 99 * Creates a new error with the specified code and no message. 101 * @param code the error code 357 private int code; field in class:XMPPError.ErrorSpecification [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
residual.cpp | 33 uint code; local 54 code = *((uint*)pSrc); 56 *((uint*)pDst) = code; 58 status = BitstreamWriteBits(stream, 32, code); 63 code = *((uint*)pSrc); 65 *((uint*)pDst) = code; 67 status = BitstreamWriteBits(stream, 16, code); 87 code = *((uint*)pSrc); 89 *((uint*)pDst) = code; 91 status = BitstreamWriteBits(stream, 32, code); [all...] |
/art/runtime/mirror/ |
art_method-inl.h | 84 uintptr_t code = reinterpret_cast<uintptr_t>(GetEntryPointFromCompiledCode()); local 85 if (code == 0) { 89 code &= ~0x1; 90 return reinterpret_cast<uint32_t*>(code)[-1]; 125 const void* code = GetEntryPointFromCompiledCode(); local 126 if (code == GetCompiledCodeToInterpreterBridge() || code == GetQuickInstrumentationEntryPoint()) { 130 if (code == GetResolutionTrampoline(class_linker)) { 136 << " code=" << code [all...] |
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
TextResourceDecoder.cpp | 108 static int ISkanji(int code) 110 if (code >= 0x100) 112 return sjisMap[code & 0xff] & 1; 114 static int ISkana(int code) 116 if (code >= 0x100) 118 return sjisMap[code & 0xff] & 2; 163 enum Type code; local 172 code = ASCII; 181 code = JIS; 185 code = JIS [all...] |
/external/chromium_org/third_party/jinja2/ |
bccache.py | 38 def marshal_dump(code, f): 40 marshal.dump(code, f) 42 f.write(marshal.dumps(code)) 79 self.code = None 88 # the source code of the file changed, we need to reload 93 self.code = marshal_load(f) 97 if self.code is None: 101 marshal_dump(self.code, f) 145 bucket. If they are not able to find code in the cache for the 293 code = self.client.get(self.prefix + bucket.key [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/rc4/asm/ |
rc4-x86_64.pl | 28 # Opteron... For reference, 1x in this case is RC4_CHAR C-code 35 # Intel P4 EM64T core was found to run the AMD64 code really slow... 38 # compose blended code, which would perform even within 30% marginal 52 # provided that loads are reordered even more aggressively! Both code 57 # If executed on Xeon, current RC4_CHAR code-path is 2.7x faster than 58 # RC4_INT code-path. While if executed on Opteron, it's only 25% 60 # is not implemented, then this final RC4_CHAR code-path should be 65 # Intel Core2 was observed to perform poorly on both code paths:-( It 70 # fit for Core2 and therefore the code was modified to skip cloop8 on 81 # The only code path that was not modified is P4-specific one. Non-P [all...] |
/external/javassist/src/main/javassist/ |
CtMethod.java | 21 * An instance of <code>CtMethod</code> represents a method. 23 * <p>See the super class <code>CtBehavior</code> since 24 * a number of useful methods are in <code>CtBehavior</code>. 25 * A number of useful factory methods are in <code>CtNewMethod</code>. 43 * added to a class with <code>CtClass.addMethod()</code> 285 Bytecode code = CtNewWrappedMethod.makeBody(clazz, local [all...] |
/external/openssl/crypto/rc4/asm/ |
rc4-x86_64.pl | 28 # Opteron... For reference, 1x in this case is RC4_CHAR C-code 35 # Intel P4 EM64T core was found to run the AMD64 code really slow... 38 # compose blended code, which would perform even within 30% marginal 52 # provided that loads are reordered even more aggressively! Both code 57 # If executed on Xeon, current RC4_CHAR code-path is 2.7x faster than 58 # RC4_INT code-path. While if executed on Opteron, it's only 25% 60 # is not implemented, then this final RC4_CHAR code-path should be 65 # Intel Core2 was observed to perform poorly on both code paths:-( It 70 # fit for Core2 and therefore the code was modified to skip cloop8 on 81 # The only code path that was not modified is P4-specific one. Non-P [all...] |
/ndk/sources/host-tools/make-3.81/tests/ |
run_make_tests.pl | 78 # [3] (integer): Exit code we expect. A missing code means 0 (success) 133 local($code); 153 $code = &run_command_with_output($logname,$command); 159 if ($code & 0x7000) { 160 $code &= ~0x7000; 173 if ($code != $expected_code) { 174 print "Error running $make_path (expected $expected_code; got $code): $command\n"; 177 if ($code & 127) { 178 print STDERR "\nCaught signal ".($code & 127)."!\n" [all...] |
/external/iptables/extensions/ |
libip6t_icmp6.c | 83 " (or numeric type or type/code)\n"); 94 parse_icmpv6(const char *icmpv6type, uint8_t *type, uint8_t code[]) 116 code[0] = icmpv6_codes[match].code_min; 117 code[1] = icmpv6_codes[match].code_max; 136 "Invalid ICMPv6 code `%s'\n", 138 code[0] = code[1] = number; 140 code[0] = 0; 141 code[1] = 0xFF; 150 icmpv6info->code[1] = 0xFF [all...] |
libipt_icmp.c | 107 "[!] --icmp-type type[/code] (or numeric type or type/code)\n"); 118 parse_icmp(const char *icmptype, uint8_t *type, uint8_t code[]) 140 code[0] = icmp_codes[match].code_min; 141 code[1] = icmp_codes[match].code_max; 160 "Invalid ICMP code `%s'\n", 162 code[0] = code[1] = number; 164 code[0] = 0; 165 code[1] = 0xFF [all...] |
/external/libvorbis/vq/ |
distribution.c | 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 * 165 float code; local 172 while(!flag && sscanf(line,"%f",&code)==1){ 174 min=max=code; 178 while(line && sscanf(line,"%f",&code)==1){ 181 if(code<min)min=code; 182 if(code>max)max=code; 208 float code; local [all...] |
/external/chromium_org/v8/test/mjsunit/regress/ |
regress-seqstrsetchar-ex1.js | 6 // * Redistributions of source code must retain the above copyright 37 function StringFromCharCode(code) { 42 var code = %_Arguments(i); 43 if (!%_IsSmi(code)) code = ToNumber(code) & 0xffff; 44 if (code > 0xff) break; 49 var code = %_Arguments(i); 50 %_TwoByteSeqStringSetChar(two_byte, j, code);
|
/art/compiler/ |
compiled_method.h | 37 // For Quick to supply an code blob 39 const std::vector<uint8_t>& code); 53 void SetCode(const std::vector<uint8_t>& code); 60 // for code storage. For example on ARM, to ensure that PC relative 65 // returns the difference between the code address and a usable PC. 69 // Returns a pointer suitable for invoking the code at the argument 86 // Used to store the PIC code for Quick and an ELF image for portable. 104 const std::vector<uint8_t>& code, 115 const std::vector<uint8_t>& code, 121 CompiledMethod(CompilerDriver& driver, InstructionSet instruction_set, const std::string& code, [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/form/ |
Form21c.java | 17 package com.android.dexgen.dex.code.form; 19 import com.android.dexgen.dex.code.CstInsn; 20 import com.android.dexgen.dex.code.DalvInsn; 21 import com.android.dexgen.dex.code.InsnFormat; 22 import com.android.dexgen.rop.code.RegisterSpec; 23 import com.android.dexgen.rop.code.RegisterSpecList; 31 * Instruction format {@code 21c}. See the instruction format spec 35 /** {@code non-null;} unique instance of this class */
|
/dalvik/dx/src/com/android/dx/dex/code/form/ |
Form12x.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.DalvInsn; 20 import com.android.dx.dex.code.InsnFormat; 21 import com.android.dx.dex.code.SimpleInsn; 22 import com.android.dx.rop.code.RegisterSpec; 23 import com.android.dx.rop.code.RegisterSpecList; 28 * Instruction format {@code 12x}. See the instruction format spec 32 /** {@code non-null;} unique instance of this class */ 50 * The (sz - 2) and (sz - 1) below makes this code work for 152 * The (sz - 2) and (sz - 1) below makes this code work fo [all...] |
Form21c.java | 17 package com.android.dx.dex.code.form; 19 import com.android.dx.dex.code.CstInsn; 20 import com.android.dx.dex.code.DalvInsn; 21 import com.android.dx.dex.code.InsnFormat; 22 import com.android.dx.rop.code.RegisterSpec; 23 import com.android.dx.rop.code.RegisterSpecList; 32 * Instruction format {@code 21c}. See the instruction format spec 36 /** {@code non-null;} unique instance of this class */
|