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

Unified Diff: src/trusted/validator/x86/testing/enuminsts/str_utils.h

Issue 625923004: Delete old x86 validator. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: rebase master Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: src/trusted/validator/x86/testing/enuminsts/str_utils.h
diff --git a/src/trusted/validator/x86/testing/enuminsts/str_utils.h b/src/trusted/validator/x86/testing/enuminsts/str_utils.h
deleted file mode 100644
index 50eba63d3c080d5981273deae33012ed33eb572e..0000000000000000000000000000000000000000
--- a/src/trusted/validator/x86/testing/enuminsts/str_utils.h
+++ /dev/null
@@ -1,54 +0,0 @@
-/*
- * Copyright (c) 2012 The Native Client Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-/*
- * str_utils.h
- *
- * Defines support string routines for the instruction enumerator.
- */
-
-#ifndef NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_TESTING_STR_UTILS_H__
-#define NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_TESTING_STR_UTILS_H__
-
-#include "native_client/src/include/nacl_macros.h"
-
-/* If string s begins with string prefix, return a pointer to the
- * first byte after the prefix. Else return s.
- */
-char *SkipPrefix(char *s, const char *prefix);
-
-/* Return a pointer to s with leading spaces removed. */
-const char *strip(const char *s);
-
-/* Updates the string by removing trailing spaces/newlines. */
-void rstrip(char *s);
-
-/* Find substring ss in string s. Returns a pointer to the substring
- * on success, NULL on failure.
- */
-const char *strfind(const char *s, const char *ss);
-
-/* If string ss appears in string s, return a pointer to the first byte
- * after ss. Otherwise return NULL.
- */
-const char *strskip(const char *s, const char *ss);
-
-/* Copies source to dest, like strncpy, but replaces the last
- * byte of the dest (based on buffer size) with a null character,
- * so that we are guaranteed to have a valid string.
- */
-void cstrncpy(char *dest, const char *src, size_t n);
-
-/* Copy src to dest, stoping at character c. */
-void strncpyto(char *dest, const char *src, size_t n, char c);
-
-/* Remove all instances of substring ss in string s, modifying s in place. */
-void CleanString(char *s, const char *ss);
-
-/* Remove all instances of character c in string s. */
-void strnzapchar(char *s, const char c);
-
-#endif /* NATIVE_CLIENT_SRC_TRUSTED_VALIDATOR_X86_TESTING_STR_UTILS_H__ */
« no previous file with comments | « src/trusted/validator/x86/testing/enuminsts/ragel_tester.c ('k') | src/trusted/validator/x86/testing/enuminsts/str_utils.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698