Home
last modified time | relevance | path

Searched refs:array (Results 1 – 25 of 1075) sorted by relevance

12345678910>>...43

/external/bluetooth/glib/glib/
Dgarray.c60 #define g_array_elt_len(array,i) ((array)->elt_size * (i)) argument
61 #define g_array_elt_pos(array,i) ((array)->data + g_array_elt_len((array),(i))) argument
62 #define g_array_elt_zero(array, pos, len) \ argument
63 (memset (g_array_elt_pos ((array), pos), 0, g_array_elt_len ((array), len)))
64 #define g_array_zero_terminate(array) G_STMT_START{ \ argument
65 if ((array)->zero_terminated) \
66 g_array_elt_zero ((array), (array)->len, 1); \
70 static void g_array_maybe_expand (GRealArray *array,
86 GRealArray *array = g_slice_new (GRealArray); in g_array_sized_new() local
88 array->data = NULL; in g_array_sized_new()
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/LexicalConventions/
D7.7.3.js48 var array = new Array();
51 array[item++] = new TestCase( SECTION, "0", 0, 0 );
52 array[item++] = new TestCase( SECTION, "1", 1, 1 );
53 array[item++] = new TestCase( SECTION, "2", 2, 2 );
54 array[item++] = new TestCase( SECTION, "3", 3, 3 );
55 array[item++] = new TestCase( SECTION, "4", 4, 4 );
56 array[item++] = new TestCase( SECTION, "5", 5, 5 );
57 array[item++] = new TestCase( SECTION, "6", 6, 6 );
58 array[item++] = new TestCase( SECTION, "7", 7, 7 );
59 array[item++] = new TestCase( SECTION, "8", 8, 8 );
[all …]
D7.7.4.js46 var array = new Array();
51 array[item++] = new TestCase( SECTION, "\"\"", "", "" );
52 array[item++] = new TestCase( SECTION, "\'\'", "", '' );
55 array[item++] = new TestCase( SECTION, "\\\"", String.fromCharCode(0x0022), "\"" );
56 array[item++] = new TestCase( SECTION, "\\\'", String.fromCharCode(0x0027), "\'" );
57 array[item++] = new TestCase( SECTION, "\\", String.fromCharCode(0x005C), "\\" );
58 array[item++] = new TestCase( SECTION, "\\b", String.fromCharCode(0x0008), "\b" );
59 array[item++] = new TestCase( SECTION, "\\f", String.fromCharCode(0x000C), "\f" );
60 array[item++] = new TestCase( SECTION, "\\n", String.fromCharCode(0x000A), "\n" );
61 array[item++] = new TestCase( SECTION, "\\r", String.fromCharCode(0x000D), "\r" );
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/TypeConversion/
D9.3.1-1.js67 var array = new Array();
79 array[item++] = new TestCase( SECTION, "Number('')", 0, Number("") );
80 array[item++] = new TestCase( SECTION, "Number(' ')", 0, Number(" ") );
81 array[item++] = new TestCase( SECTION, "Number(\\t)", 0, Number("\t") );
82 array[item++] = new TestCase( SECTION, "Number(\\n)", 0, Number("\n") );
83 array[item++] = new TestCase( SECTION, "Number(\\r)", 0, Number("\r") );
84 array[item++] = new TestCase( SECTION, "Number(\\f)", 0, Number("\f") );
86array[item++] = new TestCase( SECTION, "Number(String.fromCharCode(0x0009)", 0, Number(String.…
87array[item++] = new TestCase( SECTION, "Number(String.fromCharCode(0x0020)", 0, Number(String.…
88array[item++] = new TestCase( SECTION, "Number(String.fromCharCode(0x000C)", 0, Number(String.…
[all …]
D9.5-2.js91 var array = new Array();
94array[item++] = new TestCase( SECTION, "0 << 0", 0, 0 << 0 );
95array[item++] = new TestCase( SECTION, "-0 << 0", 0, -0 << 0 …
96array[item++] = new TestCase( SECTION, "Infinity << 0", 0, "Infinit…
97array[item++] = new TestCase( SECTION, "-Infinity << 0", 0, "-Infini…
98array[item++] = new TestCase( SECTION, "Number.POSITIVE_INFINITY << 0", 0, Number.P…
99array[item++] = new TestCase( SECTION, "Number.NEGATIVE_INFINITY << 0", 0, Number.N…
100array[item++] = new TestCase( SECTION, "Number.NaN << 0", 0, Number.N…
102array[item++] = new TestCase( SECTION, "Number.MIN_VALUE << 0", 0, Number.M…
103array[item++] = new TestCase( SECTION, "-Number.MIN_VALUE << 0", 0, -Number.…
[all …]
D9.9-1.js52 var array = new Array();
55array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Objec…
56array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof…
57array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Objec…
59array[item++] = new TestCase( SECTION, "Object(false).valueOf()", false, (Obje…
60array[item++] = new TestCase( SECTION, "typeof Object(false)", "object", typeof…
61array[item++] = new TestCase( SECTION, "(Object(true)).__proto__", Boolean.prototype, (Objec…
63array[item++] = new TestCase( SECTION, "Object(0).valueOf()", 0, (Objec…
64array[item++] = new TestCase( SECTION, "typeof Object(0)", "object", typeof…
65array[item++] = new TestCase( SECTION, "(Object(0)).__proto__", Number.prototype, (Object…
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Expressions/
D11.4.6.js53 var array = new Array();
55 array[item++] = new TestCase( SECTION, "+('')", 0, +("") );
56 array[item++] = new TestCase( SECTION, "+(' ')", 0, +(" ") );
57 array[item++] = new TestCase( SECTION, "+(\\t)", 0, +("\t") );
58 array[item++] = new TestCase( SECTION, "+(\\n)", 0, +("\n") );
59 array[item++] = new TestCase( SECTION, "+(\\r)", 0, +("\r") );
60 array[item++] = new TestCase( SECTION, "+(\\f)", 0, +("\f") );
62array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x0009)", 0, +(String.fromCharCo…
63array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x0020)", 0, +(String.fromCharCo…
64array[item++] = new TestCase( SECTION, "+(String.fromCharCode(0x000C)", 0, +(String.fromCharCo…
[all …]
D11.9.3.js63 var array = new Array();
68 array[item++] = new TestCase( SECTION, "void 0 = void 0", true, void 0 == void 0 );
69 array[item++] = new TestCase( SECTION, "null == null", true, null == null );
73array[item++] = new TestCase( SECTION, "NaN == NaN", false, Number.NaN == Number.N…
74 array[item++] = new TestCase( SECTION, "NaN == 0", false, Number.NaN == 0 );
75 array[item++] = new TestCase( SECTION, "0 == NaN", false, 0 == Number.NaN );
76array[item++] = new TestCase( SECTION, "NaN == Infinity", false, Number.NaN == Number.P…
77array[item++] = new TestCase( SECTION, "Infinity == NaN", false, Number.POSITIVE_INFINI…
81array[item++] = new TestCase( SECTION, "Number.MAX_VALUE == Number.MAX_VALUE", true, Number…
82array[item++] = new TestCase( SECTION, "Number.MIN_VALUE == Number.MIN_VALUE", true, Number…
[all …]
D11.9.2.js63 var array = new Array();
68array[item++] = new TestCase( SECTION, "void 0 == void 0", false, void 0 != void 0 );
69 array[item++] = new TestCase( SECTION, "null == null", false, null != null );
73array[item++] = new TestCase( SECTION, "NaN != NaN", true, Number.NaN != Number.Na…
74 array[item++] = new TestCase( SECTION, "NaN != 0", true, Number.NaN != 0 );
75 array[item++] = new TestCase( SECTION, "0 != NaN", true, 0 != Number.NaN );
76array[item++] = new TestCase( SECTION, "NaN != Infinity", true, Number.NaN != Number.PO…
77array[item++] = new TestCase( SECTION, "Infinity != NaN", true, Number.POSITIVE_INFINIT…
81array[item++] = new TestCase( SECTION, "Number.MAX_VALUE != Number.MAX_VALUE", false, Numbe…
82array[item++] = new TestCase( SECTION, "Number.MIN_VALUE != Number.MIN_VALUE", false, Numbe…
[all …]
D11.9.1.js64 var array = new Array();
69 array[item++] = new TestCase( SECTION, "void 0 = void 0", true, void 0 == void 0 );
70 array[item++] = new TestCase( SECTION, "null == null", true, null == null );
74array[item++] = new TestCase( SECTION, "NaN == NaN", false, Number.NaN == Number.N…
75 array[item++] = new TestCase( SECTION, "NaN == 0", false, Number.NaN == 0 );
76 array[item++] = new TestCase( SECTION, "0 == NaN", false, 0 == Number.NaN );
77array[item++] = new TestCase( SECTION, "NaN == Infinity", false, Number.NaN == Number.P…
78array[item++] = new TestCase( SECTION, "Infinity == NaN", false, Number.POSITIVE_INFINI…
82array[item++] = new TestCase( SECTION, "Number.MAX_VALUE == Number.MAX_VALUE", true, Number…
83array[item++] = new TestCase( SECTION, "Number.MIN_VALUE == Number.MIN_VALUE", true, Number…
[all …]
D11.3.1.js63 var array = new Array();
67array[item++] = new TestCase( SECTION, "var MYVAR; MYVAR++", NaN, …
68array[item++] = new TestCase( SECTION, "var MYVAR= void 0; MYVAR++", NaN, …
69array[item++] = new TestCase( SECTION, "var MYVAR=null; MYVAR++", 0, …
70array[item++] = new TestCase( SECTION, "var MYVAR=true; MYVAR++", 1, …
71array[item++] = new TestCase( SECTION, "var MYVAR=false; MYVAR++", 0, …
75array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;MYVAR++", Number.POS…
76array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;MYVAR++", Number.NEG…
77array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;MYVAR++", Number.NaN…
81array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;MYVAR++;MYVAR", Numb…
[all …]
D11.4.5.js61 var array = new Array();
65array[item++] = new TestCase( SECTION, "var MYVAR; --MYVAR", NaN, …
66array[item++] = new TestCase( SECTION, "var MYVAR= void 0; --MYVAR", NaN, …
67array[item++] = new TestCase( SECTION, "var MYVAR=null; --MYVAR", -1, …
68array[item++] = new TestCase( SECTION, "var MYVAR=true; --MYVAR", 0, …
69array[item++] = new TestCase( SECTION, "var MYVAR=false; --MYVAR", -1, …
74array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;--MYVAR", Number.POS…
75array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;--MYVAR", Number.NEG…
76array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;--MYVAR", Number.NaN…
80array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;--MYVAR;MYVAR", Numb…
[all …]
D11.4.4.js62 var array = new Array();
67array[item++] = new TestCase( SECTION, "var MYVAR; ++MYVAR", NaN, …
68array[item++] = new TestCase( SECTION, "var MYVAR= void 0; ++MYVAR", NaN, …
69array[item++] = new TestCase( SECTION, "var MYVAR=null; ++MYVAR", 1, …
70array[item++] = new TestCase( SECTION, "var MYVAR=true; ++MYVAR", 2, …
71array[item++] = new TestCase( SECTION, "var MYVAR=false; ++MYVAR", 1, …
76array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;++MYVAR", Number.POS…
77array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;++MYVAR", Number.NEG…
78array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;++MYVAR", Number.NaN…
82array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;++MYVAR;MYVAR", Numb…
[all …]
D11.3.2.js63 var array = new Array();
67array[item++] = new TestCase( SECTION, "var MYVAR; MYVAR--", NaN, …
68array[item++] = new TestCase( SECTION, "var MYVAR= void 0; MYVAR--", NaN, …
69array[item++] = new TestCase( SECTION, "var MYVAR=null; MYVAR--", 0, …
70array[item++] = new TestCase( SECTION, "var MYVAR=true; MYVAR--", 1, …
71array[item++] = new TestCase( SECTION, "var MYVAR=false; MYVAR--", 0, …
75array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;MYVAR--", Number.POS…
76array[item++] = new TestCase( SECTION, "var MYVAR=Number.NEGATIVE_INFINITY;MYVAR--", Number.NEG…
77array[item++] = new TestCase( SECTION, "var MYVAR=Number.NaN;MYVAR--", Number.NaN…
81array[item++] = new TestCase( SECTION, "var MYVAR=Number.POSITIVE_INFINITY;MYVAR--;MYVAR", Numb…
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/GlobalObject/
D15.1.2.3-1.js75 var array = new Array();
78array[item++] = new TestCase( SECTION, "parseFloat.length", 1, parseFloat.length …
80array[item++] = new TestCase( SECTION, "parseFloat.length = null; parseFloat.length", 1, ev…
81array[item++] = new TestCase( SECTION, "delete parseFloat.length", false, de…
82array[item++] = new TestCase( SECTION, "delete parseFloat.length; parseFloat.length", 1, ev…
83array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in parseFloat ) { MYPROPS += p…
85 array[item++] = new TestCase( SECTION, "parseFloat()", Number.NaN, parseFloat() );
86array[item++] = new TestCase( SECTION, "parseFloat('')", Number.NaN, parseFloat('') );
88array[item++] = new TestCase( SECTION, "parseFloat(' ')", Number.NaN, parseFloat(' ') );
89array[item++] = new TestCase( SECTION, "parseFloat(true)", Number.NaN, parseFloat(true) );
[all …]
D15.1.2.3-2.js72 var array = new Array();
75array[item++] = new TestCase( SECTION, "parseFloat(true)", Number.NaN, parseFloat(true) );
76array[item++] = new TestCase( SECTION, "parseFloat(false)", Number.NaN, parseFloat(false) …
77array[item++] = new TestCase( SECTION, "parseFloat('string')", Number.NaN, parseFloat("string…
79array[item++] = new TestCase( SECTION, "parseFloat(' Infinity')", Number.POSITIVE_INFINIT…
82array[item++] = new TestCase( SECTION, "parseFloat(' 0')", 0, parseFlo…
83array[item++] = new TestCase( SECTION, "parseFloat(' -0')", -0, parseFlo…
84array[item++] = new TestCase( SECTION, "parseFloat(' +0')", 0, parseFlo…
86array[item++] = new TestCase( SECTION, "parseFloat(' 1')", 1, parseFlo…
87array[item++] = new TestCase( SECTION, "parseFloat(' -1')", -1, parseFlo…
[all …]
D15.1.2.7.js48 var array = new Array();
51array[item++] = new TestCase( SECTION, "isFinite.length", 1, isFinite.length…
52array[item++] = new TestCase( SECTION, "isFinite.length = null; isFinite.length", 1, eval("…
53array[item++] = new TestCase( SECTION, "delete isFinite.length", false, delete…
54array[item++] = new TestCase( SECTION, "delete isFinite.length; isFinite.length", 1, eval("…
55array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( p in isFinite ) { MYPROPS+= p }; MYP…
57array[item++] = new TestCase( SECTION, "isFinite()", false, isFinite() );
58array[item++] = new TestCase( SECTION, "isFinite( null )", true, isFinite(null) …
59array[item++] = new TestCase( SECTION, "isFinite( void 0 )", false, isFinite(void 0…
60array[item++] = new TestCase( SECTION, "isFinite( false )", true, isFinite(false)…
[all …]
D15.1.2.6.js48 var array = new Array();
51 array[item++] = new TestCase( SECTION, "isNaN.length", 1, isNaN.length );
52array[item++] = new TestCase( SECTION, "var MYPROPS=''; for ( var p in isNaN ) { MYPROPS+= p }; MY…
53array[item++] = new TestCase( SECTION, "isNaN.length = null; isNaN.length", 1, eval("isNaN.le…
54array[item++] = new TestCase( SECTION, "delete isNaN.length", false, delete isNaN.l…
55array[item++] = new TestCase( SECTION, "delete isNaN.length; isNaN.length", 1, eval("delete i…
59 array[item++] = new TestCase( SECTION, "isNaN()", true, isNaN() );
60 array[item++] = new TestCase( SECTION, "isNaN( null )", false, isNaN(null) );
61 array[item++] = new TestCase( SECTION, "isNaN( void 0 )", true, isNaN(void 0) );
62 array[item++] = new TestCase( SECTION, "isNaN( true )", false, isNaN(true) );
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/String/
D15.5.3.2-1.js52 var array = new Array();
55array[item++] = new TestCase( SECTION, "typeof String.fromCharCode", "function", typeof Str…
56array[item++] = new TestCase( SECTION, "typeof String.prototype.fromCharCode", "undefined…
57array[item++] = new TestCase( SECTION, "var x = new String(); typeof x.fromCharCode", "undefined…
58array[item++] = new TestCase( SECTION, "String.fromCharCode.length", 1, String.fromCha…
60array[item++] = new TestCase( SECTION, "String.fromCharCode()", "", String.fromCha…
61array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0020)", " ", String.fromChar…
62array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0021)", "!", String.fromChar…
63array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0022)", "\"", String.fromCha…
64array[item++] = new TestCase( SECTION, "String.fromCharCode(0x0023)", "#", String.fromChar…
[all …]
D15.5.1.js50 var array = new Array();
53array[item++] = new TestCase( SECTION, "String('string primitive')", "string primitive", String('s…
54 array[item++] = new TestCase( SECTION, "String(void 0)", "undefined", String( void 0) );
55 array[item++] = new TestCase( SECTION, "String(null)", "null", String( null ) );
56 array[item++] = new TestCase( SECTION, "String(true)", "true", String( true) );
57 array[item++] = new TestCase( SECTION, "String(false)", "false", String( false ) );
58array[item++] = new TestCase( SECTION, "String(Boolean(true))", "true", String(Boolean(true)) );
59array[item++] = new TestCase( SECTION, "String(Boolean(false))", "false", String(Boolean(false)) …
60array[item++] = new TestCase( SECTION, "String(Boolean())", "false", String(Boolean(false)) );
61array[item++] = new TestCase( SECTION, "String(new Array())", "", String( new Array()) );
[all …]
D15.5.4.4-4.js61 var array = new Array();
74array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;…
75array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;…
76array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;…
77array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;…
78array[item++] = new TestCase( SECTION, "x = false; x.__proto.charAt = String.prototype.charAt;…
80array[item++] = new TestCase( SECTION, "x = true; x.__proto.charAt = String.prototype.charAt; …
81array[item++] = new TestCase( SECTION, "x = true; x.__proto.charAt = String.prototype.charAt; …
82array[item++] = new TestCase( SECTION, "x = true; x.__proto.charAt = String.prototype.charAt; …
83array[item++] = new TestCase( SECTION, "x = true; x.__proto.charAt = String.prototype.charAt; …
[all …]
/external/bluetooth/bluez/tools/
Dbccmd.c242 uint8_t array[8]; in cmd_builddef() local
251 memset(array, 0, sizeof(array)); in cmd_builddef()
252 array[0] = def & 0xff; in cmd_builddef()
253 array[1] = def >> 8; in cmd_builddef()
255 err = transport_read(transport, CSR_VARID_GET_NEXT_BUILDDEF, array, 8); in cmd_builddef()
261 nextdef = array[2] | (array[3] << 8); in cmd_builddef()
276 uint8_t array[8]; in cmd_keylen() local
284 memset(array, 0, sizeof(array)); in cmd_keylen()
285 array[0] = handle & 0xff; in cmd_keylen()
286 array[1] = handle >> 8; in cmd_keylen()
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/ObjectObjects/
D15.2.1.1.js60 var array = new Array();
65array[item++] = new TestCase( SECTION, "Object(null).valueOf()", NULL_OBJECT, (NULL_O…
66array[item++] = new TestCase( SECTION, "typeof Object(null)", "object", typeof…
67array[item++] = new TestCase( SECTION, "Object(null).__proto__", Object.prototype, (Objec…
71array[item++] = new TestCase( SECTION, "Object(void 0).valueOf()", UNDEFINED_OBJECT, …
72array[item++] = new TestCase( SECTION, "typeof Object(void 0)", "object", type…
73array[item++] = new TestCase( SECTION, "Object(void 0).__proto__", Object.prototype, (Obj…
75array[item++] = new TestCase( SECTION, "Object(true).valueOf()", true, (Objec…
76array[item++] = new TestCase( SECTION, "typeof Object(true)", "object", typeof…
77array[item++] = new TestCase( SECTION, "var MYOB = Object(true); MYOB.toString = Object.prototype.…
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Boolean/
D15.6.2.js51 var array = new Array();
54array[item++] = new TestCase( SECTION, "typeof (new Boolean(1))", "object", t…
55array[item++] = new TestCase( SECTION, "(new Boolean(1)).constructor", Boolean.prototype.cons…
56 array[item++] = new TestCase( SECTION,
60array[item++] = new TestCase( SECTION, "(new Boolean(1)).valueOf()", true, (new Boolean(…
61array[item++] = new TestCase( SECTION, "typeof new Boolean(1)", "object", typeof new B…
62array[item++] = new TestCase( SECTION, "(new Boolean(0)).constructor", Boolean.prototype.cons…
63 array[item++] = new TestCase( SECTION,
67array[item++] = new TestCase( SECTION, "(new Boolean(0)).valueOf()", false, (new Boolean…
68array[item++] = new TestCase( SECTION, "typeof new Boolean(0)", "object", typeof new B…
[all …]
/external/webkit/JavaScriptCore/tests/mozilla/ecma/Math/
D15.8.2.13.js43 var array = new Array();
46array[item++] = new TestCase( SECTION, "Math.pow.length", 2, …
48array[item++] = new TestCase( SECTION, "Math.pow()", Number.NaN, …
49array[item++] = new TestCase( SECTION, "Math.pow(null, null)", 1, …
50array[item++] = new TestCase( SECTION, "Math.pow(void 0, void 0)", Number.NaN, …
51array[item++] = new TestCase( SECTION, "Math.pow(true, false)", 1, …
52array[item++] = new TestCase( SECTION, "Math.pow(false,true)", 0, …
53array[item++] = new TestCase( SECTION, "Math.pow('2','32')", 4294967296, …
55array[item++] = new TestCase( SECTION, "Math.pow(1,NaN)", Number.NaN, …
56array[item++] = new TestCase( SECTION, "Math.pow(0,NaN)", Number.NaN, …
[all …]

12345678910>>...43