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

Side by Side Diff: tests/barebones/barebones.h

Issue 12256018: [MIPS] Add remaining parts for building tests for MIPS (Closed) Base URL: http://src.chromium.org/native_client/trunk/src/native_client/
Patch Set: Update per codereview. Created 7 years, 9 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
OLDNEW
1 /* 1 /*
2 * Copyright 2010 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2010 The Native Client Authors. All rights reserved.
Mark Seaborn 2013/03/11 15:54:38 This file has not changed otherwise; you don't nee
3 * Use of this source code is governed by a BSD-style license that can 3 * Use of this source code is governed by a BSD-style license that can be
4 * be found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 /* 7 /*
8 * these were lifted from src/trusted/service_runtime/nacl_config.h 8 * these were lifted from src/trusted/service_runtime/nacl_config.h
9 * NOTE: we cannot include this file here 9 * NOTE: we cannot include this file here
10 * TODO(robertm): make this file available in the sdk 10 * TODO(robertm): make this file available in the sdk
11 * http://code.google.com/p/nativeclient/issues/detail?id=386 11 * http://code.google.com/p/nativeclient/issues/detail?id=386
12 */ 12 */
13 13
14 #ifndef BAREBONES_H_ 14 #ifndef BAREBONES_H_
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 int nibble = 0xf & (n >> (4 * (7 - i))); 49 int nibble = 0xf & (n >> (4 * (7 - i)));
50 if (nibble <= 9) { 50 if (nibble <= 9) {
51 buffer[i] = nibble + '0'; 51 buffer[i] = nibble + '0';
52 } else { 52 } else {
53 buffer[i] = nibble - 10 + 'A'; 53 buffer[i] = nibble - 10 + 'A';
54 } 54 }
55 } 55 }
56 } 56 }
57 57
58 #endif /* BAREBONES_H_ */ 58 #endif /* BAREBONES_H_ */
OLDNEW
« no previous file with comments | « run.py ('k') | tests/barebones/top_of_sandbox.c » ('j') | tests/barebones/top_of_sandbox.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698