/frameworks/base/services/tests/servicestests/src/com/android/server/connectivity/ |
LingerMonitorTest.java | 10 * Unless required by applicable law or agreed to in writing, software 86 NetworkAgentInfo to = cellNai(101); local 88 mMonitor.noteLingerDefaultNetwork(from, to); 89 verifyNotification(from, to); 96 NetworkAgentInfo to = cellNai(101); local 98 mMonitor.noteLingerDefaultNetwork(from, to); 99 verifyToast(from, to); 106 NetworkAgentInfo to = cellNai(101); local 108 mMonitor.noteLingerDefaultNetwork(from, to); 109 verifyNotification(from, to); 119 NetworkAgentInfo to = cellNai(101); local 132 NetworkAgentInfo to = cellNai(101); local 218 NetworkAgentInfo to = cellNai(101); local 234 NetworkAgentInfo to = cellNai(101); local 245 NetworkAgentInfo to = cellNai(101); local 256 NetworkAgentInfo to = cellNai(101); local 266 NetworkAgentInfo to = cellNai(101); local 276 NetworkAgentInfo to = cellNai(101); local [all...] |
/external/compiler-rt/lib/asan/tests/ |
asan_str_test.cc | 23 // Input to a test is a zero-terminated string str with given length 24 // Accesses to the bytes to the left and to the right of str 25 // are presumed to produce OOB errors 35 // We don't insert RedZones to the left of global variables 42 // String is not zero-terminated, strlen will lead to OOB access 61 // TODO(samsonov): Fix expected messages in StrLenOOBTestTemplate to 62 // make test for stack_string work. Or move it to output tests. 90 // Argument points to not allocated memory 122 char *to = Ident((char*)malloc(to_size)); local 145 char *to = Ident((char*)malloc(to_size)); local 356 char *to = MallocAndMemsetString(to_size); local 391 char *to = MallocAndMemsetString(to_size); local [all...] |
/external/llvm/test/MC/Mips/ |
micromips-bad-branches.s | 3 # CHECK: error: branch to misaligned address 7 # CHECK: error: branch to misaligned address 12 # CHECK: error: branch to misaligned address 16 # CHECK: error: branch to misaligned address 21 # CHECK: error: branch to misaligned address 25 # CHECK: error: branch to misaligned address 30 # CHECK: error: branch to misaligned address 34 # CHECK: error: branch to misaligned address 39 # CHECK: error: branch to misaligned address 43 # CHECK: error: branch to misaligned addres [all...] |
/external/mesa3d/src/mesa/math/ |
m_xform_tmp.h | 8 * Permission is hereby granted, free of charge, to any person obtaining a 10 * to deal in the Software without restriction, including without limitation 11 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 12 * and/or sell copies of the Software, and to permit persons to whom the 13 * Software is furnished to do so, subject to the following conditions: 19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 40 /* KW: These are now parameterized to produce two versions, one 49 * cleaning unused parts of the vector, and so as not to exclud [all...] |
/build/core/clang/ |
TARGET_mips64.mk | 39 define convert-to-clang-flags 47 $(call convert-to-clang-flags,$(TARGET_GLOBAL_CFLAGS)) \ 51 $(call convert-to-clang-flags,$(TARGET_GLOBAL_CONLYFLAGS)) \ 55 $(call convert-to-clang-flags,$(TARGET_GLOBAL_CPPFLAGS)) \ 59 $(call convert-to-clang-flags,$(TARGET_GLOBAL_LDFLAGS)) \
|
TARGET_x86_64.mk | 39 define convert-to-clang-flags 47 $(call convert-to-clang-flags,$(TARGET_GLOBAL_CFLAGS)) \ 51 $(call convert-to-clang-flags,$(TARGET_GLOBAL_CONLYFLAGS)) \ 55 $(call convert-to-clang-flags,$(TARGET_GLOBAL_CPPFLAGS)) \ 59 $(call convert-to-clang-flags,$(TARGET_GLOBAL_LDFLAGS)) \
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.pde.build_3.6.1.R36x_v20100823/templates/headless-build/ |
build.properties | 12 # Parameters describing how and where to execute the build. 15 # bootclasspath - The base jars to compile against (typicaly rt.jar) 16 # configs - the list of {os, ws, arch} configurations to build. 27 product=/plugin or feature id/path/to/.product 39 # The list of {os, ws, arch} configurations to build. This 62 # Setting this value to true will cause PDE to only create one output containing all 64 # To control the output format for the group, add a "group, group, group - <format>" entry to the 81 #Allow cycles involving at most one bundle that needs to be compiled with the rest being binary bundles [all...] |
/external/icu/icu4j/eclipse-build/pdebuild/ |
build.properties | 12 # Parameters describing how and where to execute the build. 15 # bootclasspath - The base jars to compile against (typicaly rt.jar) 16 # configs - the list of {os, ws, arch} configurations to build. 22 product=/plugin or feature id/path/to/.product 35 # The list of {os, ws, arch} configurations to build. This 51 # Setting this value to try will cause PDE to only create one output containing all 68 #Set to true if you want the output to be ready for an update jar (no site.xml generated) 71 #Set to true for Jnlp generatio [all...] |
/external/v8/test/mjsunit/regress/ |
regress-520029.js | 8 // lead to a parsing error 10 // This used to cause a crash in the parser 13 // This used to lead to a ReferenceError 17 // This used to cause a crash in the parser
|
/ndk/sources/cxx-stl/stlport/src/ |
codecvt.cpp | 11 * Permission to use or copy this software for any purpose is hereby granted 13 * Permission to modify the code and to distribute modified code is granted, 87 extern_type* to, 90 ptrdiff_t len = (min) (from_end - from, to_limit - to); 91 copy(from, from + len, to); 93 to_next = to + len; 102 intern_type* to, 105 ptrdiff_t len = (min) (from_end - from, to_limit - to); 107 __REINTERPRET_CAST(const unsigned char*, from) + len, to); [all...] |
/prebuilts/go/darwin-x86/src/log/syslog/ |
doc.go | 5 // Package syslog provides a simple interface to the system log 6 // service. It can send messages to the syslog daemon using UNIX 9 // Only one call to Dial is necessary. On write failures, 10 // the syslog client will attempt to reconnect to the server
|
/prebuilts/go/linux-x86/src/log/syslog/ |
doc.go | 5 // Package syslog provides a simple interface to the system log 6 // service. It can send messages to the syslog daemon using UNIX 9 // Only one call to Dial is necessary. On write failures, 10 // the syslog client will attempt to reconnect to the server
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-cris/ |
asneed1.d | 8 # Using --as-needed caused a elf_hash_table (info)->dynobj to be 11 # htab->dynobj, trigging a SEGV due to a NULL dereference for 15 # all) because the library isn't needed and would have to move 16 # to the end of the link-line to have effect if actually needed.
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-elf/ |
sec-to-seg.exp | 1 # Test the assigment of sections to segments. 19 # along with this program; if not, write to the Free Software 23 set testname "assignment of ELF sections to segments" 30 if { ! [ld_assemble $as $srcdir/$subdir/sec-to-seg1.s tmpdir/sec-to-seg1.o] 31 || ! [ld_assemble $as $srcdir/$subdir/sec-to-seg2.s tmpdir/sec-to-seg2.o]} then { 43 if {! [ld_simple_link $ld tmpdir/sec-to-seg "-T $srcdir/$subdir/$scriptname tmpdir/sec-to-seg1.o tmpdir/sec-to-seg2.o"] } then [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/i386/ |
x86-64-opcode.s | 6 CALLq *(%r8) # -- -- -- 41 FF 10 ; REX to access upper reg. 8 CALLq *(%r8) # -- -- -- 41 FF 10 ; REX to access upper reg. 23 MOVw %cs,(%r8) # -- -- -- 41 8C 08 ; REX to access upper reg. 25 MOVw %ss,(%r8) # -- -- -- 41 8C 10 ; REX to access upper reg. 27 MOVw %fs,(%r8) # -- -- -- 41 8C 20 ; REX to access upper reg. 29 MOVw (%r8),%ss # -- -- -- 41 8E 10 ; REX to access upper reg. 31 MOVw (%r8),%fs # -- -- -- 41 8E 20 ; REX to access upper reg. 33 MOVb $0,(%r8) # -- -- -- 41 C6 00 00 ; REX to access upper reg. 35 MOVw $0x7000,(%r8) # 66 -- -- 41 C7 00 00 70 ; REX to access upper reg. O16 for 16-bit operand size 37 MOVl $0x70000000,(%r8) # -- -- -- 41 C7 00 00 00 00 70 ; REX to access upper reg [all...] |
/external/mesa3d/docs/ |
MESA_copy_sub_buffer.spec | 33 of the back color buffer to the front color buffer. This can be 34 used to quickly repaint 3D windows in response to expose events 54 Additions to Chapter 3 of the GLX 1.3 Specification (Functions and Errors) 56 Add to section 3.3.10 Double Buffering: 63 may be used to copy a rectangular region of the back color buffer to 64 the front color buffer. This can be used to quickly repaint 3D windows 65 in response to expose events when the back color buffer cannot be 68 <x> and <y> indicates the lower-left corner of the region to copy an [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_bvgraph.h | 44 bool addEdge(uptr from, uptr to) { 45 check(from, to); 46 return v[from].setBit(to); 50 uptr addEdges(const BV &from, uptr to, uptr added_edges[], 56 if (v[node].setBit(to)) 64 // Returns true if an edge from=>to exist. 69 bool hasEdge(uptr from, uptr to) { return v[from].getBit(to); } 71 // Returns true if the edge from=>to was removed. 72 bool removeEdge(uptr from, uptr to) { [all...] |
/external/llvm/test/MC/ARM/ |
multi-section-mapping.s | 10 @ A section should be able to start with a $t 15 @ A setion should be able to start with a $d 19 @ Changing back to .text should not emit a redundant $a 25 @ + .text to have $a at 0 and no others 26 @ + .wibble to have $a at 0 27 @ + .starts_thumb to have $t at 0 28 @ + .starts_data to have $d at 0
|
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
InCallAnimationUtils.java | 10 * Unless required by applicable law or agreed to in writing, software 105 * Starts cross-fade animation using TransitionDrawable. Nothing will happen if "from" and "to" 109 final ImageView imageView, final Drawable from, final Drawable to) { 111 // pointing to the same Bitmap. 112 final boolean drawableIsEqual = (from != null && to != null && from.equals(to)); 115 final boolean hasToImage = ((to instanceof BitmapDrawable) && 116 ((BitmapDrawable) to).getBitmap() != null); 118 ((BitmapDrawable) from).getBitmap().equals(((BitmapDrawable) to).getBitmap())); 124 + Integer.toHexString(to.hashCode()) + ")") [all...] |
/toolchain/binutils/binutils-2.25/gas/testsuite/gas/tic6x/ |
sploop-bad-1.l | 2 [^:]*:5: Error: too many operands to 'spkernel' 5 [^:]*:8: Error: too many operands to 'spkernelr' 7 [^:]*:10: Error: bad number of operands to 'sploop' 11 [^:]*:14: Error: bad number of operands to 'sploopd' 15 [^:]*:18: Error: bad number of operands to 'sploopw' 20 [^:]*:23: Error: too many operands to 'spmask' 23 [^:]*:26: Error: too many operands to 'spmaskr'
|
/external/chromium-trace/catapult/third_party/chai/ |
chai.js | 1 !function(){function require(e){var t=require.modules[e];if(t)return"exports"in t||"function"!=typeof t.definition||(t.client=t.component=!0,t.definition.call(this,t.exports={},t),delete t.definition),t.exports}require.loader="component",require.helper={},require.helper.semVerSort=function(e,t){for(var r=e.version.split("."),i=t.version.split("."),n=0;n<r.length;++n){var o=parseInt(r[n],10),s=parseInt(i[n],10);if(o!==s)return o>s?1:-1;var a=r[n].substr((""+o).length),c=i[n].substr((""+s).length);if(""===a&&""!==c)return 1;if(""!==a&&""===c)return-1;if(""!==a&&""!==c)return a>c?1:-1}return 0},require.latest=function(e,t){function r(e){throw new Error('failed to find latest module of "'+e+'"')}var i=/(.*)~(.*)@v?(\d+\.\d+\.\d+[^\/]*)$/,n=/(.*)~(.*)/;n.test(e)||r(e);for(var o=Object.keys(require.modules),s=[],a=[],c=0;c<o.length;c++){var u=o[c];if(new RegExp(e+"@").test(u)){var h=u.substr(e.length+1),l=i.exec(u);null!=l?s.push({version:h,name:u}):a.push({version:h,name:u})}}if(0===s.concat(a).length&&r(e),s.length>0){var f=s.sort(require.helper.semVerSort).pop().name;return t===!0?f:require(f)}var f=a.sort(function(e,t){return e.name>t.name})[0].name;return t===!0?f:require(f)},require.modules={},require.register=function(e,t){require.modules[e]={definition:t}},require.define=function(e,t){require.modules[e]={exports:t}},require.register("chaijs~assertion-error@1.0.0",function(e,t){function r(){function e(e,r){Object.keys(r).forEach(function(i){~t.indexOf(i)||(e[i]=r[i])})}var t=[].slice.call(arguments);return function(){for(var t=[].slice.call(arguments),r=0,i={};r<t.length;r++)e(i,t[r]);return i}}function i(e,t,i){var n=r("name","message","stack","constructor","toJSON"),o=n(t||{});this.message=e||"Unspecified AssertionError",this.showDiff=!1;for(var s in o)this[s]=o[s];i=i||arguments.callee,i&&Error.captureStackTrace&&Error.captureStackTrace(this,i)}t.exports=i,i.prototype=Object.create(Error.prototype),i.prototype.name="AssertionError",i.prototype.constructor=i,i.prototype.toJSON=function(e){var t=r("constructor","toJSON","stack"),i=t({name:this.name},this);return!1!==e&&this.stack&&(i.stack=this.stack),i}}),require.register("chaijs~type-detect@0.1.1",function(e,t){function r(e){var t=Object.prototype.toString.call(e);return n[t]?n[t]:null===e?"null":void 0===e?"undefined":e===Object(e)?"object":typeof e}function i(){this.tests={}}var e=t.exports=r,n={"[object Array]":"array","[object RegExp]":"regexp","[object Function]":"function","[object Arguments]":"arguments","[object Date]":"date"};e.Library=i,i.prototype.of=r,i.prototype.define=function(e,t){return 1===arguments.length?this.tests[e]:(this.tests[e]=t,this)},i.prototype.test=function(e,t){if(t===r(e))return!0;var i=this.tests[t];if(i&&"regexp"===r(i))return i.test(e);if(i&&"function"===r(i))return i(e);throw new ReferenceError('Type test "'+t+'" not defined or invalid.')}}),require.register("chaijs~deep-eql@0.1.3",function(e,t){function r(e,t,r){return i(e,t)?!0:"date"===f(e)?o(e,t):"regexp"===f(e)?s(e,t):"arguments"===f(e)?a(e,t,r):n(e,t)?"object"!==f(e)&&"object"!==f(t)&&"array"!==f(e)&&"array"!==f(t)?i(e,t):l(e,t,r):!1}function i(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function n(e,t){return f(e)===f(t)}function o(e,t){return"date"!==f(t)?!1:i(e.getTime(),t.getTime())}function s(e,t){return"regexp"!==f(t)?!1:i(e.toString(),t.toString())}function a(e,t,i){return"arguments"!==f(t)?!1:(e=[].slice.call(e),t=[].slice.call(t),r(e,t,i))}function c(e){var t=[];for(var r in e)t.push(r);return t}function u(e,t){if(e.length!==t.length)return!1;for(var r=0,i=!0;r<e.length;r++)if(e[r]!==t[r]){i=!1;break}return i}function h(e){return null!==e&&void 0!==e}function l(e,t,i){if(!h(e)||!h(t))return!1;if(e.prototype!==t.prototype)return!1;var n;if(i){for(n=0;n<i.length;n++)if(i[n][0]===e&&i[n][1]===t||i[n][0]===t&&i[n][1]===e)return!0}else i=[];try{var o=c(e),s=c(t)}catch(a){return!1}if(o.sort(),s.sort(),!u(o,s))return!1;i.push([e,t]);var l;for(n=o.length-1;n>=0;n--)if(l=o[n],!r(e[l],t[l],i))return!1;return!0}var f=require("chaijs~type-detect@0.1.1");t.exports=r}),require.register("chai",function(e,t){t.exports=require("chai/lib/chai.js")}),require.register("chai/lib/chai.js",function(e,t){var r=[],e=t.exports={};e.version="2.1.0",e.AssertionError=require("chaijs~assertion-error@1.0.0");var i=require("chai/lib/chai/utils/index.js");e.use=function(e){return~r.indexOf(e)||(e(this,i),r.push(e)),this},e.util=i;var n=require("chai/lib/chai/config.js");e.config=n;var o=require("chai/lib/chai/assertion.js");e.use(o);var s=require("chai/lib/chai/core/assertions.js");e.use(s);var a=require("chai/lib/chai/interface/expect.js");e.use(a);var c=require("chai/lib/chai/interface/should.js");e.use(c);var u=require("chai/lib/chai/interface/assert.js");e.use(u)}),require.register("chai/lib/chai/assertion.js",function(e,t){var r=require("chai/lib/chai/config.js");t.exports=function(e,t){function i(e,t,r){o(this,"ssfi",r||arguments.callee),o(this,"object",e),o(this,"message",t)}var n=e.AssertionError,o=t.flag;e.Assertion=i,Object.defineProperty(i,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),r.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),r.includeStack=e}}),Object.defineProperty(i,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),r.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),r.showDiff=e}}),i.addProperty=function(e,r){t.addProperty(this.prototype,e,r)},i.addMethod=function(e,r){t.addMethod(this.prototype,e,r)},i.addChainableMethod=function(e,r,i){t.addChainableMethod(this.prototype,e,r,i)},i.overwriteProperty=function(e,r){t.overwriteProperty(this.prototype,e,r)},i.overwriteMethod=function(e,r){t.overwriteMethod(this.prototype,e,r)},i.overwriteChainableMethod=function(e,r,i){t.overwriteChainableMethod(this.prototype,e,r,i)},i.prototype.assert=function(e,i,s,a,c,u){var h=t.test(this,arguments);if(!0!==u&&(u=!1),!0!==r.showDiff&&(u=!1),!h){var i=t.getMessage(this,arguments),l=t.getActual(this,arguments);throw new n(i,{actual:l,expected:a,showDiff:u},r.includeStack?this.assert:o(this,"ssfi"))}},Object.defineProperty(i.prototype,"_obj",{get:function(){return o(this,"object")},set:function(e){o(this,"object",e)}})}}),require.register("chai/lib/chai/config.js",function(e,t){t.exports={includeStack:!1,showDiff:!0,truncateThreshold:40}}),require.register("chai/lib/chai/core/assertions.js",function(e,t){t.exports=function(e,t){function r(e,r){r&&q(this,"message",r),e=e.toLowerCase();var i=q(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";this.assert(e===t.type(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}function i(){q(this,"contains",!0)}function n(e,r){r&&q(this,"message",r);var i=q(this,"object"),n=!1;if("array"===t.type(i)&&"object"===t.type(e)){for(var o in i)if(t.eql(i[o],e)){n=!0;break}}else if("object"===t.type(e)){if(!q(this,"negate")){for(var s in e)new m(i).property(s,e[s]);return}var a={};for(var s in e)a[s]=i[s];n=t.eql(a,e)}else n=i&&~i.indexOf(e);this.assert(n,"expected #{this} to include "+t.inspect(e),"expected #{this} to not include "+t.inspect(e))}function o(){var e=q(this,"object"),t=Object.prototype.toString.call(e);this.assert("[object Arguments]"===t,"expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}function s(e,t){t&&q(this,"message",t);var r=q(this,"object");return q(this,"deep")?this.eql(e):void this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}function a(e,r){r&&q(this,"message",r),this.assert(t.eql(e,q(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}function c(e,t) (…) [all...] |
/external/chromium-trace/catapult/tracing/third_party/chai/ |
chai.js | 1 !function(){function require(e){var t=require.modules[e];if(t)return"exports"in t||"function"!=typeof t.definition||(t.client=t.component=!0,t.definition.call(this,t.exports={},t),delete t.definition),t.exports}require.loader="component",require.helper={},require.helper.semVerSort=function(e,t){for(var r=e.version.split("."),i=t.version.split("."),n=0;n<r.length;++n){var o=parseInt(r[n],10),s=parseInt(i[n],10);if(o!==s)return o>s?1:-1;var a=r[n].substr((""+o).length),c=i[n].substr((""+s).length);if(""===a&&""!==c)return 1;if(""!==a&&""===c)return-1;if(""!==a&&""!==c)return a>c?1:-1}return 0},require.latest=function(e,t){function r(e){throw new Error('failed to find latest module of "'+e+'"')}var i=/(.*)~(.*)@v?(\d+\.\d+\.\d+[^\/]*)$/,n=/(.*)~(.*)/;n.test(e)||r(e);for(var o=Object.keys(require.modules),s=[],a=[],c=0;c<o.length;c++){var u=o[c];if(new RegExp(e+"@").test(u)){var h=u.substr(e.length+1),l=i.exec(u);null!=l?s.push({version:h,name:u}):a.push({version:h,name:u})}}if(0===s.concat(a).length&&r(e),s.length>0){var f=s.sort(require.helper.semVerSort).pop().name;return t===!0?f:require(f)}var f=a.sort(function(e,t){return e.name>t.name})[0].name;return t===!0?f:require(f)},require.modules={},require.register=function(e,t){require.modules[e]={definition:t}},require.define=function(e,t){require.modules[e]={exports:t}},require.register("chaijs~assertion-error@1.0.0",function(e,t){function r(){function e(e,r){Object.keys(r).forEach(function(i){~t.indexOf(i)||(e[i]=r[i])})}var t=[].slice.call(arguments);return function(){for(var t=[].slice.call(arguments),r=0,i={};r<t.length;r++)e(i,t[r]);return i}}function i(e,t,i){var n=r("name","message","stack","constructor","toJSON"),o=n(t||{});this.message=e||"Unspecified AssertionError",this.showDiff=!1;for(var s in o)this[s]=o[s];i=i||arguments.callee,i&&Error.captureStackTrace&&Error.captureStackTrace(this,i)}t.exports=i,i.prototype=Object.create(Error.prototype),i.prototype.name="AssertionError",i.prototype.constructor=i,i.prototype.toJSON=function(e){var t=r("constructor","toJSON","stack"),i=t({name:this.name},this);return!1!==e&&this.stack&&(i.stack=this.stack),i}}),require.register("chaijs~type-detect@0.1.1",function(e,t){function r(e){var t=Object.prototype.toString.call(e);return n[t]?n[t]:null===e?"null":void 0===e?"undefined":e===Object(e)?"object":typeof e}function i(){this.tests={}}var e=t.exports=r,n={"[object Array]":"array","[object RegExp]":"regexp","[object Function]":"function","[object Arguments]":"arguments","[object Date]":"date"};e.Library=i,i.prototype.of=r,i.prototype.define=function(e,t){return 1===arguments.length?this.tests[e]:(this.tests[e]=t,this)},i.prototype.test=function(e,t){if(t===r(e))return!0;var i=this.tests[t];if(i&&"regexp"===r(i))return i.test(e);if(i&&"function"===r(i))return i(e);throw new ReferenceError('Type test "'+t+'" not defined or invalid.')}}),require.register("chaijs~deep-eql@0.1.3",function(e,t){function r(e,t,r){return i(e,t)?!0:"date"===f(e)?o(e,t):"regexp"===f(e)?s(e,t):"arguments"===f(e)?a(e,t,r):n(e,t)?"object"!==f(e)&&"object"!==f(t)&&"array"!==f(e)&&"array"!==f(t)?i(e,t):l(e,t,r):!1}function i(e,t){return e===t?0!==e||1/e===1/t:e!==e&&t!==t}function n(e,t){return f(e)===f(t)}function o(e,t){return"date"!==f(t)?!1:i(e.getTime(),t.getTime())}function s(e,t){return"regexp"!==f(t)?!1:i(e.toString(),t.toString())}function a(e,t,i){return"arguments"!==f(t)?!1:(e=[].slice.call(e),t=[].slice.call(t),r(e,t,i))}function c(e){var t=[];for(var r in e)t.push(r);return t}function u(e,t){if(e.length!==t.length)return!1;for(var r=0,i=!0;r<e.length;r++)if(e[r]!==t[r]){i=!1;break}return i}function h(e){return null!==e&&void 0!==e}function l(e,t,i){if(!h(e)||!h(t))return!1;if(e.prototype!==t.prototype)return!1;var n;if(i){for(n=0;n<i.length;n++)if(i[n][0]===e&&i[n][1]===t||i[n][0]===t&&i[n][1]===e)return!0}else i=[];try{var o=c(e),s=c(t)}catch(a){return!1}if(o.sort(),s.sort(),!u(o,s))return!1;i.push([e,t]);var l;for(n=o.length-1;n>=0;n--)if(l=o[n],!r(e[l],t[l],i))return!1;return!0}var f=require("chaijs~type-detect@0.1.1");t.exports=r}),require.register("chai",function(e,t){t.exports=require("chai/lib/chai.js")}),require.register("chai/lib/chai.js",function(e,t){var r=[],e=t.exports={};e.version="2.1.0",e.AssertionError=require("chaijs~assertion-error@1.0.0");var i=require("chai/lib/chai/utils/index.js");e.use=function(e){return~r.indexOf(e)||(e(this,i),r.push(e)),this},e.util=i;var n=require("chai/lib/chai/config.js");e.config=n;var o=require("chai/lib/chai/assertion.js");e.use(o);var s=require("chai/lib/chai/core/assertions.js");e.use(s);var a=require("chai/lib/chai/interface/expect.js");e.use(a);var c=require("chai/lib/chai/interface/should.js");e.use(c);var u=require("chai/lib/chai/interface/assert.js");e.use(u)}),require.register("chai/lib/chai/assertion.js",function(e,t){var r=require("chai/lib/chai/config.js");t.exports=function(e,t){function i(e,t,r){o(this,"ssfi",r||arguments.callee),o(this,"object",e),o(this,"message",t)}var n=e.AssertionError,o=t.flag;e.Assertion=i,Object.defineProperty(i,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),r.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),r.includeStack=e}}),Object.defineProperty(i,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),r.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),r.showDiff=e}}),i.addProperty=function(e,r){t.addProperty(this.prototype,e,r)},i.addMethod=function(e,r){t.addMethod(this.prototype,e,r)},i.addChainableMethod=function(e,r,i){t.addChainableMethod(this.prototype,e,r,i)},i.overwriteProperty=function(e,r){t.overwriteProperty(this.prototype,e,r)},i.overwriteMethod=function(e,r){t.overwriteMethod(this.prototype,e,r)},i.overwriteChainableMethod=function(e,r,i){t.overwriteChainableMethod(this.prototype,e,r,i)},i.prototype.assert=function(e,i,s,a,c,u){var h=t.test(this,arguments);if(!0!==u&&(u=!1),!0!==r.showDiff&&(u=!1),!h){var i=t.getMessage(this,arguments),l=t.getActual(this,arguments);throw new n(i,{actual:l,expected:a,showDiff:u},r.includeStack?this.assert:o(this,"ssfi"))}},Object.defineProperty(i.prototype,"_obj",{get:function(){return o(this,"object")},set:function(e){o(this,"object",e)}})}}),require.register("chai/lib/chai/config.js",function(e,t){t.exports={includeStack:!1,showDiff:!0,truncateThreshold:40}}),require.register("chai/lib/chai/core/assertions.js",function(e,t){t.exports=function(e,t){function r(e,r){r&&q(this,"message",r),e=e.toLowerCase();var i=q(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";this.assert(e===t.type(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}function i(){q(this,"contains",!0)}function n(e,r){r&&q(this,"message",r);var i=q(this,"object"),n=!1;if("array"===t.type(i)&&"object"===t.type(e)){for(var o in i)if(t.eql(i[o],e)){n=!0;break}}else if("object"===t.type(e)){if(!q(this,"negate")){for(var s in e)new m(i).property(s,e[s]);return}var a={};for(var s in e)a[s]=i[s];n=t.eql(a,e)}else n=i&&~i.indexOf(e);this.assert(n,"expected #{this} to include "+t.inspect(e),"expected #{this} to not include "+t.inspect(e))}function o(){var e=q(this,"object"),t=Object.prototype.toString.call(e);this.assert("[object Arguments]"===t,"expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}function s(e,t){t&&q(this,"message",t);var r=q(this,"object");return q(this,"deep")?this.eql(e):void this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}function a(e,r){r&&q(this,"message",r),this.assert(t.eql(e,q(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}function c(e,t) (…) [all...] |
/toolchain/binutils/binutils-2.25/gold/ |
resolve.cc | 19 // along with this program; if not, write to the Free Software 50 // Symbol structure. Setting the VERSION_ field to NULL ensures 156 // This gives us values from 0 to 11. 198 // Any target which wants to handle STB_LOOS, etc., needs to 234 // we see a symbol. TO is the pre-existing symbol. ST_SHNDX is the 239 // non-ordinary section indexes are mapped to SHN_UNDEF. VERSION is 244 Symbol_table::resolve(Sized_symbol<size>* to, 250 // It's possible for a symbol to be defined in an object file 251 // using .symver to give it a version, and for there to also b [all...] |
/system/extras/tests/net_test/ |
csocket.py | 9 # Unless required by applicable law or agreed to in writing, software 81 Data is padded to an integer multiple of CMSG_ALIGNTO. 110 def Bind(s, to): 112 ret = libc.bind(s.fileno(), to.CPointer(), len(to)) 117 def Connect(s, to): 119 ret = libc.connect(s.fileno(), to.CPointer(), len(to)) 124 def Sendmsg(s, to, data, control, flags): 129 to: An address tuple, or a SockaddrIn[6] struct. Becomes msg->msg_name [all...] |
/hardware/bsp/intel/peripheral/libmraa/examples/javascript/ |
spi.js | 7 * Permission is hereby granted, free of charge, to any person obtaining 9 * "Software"), to deal in the Software without restriction, including 10 * without limitation the rights to use, copy, modify, merge, publish, 11 * distribute, sublicense, and/or sell copies of the Software, and to 12 * permit persons to whom the Software is furnished to do so, subject to 19 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29 // helper function to go from hex val to de [all...] |