/external/clang/test/Sema/ |
warn-strncat-size.c | 33 strncat(dest, src, sizeof(src)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 35 strncat(dest, src, sizeof(src) - 1); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 37 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest)); // expected-warning{{the value of the size argument in 'strncat' is too large, might lead to a buffer overflow}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 39 strncat(dest, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", sizeof(dest) - strlen(dest)); // expected-warning{{the value of the size argument in 'strncat' is too large, might lead to a buffer overflow}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 41 strncat((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 43 strncat(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}} 70 strncat(z, str, sizeof(str)); // expected-warning {{size argument in 'strncat' call appears to be size of the source}} expected-note {{change the argument to be the free space in the destination buffer minus the terminating null byte}}
|
warn-strlcpycat-size.c | 22 strlcpy(s1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 23 strlcpy(s1, s3, strlen(s3)+1); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 24 strlcat(s2, s3, sizeof(s3)); // expected-warning {{size argument in 'strlcat' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 25 strlcpy(s4.f1, s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 26 strlcpy((*s5)->f2[x], s2, sizeof(s2)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}} 54 strlcpy(z, str, sizeof(str)); // expected-warning {{size argument in 'strlcpy' call appears to be size of the source; expected the size of the destination}} expected-note {{change size argument to be the size of the destination}}
|
/external/libpcap/ |
README.macosx | 26 Both of them will change the ownership of the BPF devices so that the 27 "admin" group owns them, and will change the permission of the BPF 41 will be executed on the next reboot. To change the permissions before 52 it will be executed on the next reboot. To change the permissions 63 access them, you can have the ChmodBPF/ChmodBPF script change the 67 devices, you can have the script change the owner to that user, the 71 (NOTE: due to a bug in Snow Leopard, if you change the permissions not
|
/external/clang/lib/Format/ |
WhitespaceManager.cpp | 21 bool WhitespaceManager::Change::IsBeforeInFile:: 22 operator()(const Change &C1, const Change &C2) const { 28 WhitespaceManager::Change::Change( 53 Changes.push_back(Change(true, Tok.WhitespaceRange, IndentLevel, Spaces, 62 Changes.push_back(Change(false, Tok.WhitespaceRange, /*IndentLevel=*/0, 75 Changes.push_back(Change( 79 // If we don't add a newline this change doesn't start a comment. Thus, 80 // when we align line comments, we don't need to treat this change as one [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/refactorings/core/ |
RefactoringTestBase.java | 35 import org.eclipse.ltk.core.refactoring.Change; 84 Change change = refactoring.createChange(new NullProgressMonitor()); local 85 assertNotNull(change); 86 String explanation = "CHANGES:\n-------\n" + describe(change); 120 public static String describe(Change change) throws Exception { 122 describe(sb, change, 0); 135 protected static void describe(StringBuilder sb, Change change, int indent) throws Exception [all...] |
/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
PBEKeySpecTest.java | 54 assertFalse("The change of password specified in the constructor " 55 + "should not cause the change of internal array.", 129 assertFalse("The change of password specified in the constructor " 130 + "should not cause the change of internal array.", 133 assertFalse("The change of salt specified in the constructor " 134 + " should not cause the change of internal array.", 192 assertFalse("The change of password specified in the constructor " 193 + "should not cause the change of internal array.", 196 assertFalse("The change of salt specified in the constructor " 197 + " should not cause the change of internal array." [all...] |
IvParameterSpecTest.java | 55 assertFalse("The change of input array's content should not cause " 56 + "the change of internal array", iv[0] == ivps.getIV()[0]); 114 assertFalse("The change of input array's content should not cause " 115 + "the change of internal array", iv[0] == ivps.getIV()[0]); 131 assertFalse("The change of returned array should not cause " 132 + "the change of internal array", iv[0] == ivps.getIV()[0]);
|
PBEParameterSpecTest.java | 55 assertFalse("The change of salt specified in the constructor " 56 + "should not cause the change of internal array.", 62 * to the salt specified in the constructor and that the change of 63 * returned array does not cause the change of internal array. 75 assertFalse("The change of returned by getSalt() method salt" 76 + "should not cause the change of internal array.",
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
PBEKeySpecTest.java | 54 assertFalse("The change of password specified in the constructor " 55 + "should not cause the change of internal array.", 129 assertFalse("The change of password specified in the constructor " 130 + "should not cause the change of internal array.", 133 assertFalse("The change of salt specified in the constructor " 134 + " should not cause the change of internal array.", 192 assertFalse("The change of password specified in the constructor " 193 + "should not cause the change of internal array.", 196 assertFalse("The change of salt specified in the constructor " 197 + " should not cause the change of internal array." [all...] |
IvParameterSpecTest.java | 55 assertFalse("The change of input array's content should not cause " 56 + "the change of internal array", iv[0] == ivps.getIV()[0]); 114 assertFalse("The change of input array's content should not cause " 115 + "the change of internal array", iv[0] == ivps.getIV()[0]); 131 assertFalse("The change of returned array should not cause " 132 + "the change of internal array", iv[0] == ivps.getIV()[0]);
|
PBEParameterSpecTest.java | 55 assertFalse("The change of salt specified in the constructor " 56 + "should not cause the change of internal array.", 62 * to the salt specified in the constructor and that the change of 63 * returned array does not cause the change of internal array. 75 assertFalse("The change of returned by getSalt() method salt" 76 + "should not cause the change of internal array.",
|
/cts/common/util/src/com/android/compatibility/common/util/ |
Stat.java | 158 * Calculate rate per sec for given change happened during given timeInMSec. 160 * @param change total change of quality for the given duration timeInMSec. 164 public static double calcRatePerSec(double change, double timeInMSec) { 166 return change * 1000.0 / 0.001; // do not allow zero 168 return change * 1000.0 / timeInMSec; 175 public static double[] calcRatePerSecArray(double change, double[] timeInMSec) { 177 change *= 1000.0; 180 result[i] = change / 0.001; 182 result[i] = change / timeInMSec[i] [all...] |
/cts/libs/commonutil/src/com/android/cts/util/ |
ReportLog.java | 139 * calculate rate per sec for given change happened during given timeInMSec. 141 * @param change total change of quality for the given duration timeInMSec. 145 public static double calcRatePerSec(double change, double timeInMSec) { 147 return change * 1000.0 / 0.001; // do not allow zero 149 return change * 1000.0 / timeInMSec; 156 public static double[] calcRatePerSecArray(double change, double[] timeInMSec) { 158 change *= 1000.0; 161 result[i] = change / 0.001; 163 result[i] = change / timeInMSec[i] [all...] |
/external/chromium_org/chrome/browser/resources/print_preview/data/ |
document_info.js | 99 CHANGE: 'print_preview.DocumentInfo.CHANGE' 160 * Initializes the state of the data model and dispatches a CHANGE event. 171 cr.dispatchSimpleEvent(this, DocumentInfo.EventType.CHANGE); 176 * CHANGE event. 183 cr.dispatchSimpleEvent(this, DocumentInfo.EventType.CHANGE); 188 * Updates the total number of pages in the document and dispatches a CHANGE 195 cr.dispatchSimpleEvent(this, DocumentInfo.EventType.CHANGE); 200 * Updates information about each page and dispatches a CHANGE event. 220 cr.dispatchSimpleEvent(this, DocumentInfo.EventType.CHANGE); [all...] |
/external/clang/test/SemaObjC/ |
objcbridge-attribute-arc.m | 45 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 71 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 74 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 77 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 80 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 83 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 87 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 91 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 95 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 102 // expected-note {{use __bridge to convert directly (no change in ownership)}} [all...] |
/external/clang/test/SemaObjCXX/ |
objcbridge-attribute-arc.mm | 32 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 58 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 61 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 64 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 67 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 70 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 74 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 78 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 82 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 89 // expected-note {{use __bridge to convert directly (no change in ownership)}} [all...] |
objcbridge-attribute.mm | 32 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 58 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 61 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 64 // expected-note {{__bridge to convert directly (no change in ownership)}} \ 67 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 70 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 74 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 78 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 82 // expected-note {{use __bridge to convert directly (no change in ownership)}} \ 89 // expected-note {{use __bridge to convert directly (no change in ownership)}} [all...] |
/external/chromium_org/chrome/browser/resources/help/ |
help.css | 114 #channel-change-confirmation { 118 #change-channel { 122 #channel-change-disallowed-icon { 129 .channel-change-error-bubble { 133 .channel-change-error-icon { 140 .channel-change-error-text {
|
/external/chromium_org/net/base/ |
network_change_notifier_win.h | 32 // Begins listening for a single subsequent address change. If it fails to 66 // Notifies IP address change observers of a change immediately, and notifies 67 // network state change observers on a delay. Must only be called on the 74 // Tries to start listening for a single subsequent address change. Returns 85 // False when not currently watching for network change events. This only
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sources/ |
CSSSourceFrame.js | 58 * @param {number} change 61 _modifyUnit: function(unit, change) 67 return String.sprintf("%d%s", unitValue + change, tail); 71 * @param {number} change 74 _handleUnitModification: function(change) 89 var newUnitText = this._modifyUnit(cssUnitText, change);
|
/external/chromium_org/third_party/libxslt/ |
README.chromium | 37 - Change LIBXSLT_VERSION_EXTRA define to "" 38 - Change the DEBUG_MEMORY define to #if 0 39 - Change the WITH_MODULES define to #if 0 40 - Change the "Locale support" section to #if 0 41 - For good measure, change the LIBXSLT_DEFAULT_PLUGINS_PATH() define to "NULL" 51 6) A change to pattern.c to better handle an error condition parsing a broken
|
/external/jsoncpp/devtools/ |
licenseupdater.py | 20 but don't change it. 22 as well as the change made to the file. 51 but don't change it. 53 as well as the change made to the file. 71 => Show change that would be made to the sources. 82 help="""On update, show change made to the file.""")
|
/external/speex/include/speex/ |
speex_callbacks.h | 60 /** Request for a mode change */ 62 /** Request for a low mode change */ 64 /** Request for a high mode change */ 102 /** Standard handler for mode request (change mode, no questions asked) */ 105 /** Standard handler for high mode request (change high mode, no questions asked) */ 116 /** Standard handler for low mode request (change low mode, no questions asked) */
|
/development/apps/CustomLocale/src/com/android/customlocale2/ |
ChangeLocale.java | 29 * Helper class to change the system locale. 44 Log.d(TAG, "Change locale to: " + locale); 72 Log.e(TAG, "Change locale failed", e);
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
change_list_loader.h | 115 // ChangeListLoader is used to load the change list, the full resource list, 118 // the change list loaded from the server. 120 // Note that the difference between "resource list" and "change list" is 123 // resource metadata, or fetching directory contents, whereas "change list" 138 // Indicates whether there is a request for full resource list or change 147 // Checks for updates on the server. Does nothing if the change list is now 153 // Starts the change list loading if needed. If the locally stored metadata is 174 // This function should be called when the change list load is complete. 175 // Flushes the callbacks for change list loading and all directory loading. 178 // ================= Implementation for change list loading ================ [all...] |