Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Side by Side Diff: src/typedarray.js

Issue 14657003: Implementation of Uint8ClampedArray. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/runtime.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 // arrayIds below should be synchronized with Runtime_TypedArrayInitialize. 195 // arrayIds below should be synchronized with Runtime_TypedArrayInitialize.
196 SetupTypedArray(1, "Uint8Array", global.Uint8Array, 1); 196 SetupTypedArray(1, "Uint8Array", global.Uint8Array, 1);
197 SetupTypedArray(2, "Int8Array", global.Int8Array, 1); 197 SetupTypedArray(2, "Int8Array", global.Int8Array, 1);
198 SetupTypedArray(3, "Uint16Array", global.Uint16Array, 2); 198 SetupTypedArray(3, "Uint16Array", global.Uint16Array, 2);
199 SetupTypedArray(4, "Int16Array", global.Int16Array, 2); 199 SetupTypedArray(4, "Int16Array", global.Int16Array, 2);
200 SetupTypedArray(5, "Uint32Array", global.Uint32Array, 4); 200 SetupTypedArray(5, "Uint32Array", global.Uint32Array, 4);
201 SetupTypedArray(6, "Int32Array", global.Int32Array, 4); 201 SetupTypedArray(6, "Int32Array", global.Int32Array, 4);
202 SetupTypedArray(7, "Float32Array", global.Float32Array, 4); 202 SetupTypedArray(7, "Float32Array", global.Float32Array, 4);
203 SetupTypedArray(8, "Float64Array", global.Float64Array, 8); 203 SetupTypedArray(8, "Float64Array", global.Float64Array, 8);
204 204 SetupTypedArray(9, "Uint8ClampedArray", global.Uint8ClampedArray, 1);
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | test/cctest/test-api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698